|
Does allegro 5 have a built in gui library? |
Shadowblitz16
Member #16,818
March 2018
|
Does allegro 5 have a built in gui library? I was looking for a easy to use native gui library but couldn't find anything. |
Eric Johnson
Member #14,841
January 2013
|
Oh boy, Edgar's going to love you. Allegro 5 does not have a built-in GUI library. However, you could try Edgar's EagleGUI library, which uses Allegro 5. I think it's currently Windows only.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
Eagle works on Win/Linux/OSX(untested). There's nothing really platform specific in there, in fact it's as far from a native widget library as you get. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Shadowblitz16
Member #16,818
March 2018
|
the thing is I want to have native looking controls that obey the theme of the users os. |
Eric Johnson
Member #14,841
January 2013
|
Edgar, when did you add Linux support to Eagle? I remember you posted a bounty for getting it to compile under Linux or something, but that may have been a couple of years ago now... I've been out of the loop for a while.
|
Edgar Reynaldo
Major Reynaldo
May 2007
|
The library has been compiling on Linux for several years now.
My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
Shadowblitz16
Member #16,818
March 2018
|
most of the GUI library links are dead. |
Eric Johnson
Member #14,841
January 2013
|
Edgar Reynaldo said: The library has been compiling on Linux for several years now. Shows how long I've been out of the loop. Good on you!
|
Shadowblitz16
Member #16,818
March 2018
|
So what about making my own win32 wrapper? how would I do that? is there a way to attach win32 controls to the allegro window? |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Allegro 5 will give you the handle to the window. EDIT My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
amarillion
Member #940
January 2001
|
Making a cross-platform GUI in C++ is never easy. And Allegro is probably not the right library for you, unless you also need some Allegro-specific functionality. Nowadays, if you want cross-platform GUI stuff, your best bet is JavaScript. But that is just my opinion. -- |
jmasterx
Member #11,410
October 2009
|
Yeah, aside from EAGLE there's also https://github.com/jmasterx/Agui but that's not native widgets either. Typically if you're running a ui in a game you're not running native widgets unless you use a web browser. You can use something like QT which is what you want. Obviously the best is web/JS but if it must run on the desktop QT is what you want. Agui GUI API -> https://github.com/jmasterx/Agui |
Niunio
Member #1,975
March 2002
|
amarillion said: Nowadays, if you want cross-platform GUI stuff, your best bet is JavaScript. But that is just my opinion. Actually the best is Lazarus, but it is Object Pascal... ----------------- |
|