From: <wel...@us...> - 2009-03-03 07:15:58
|
Revision: 3132 http://planeshift.svn.sourceforge.net/planeshift/?rev=3132&view=rev Author: weltall2 Date: 2009-03-03 07:15:54 +0000 (Tue, 03 Mar 2009) Log Message: ----------- committed a patch by peeg fixing a chardescriptionwindow resize issue and converted to the new paws specifications Modified Paths: -------------- trunk/data/gui/chardescwindow.xml Modified: trunk/data/gui/chardescwindow.xml =================================================================== --- trunk/data/gui/chardescwindow.xml 2009-03-03 06:26:44 UTC (rev 3131) +++ trunk/data/gui/chardescwindow.xml 2009-03-03 07:15:54 UTC (rev 3132) @@ -1,15 +1,15 @@ <widget_description> - <widget name="DescriptionEdit" factory="pawsCharDescription" + <pawsCharDescription name="DescriptionEdit" visible="yes" savepositions="no" movable="yes" keepaspect="no" - resizable="yes" configurable="yes"> + resizable="yes" configurable="yes" style="New Standard GUI"> <frame x="100" y="100" width="320" height="270" border="yes" /> <minframe width="250" height="250" /> - <title resource="Blue Title" text="Modify description" align="left" close_button="yes" /> - <bgimage resource="Modify Description BG" alpha="128" /> + <title resource="Scaling Title Bar" text="Modify description" align="left" close_button="yes" /> + <!-- <bgimage resource="Modify Description BG" alpha="128" /> --> - <widget name="lbl" factory="pawsTextBox" > + <pawsTextBox name="lbl"> <frame x="34" y="8" width="200" height="20" border="no" /> <font name="/planeshift/data/ttf/scurlock.ttf" r="255" g="255" b="255" size="14" scalefont="no"/> <text string="Character description:" /> @@ -19,8 +19,9 @@ <attach point="PROPORTIONAL_TOP" /> <attach point="PROPORTIONAL_BOTTOM" /> </attachpoints> - </widget> - <widget name="lblb" factory="pawsTextBox" > + </pawsTextBox> + + <pawsTextBox name="lblb"> <frame x="35" y="9" width="200" height="20" border="no" /> <font name="/planeshift/data/ttf/scurlock.ttf" r="0" g="0" b="0" size="14" scalefont="no"/> <text string="Character description:" /> @@ -30,20 +31,20 @@ <attach point="PROPORTIONAL_TOP" /> <attach point="PROPORTIONAL_BOTTOM" /> </attachpoints> - </widget> + </pawsTextBox> - <widget name="Description" factory="pawsMultilineEditTextBox" > + <pawsMultilineEditTextBox name="Description"> <frame x="25" y="30" width="270" height="185" border="no" /> - <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" scalefont="no" /> + <font name="/planeshift/data/ttf/LiberationSans-Regular.ttf" r="255" g="255" b="255" size="10" scalefont="no" /> <attachpoints> <attach point="PROPORTIONAL_RIGHT" /> <attach point="PROPORTIONAL_TOP" /> <attach point="PROPORTIONAL_LEFT" /> <attach point="PROPORTIONAL_BOTTOM" /> </attachpoints> - </widget> + </pawsMultilineEditTextBox> - <widget name="OK" factory="pawsButton" id="100"> + <pawsButton name="OK" id="100"> <frame x="5" y="238" width="70" height="30" /> <bgimage resource="Modify Save" /> <attachpoints> @@ -53,8 +54,9 @@ <attach point="ATTACH_BOTTOM" /> </attachpoints> <label text="OK" /> - </widget> - <widget name="Cancel" factory="pawsButton" id="101"> + </pawsButton> + + <pawsButton name="Cancel" id="101"> <frame x="80" y="238" width="70" height="30" /> <bgimage resource="Modify Cancel" /> <attachpoints> @@ -64,20 +66,22 @@ <attach point="ATTACH_BOTTOM" /> </attachpoints> <label text="Cancel" /> - </widget> - <widget name="Save" factory="pawsButton" id="102"> - <frame x="170" y="238" width="65" height="30" /> + </pawsButton> + + <pawsButton name="Save" id="102"> + <frame x="170" y="238" width="70" height="30" /> <bgimage resource="Modify Save" /> <attachpoints> <attach point="PROPORTIONAL_RIGHT" /> - <attach point="ATTACH_LEFT" /> + <attach point="PROPORTIONAL_LEFT" /> <attach point="PROPORTIONAL_TOP" /> <attach point="ATTACH_BOTTOM" /> </attachpoints> <label text="Save" /> - </widget> - <widget name="Load" factory="pawsButton" id="103"> - <frame x="240" y="238" width="75" height="30" /> + </pawsButton> + + <pawsButton name="Load" id="103"> + <frame x="245" y="238" width="70" height="30" /> <bgimage resource="Modify Cancel" /> <attachpoints> <attach point="PROPORTIONAL_RIGHT" /> @@ -86,7 +90,8 @@ <attach point="ATTACH_BOTTOM" /> </attachpoints> <label text="Load" /> - </widget> - </widget> + </pawsButton> + + </pawsCharDescription> </widget_description> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |