- Added some of the most basic dialogs - Changed C-style <xxx.h> headers to C++-style <cxxx> headers - Switched graphics to load from the PNG files in graphics.exd rather than from Blades of Exile Graphics (NOTE: Some graphics still don't work, probably because of incorrect source rects) - Switched cursors to load from GIF files in graphics.exd rather than from Blades of Exile Graphics - Moved Niemand's tileImage functions from boe.graphics.cpp to graphtool.cpp, so they can be used by all three programs. - Added some string lists in .txt files - Made cursors into an enum - Rewrote the code for displaying the Edit Terrain dialog to use the new engine (not tested yet) - Fixed some __attribute__((deprecated)) stuff - Most graphics are now loaded just after the custom graphics. This means they will be overridden by a file of the same name in the scenario's .exr folder. - Altered modes a little so that when at the startup screen you are in MODE_STARTUP rather than MODE_OUTDOORS. - Switched from function pointers to boost::function – the Boost libraries are now required. - Finished off the new dialog engine and made gess necessary - Added status icons as another type that can be drawn in dialogs - C Wrappers for Cocoa cursors based on an Apple example. This is tested, and works perfectly. - Added a switch in the program for using Windows graphics; however, there is no way as yet to set this flag, and in fact there aren't even any Windows graphics to use. - Added include guards to graphtool.h - Made separate mac and win directories within sounds.exa, since the Mac and Windows sounds are mostly subtly different (with two completely different!) git-svn-id: http://openexile.googlecode.com/svn/trunk@90 4ebdad44-0ea0-11de-aab3-ff745001d230
53 lines
3.2 KiB
XML
53 lines
3.2 KiB
XML
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
|
<?xml-stylesheet href="dialog.xsl" type="text/xsl"?>
|
|
<!DOCTYPE dialog SYSTEM "dialog.dtd">
|
|
<dialog skin='light' debug='true'>
|
|
<pict type='dlog' num='16' top='8' left='8'/>
|
|
<text size='large' top='6' left='50' width='256' height='14'>Select:</text>
|
|
<group>
|
|
<led name='led1' state='off' top='54' left='8' width='180'/>
|
|
<led name='led2' state='off' top='69' left='8' width='180'/>
|
|
<led name='led3' state='off' top='84' left='8' width='180'/>
|
|
<led name='led4' state='off' top='99' left='8' width='180'/>
|
|
<led name='led5' state='off' top='114' left='8' width='180'/>
|
|
<led name='led6' state='off' top='129' left='8' width='180'/>
|
|
<led name='led7' state='off' top='144' left='8' width='180'/>
|
|
<led name='led8' state='off' top='159' left='8' width='180'/>
|
|
<led name='led9' state='off' top='174' left='8' width='180'/>
|
|
<led name='led10' state='off' top='189' left='8' width='180'/>
|
|
<led name='led11' state='off' top='204' left='8' width='180'/>
|
|
<led name='led12' state='off' top='219' left='8' width='180'/>
|
|
<led name='led13' state='off' top='234' left='8' width='180'/>
|
|
<led name='led14' state='off' top='249' left='8' width='180'/>
|
|
<led name='led15' state='off' top='264' left='8' width='180'/>
|
|
<led name='led16' state='off' top='279' left='8' width='180'/>
|
|
<led name='led17' state='off' top='294' left='8' width='180'/>
|
|
<led name='led18' state='off' top='309' left='8' width='180'/>
|
|
<led name='led19' state='off' top='324' left='8' width='180'/>
|
|
<led name='led20' state='off' top='339' left='8' width='180'/>
|
|
<led name='led21' state='off' top='54' left='216' width='180'/>
|
|
<led name='led22' state='off' top='69' left='216' width='180'/>
|
|
<led name='led23' state='off' top='84' left='216' width='180'/>
|
|
<led name='led24' state='off' top='99' left='216' width='180'/>
|
|
<led name='led25' state='off' top='114' left='216' width='180'/>
|
|
<led name='led26' state='off' top='129' left='216' width='180'/>
|
|
<led name='led27' state='off' top='144' left='216' width='180'/>
|
|
<led name='led28' state='off' top='159' left='216' width='180'/>
|
|
<led name='led29' state='off' top='174' left='216' width='180'/>
|
|
<led name='led30' state='off' top='189' left='216' width='180'/>
|
|
<led name='led31' state='off' top='204' left='216' width='180'/>
|
|
<led name='led32' state='off' top='219' left='216' width='180'/>
|
|
<led name='led33' state='off' top='234' left='216' width='180'/>
|
|
<led name='led34' state='off' top='249' left='216' width='180'/>
|
|
<led name='led35' state='off' top='264' left='216' width='180'/>
|
|
<led name='led36' state='off' top='279' left='216' width='180'/>
|
|
<led name='led37' state='off' top='294' left='216' width='180'/>
|
|
<led name='led38' state='off' top='309' left='216' width='180'/>
|
|
<led name='led39' state='off' top='324' left='216' width='180'/>
|
|
<led name='led40' state='off' top='339' left='216' width='180'/>
|
|
</group>
|
|
<button name='left' type='left' key='left' top='358' left='8'/>
|
|
<button name='right' type='right' key='right' top='358' left='71'/>
|
|
<button name='done' type='regular' key='enter' top='358' left='338'>OK</button>
|
|
<button name='cancel' type='regular' key='esc' top='358' left='272'>Cancel</button>
|
|
</dialog> |