1. libui-euphoria release
- Posted by ghaberek (admin) Oct 27, 2017
- 1616 views
Forked from Re: (rant) Three kinds of languages
I also maintain the libui wrapper for Euphoria, if you're interesting in yet another UI library.
I managed to get that working on Phix, but all three demos crash, apparently somewhere deep inside uiMain(), as soon as I press escape. Any ideas?
Got any pre-built dlls for that, by any chance?
I made this just for you, Pete: 09-Dec-2016. Took me a minute to figure out how to get a build working with Visual Studio and CMake.
- libui-linux32.zip (187 KB)
- libui-linux64.zip (187 KB)
- libui-win32.zip (85.8 KB)
- libui-win64.zip (106 KB)
(Edit: added Linux builds to that list as well.)
I don't know why I have such a fascination with this.
While searching for that dll I extracted this little list from some thread or other, just cos you said that, should keep you busy for a while...
- https://github.com/vurtun/nuklear
- https://github.com/hugoam/kiui
- https://bitbucket.org/cegui
- https://github.com/cnjinhao/nana
- https://github.com/wjakob/nanogui
- https://github.com/dalerank/nngui
- https://github.com/garrynewman/GWEN
- https://bitbucket.org/duangle/oui-blendish/overview
- https://github.com/vorg/MowaLibs
- http://tekui.neoscientists.org/overview.html
- https://sciter.com/
- https://skia.org/
- https://github.com/ocornut/imgui
Have fun, Pete
You're a monster! (Just kidding.) You'd be surprised how many of those I've already tried.
I gave up on many of those almost immediately because:
B) I couldn't even get the library to build or there were too many dependencies to work out, and/or
C) the library was so out of date I couldn't imagine anyone wanting to use it.
UPDATE: I just tried a 64bit dll, and that does not crash, but changing gettingstarted.ex to:
?1 uiControlShow(mainwin) ?2 uiMain() ?3 uiUninit() ?4
on pressing escape, only 1 and 2 get shown, not 3 or 4 - is that as expected?
Not sure what's going here. Might be an issue internal to libui. I will investigate though.
FYI, I'm sort of in a holding pattern on libui-euphoria while the developers are figuring out how to implement uiTable, i.e. listviews.
-Greg
2. Re: libui-euphoria release
- Posted by petelomax Oct 28, 2017
- 1559 views
- Last edited Nov 10, 2017
Thanks, getting much the same as alpha3 - an int3 in KERNELBA, with this on the stack:
000DFCE8 6EBF154F RETURN to libui32g.6EBF154F from libui32g.6EBFA6F0 000DFCEC 6EC11DC4 ASCII "Z:\Documents\Projects\libui\windows\menu.cpp" 000DFCF0 6EC12168 ASCII "296" 000DFCF4 6EC12158 ASCII "runMenuEvent" 000DFCF8 6EC0C744 ASCII "POSSIBLE IMPLEMENTATION BUG; CONTACT ANDLABS:" 000DFCFC 6EC12130 ASCII "unknown menu ID %hu in runMenuEvent()" 000DFD00 000DFD18 000DFD04 6EC03206 RETURN to libui32g.6EC03206 from libui32g.6EBF1530 000DFD08 6EC11DC4 ASCII "Z:\Documents\Projects\libui\windows\menu.cpp" 000DFD0C 6EC12168 ASCII "296" 000DFD10 6EC12158 ASCII "runMenuEvent" 000DFD14 6EC12130 ASCII "unknown menu ID %hu in runMenuEvent()"
I found that last string at https://github.com/andlabs/libui/blob/master/windows/menu.cpp line 296
Any other clues? It may be one for https://github.com/andlabs/libui/issues -- done: https://github.com/andlabs/libui/issues/283
Pete
3. Re: libui-euphoria release
- Posted by petelomax Nov 10, 2017
- 1447 views
Apparently there is a fix for this, awaiting merge:
https://github.com/andlabs/libui/pull/202/commits/90bf9111944ffdb8d8588f0795aeaa1edd804ae6
Pete