Thread: Xml -> Gui
View Single Post
  #1  
Old 05-11-2008, 10:51 AM
Robin Robin is offline
The secret of NIMH
Robin's Avatar
Join Date: Apr 2005
Location: Wales, UK
Posts: 515
Robin will become famous soon enough
Send a message via AIM to Robin
Xml -> Gui

I've started the inklings of a script in GS2 to allow you to start from an XML base, and markup GUI windows and controls, and allow you to define sensible objects for which to use with your events.

Is this something people would use, if I made it available? Or is it going to be something like my Motion tweening script :P

This was the sort of syntax I was planning on:

PHP Code:
<?xml version="1.0" encoding="utf-8"?>
<gui:Window name="myWindow" width="400" height="320">
  <gui:Button bottom="2" right="2" width="100" height="24" name="myButton">Apply</gui:Button>
</gui:Window>
__________________


Last edited by Robin; 05-11-2008 at 11:04 AM..
Reply With Quote