Re: EuRayLib4 Released!

new topic     » goto parent     » topic index » view thread      » older message » newer message
petelomax said...
Icy_Viking said...

I wouldn't mind writing my own gui api, but it would be a lot more work than wrapping something that is already available.

I get that, I really do, but... long story short:
IupTable wraps IupMatrix on desktop/Phix - total pita and still bugridden
IupTable wraps <table> in HTML/JavaScript/CSS - almost as bad and even more bugridden
... some time later ...
IupGraph ignores IupPlot (which it replaces) and does it all on a plain canvas.
IupGraph is auto-transpiled to HTML/JavaScript (no CSS needed) and works just fine.
The latter draws axis lines with text labels, a grid, a text title, as well as the actual lines.
You can run this little demo online here (nb MINSIZE ain't working yet).
Methinks restarting IupTable from scratch doing it all by hand ain't such a bad idea....

Of course you gotta have some basics to work with, in my case a plain canvas.

I did wrap an older version of IUP. Its an ok GUI library. I mean if QT had a C port, I might wrap that. I tried wrapping FLTK's C port, but it was a mess. Also, the thing is I'm not sure where to really start with making my own GUI.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu