Hello! Below is the release of my XML to GUI project. It uses Allegro 4.2 so you must have that installed to continue. The project ofcourse has a click and drag style GUI editor.
I need you (the reader) to download, compile and test the code base. Post the debug output of the example program along with your bug report here.
DOWNLOAD NOW RC 1
DOWNLOAD NOW RC 2.
Also vote for my project on sourceforge.
For the tech savvy, Here is a bunch of example code and screenshots:
<clear/> <ctext dp="Hello World" x=400 y=300/>
{"name":"599708","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/7\/27fc7300fbf96757b4a605c46d096d7a.png","w":802,"h":628,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/2\/7\/27fc7300fbf96757b4a605c46d096d7a"}
{"name":"599707","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/a\/fa96dd6ce5ac8c6e689b1b8a149924fd.png","w":804,"h":629,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/f\/a\/fa96dd6ce5ac8c6e689b1b8a149924fd"}
gcc version 4.3.3 (4.3.3-tdm-1 mingw32)
Compiles fine for the C part, but in C++ I get:
g++ -Iinclude -Iinclude/dui -DALLEGRO_STATICLINK -W -Wall -Wno-unused-function -O2 -s -o obj/release/dialog.o -c src/dialog.cpp src/dialog.cpp: In member function 'MENU* Dialog::loadMenu(XmlNodes&, bool)': src/dialog.cpp:576: warning: deprecated conversion from string constant to 'char *' src/dialog.cpp:592: warning: deprecated conversion from string constant to 'char *' src/dialog.cpp: In function 'SpecialCallbackFuncsparseSpecialCallbackFunc(const std::string&)': src/dialog.cpp:1202: error: 'transform' was not declared in this scope src/dialog.cpp: In function 'char* helpListCallback(int, int*)': src/dialog.cpp:1212: warning: deprecated conversion from string constant to 'char*' MINGW3~1.EXE: *** [obj/release/dialog.o] Error 1
Probably my C++ headers are too old to recognize this STL. I never compile C++ usually.
After commenting out the trimming, all compiles fine including the examples.
exbasic is ... basic, and the editor seems to work though a lot of controls seem unimplemented.
They're nearly all implemented (even complex ones like text_list and menu). It's the editor that is buggy.
Thanks for the report
edit For example: The editor is written in DUI code!
edit Those compiler errors should be fixed. Let me know if RC 2 compiles for you. RC 2 also fixes a bunch of bugs. The XML format can do all allegro widgets and most agup widgets. The editor can do the same minus text_list and menu.
RC2 compiles without warnings, and runs fine.
Time to get me a DUI...
Oh wait... It's a User Interface...
Looks good...
The project ofcourse has a click and drag style GUI editor.
You mean a WYSIWYG GUI editor?
Yeah.