Re: Phix Question About xpGUI + IR
- Posted by petelomax in June
- 605 views
From the Phix docs:
Minimal dependencies - requires a working GTK install on Linux, or just a Windows OS, or just a working browser.
Pete, It seems reasonable to consider that you might have an IR in mind to accomplish this task. If you do, is it documented?
Erm IR: Internal Representation? Of a layout? With a parser/emitter? Nah, not really: there is a table, or twenty, that holds handles of controls I've created and everything else, but that's pretty much it.
I ask because I'm considering building a Layout Manager.
Oh no, oh dearie me, you poor wee thing! I got sucked into one of those meself two and a half years ago, and it won't let go. I can see the finishing line, but there's two people quite a bit fitter than me running away with it, whenever I get close the referee blows his whistle, points at me and shouts "your egg has fallen off your teaspoon", the football smacks me in the face, I trip up over my own shoelaces, the umpire declares a no ball, and they've closed the bus stop because there are some roadworks on a totally unrelated street two miles away, and apparently all bus stops in the borough that are on any street that begins with an 'S', and Billie Piper is the new Doctor Who. You've guessed it, a bit of a nightmare.
One thing I gave up many years ago now can be found in demo/edix/plade.exw. Some of the samples in the table at line 6300 have been renamed, eg fill.exw ==> IupFill.exw, likewise IupHbox, IupCalendar, IupDetachBox, IupRadio, and IupTabs. It is pretty hideous stuff and no doubt still riddled with bugs, but should keep you busy a while!
One thing I realised reasonably recently is that what I really want is not a separate layout designer at all, but a much better debugger, with pretty much the same powers.

