home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2004 November
/
Gamestar_67_2004-11_dvd.iso
/
Dema
/
footballmanager2005_betademo.exe
/
Data1.cab
/
_F7E6C0F9146247498C5857B7AF9EC7B2
< prev
next >
Wrap
Extensible Markup Language
|
2004-08-30
|
1KB
|
29 lines
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE panel SYSTEM "http://www.sigames.com/dtds/sios/panel.dtd">
<!-- an example panel -->
<panel>
<!-- the panel has very simple content, just a label and a button arrange vertically
one below the other -->
<!-- you specify the layout of the items with layout attachments -->
<!-- this is the trickiest bit of the whole process -->
<!-- first, we tell this container to lay out its content from top to bottom -->
<layout class="arrange_vertical_attachment" alignment="top"/>
<!-- then we tell it to make sure that all of its content sticks to the -->
<!-- left hand edge of the panel -->
<layout class="stick_to_sides_attachment" alignment="left" layout_children="true"/>
<!-- this is where we actually create the widgets which form the content of the panel -->
<!-- first, a label -->
<!-- we will leave its text blank, because we're going to set it from code -->
<widget class="label" id="exlb" auto_size="horizontal"/>
<!-- then a button -->
<!-- the name of the button won't change, so it's best to set it in XML -->
<widget class="action_button" id="exbt" text="Example Button"/>
</panel>