Working Layout Manager
January 2nd, 2007 | Filed under Programming, Projects.It works
I can turn an XML file that looks like this
| Code: |
| <?xml version=”1.0″ ?> <GUI version=”0.1″> <WINDOW x=”0″ y=”400″ z=”0″ w=”800″ h=”200″ caption=”MainWindow”> <WINDOW x=”10″ y=”10″ z=”0″ w=”50″ h=”50″ caption=”MainWindow2″> </WINDOW> <WINDOW x=”70″ y=”10″ z=”0″ w=”50″ h=”50″ caption=”MainWindow3″> </WINDOW> <WINDOW x=”130″ y=”10″ z=”0″ w=”50″ h=”50″ caption=”MainWindow4″> </WINDOW> <WINDOW x=”10″ y=”60″ z=”0″ w=”740″ h=”120″ caption=”MainWindow5″> <WINDOW x=”5″ y=”5″ z=”0″ w=”50″ h=”50″ caption=”MainWindow6″> </WINDOW> <WINDOW x=”60″ y=”5″ z=”0″ w=”50″ h=”50″ caption=”MainWindow7″> </WINDOW> <WINDOW x=”120″ y=”5″ z=”0″ w=”50″ h=”50″ caption=”MainWindow8″> </WINDOW> </WINDOW> </WINDOW> </GUI> |
Into something like this

*goes off to commit it to SVN and make backups*
Visit my other sites: Photo Gallery | Insane in the Membrane | Main website