From c710b84b88ea45eac70a63b72ebe77e4448a3f53 Mon Sep 17 00:00:00 2001 From: Gee Date: Sat, 5 Feb 2005 18:38:54 +0000 Subject: [PATCH] Alright, I've taken all the input controls in the atlas, and removed their sprite parameter and their hidden parameter, and changed their style to "atlas_input". This is the beauty of styles and it should be utilized. A standard control should only need size/name/style (let's call it, Gee's trinity :P). Anyway, I've also adjusted the size of the input control's sprite, I have explained why in the file. Finally, hidden="false" was removed (on all input controls, but it can be removed for the others too) because it's implicit, it'll always be the standard value, so it can be omitted whenever not 'true', trust me, it'll be much neater code. This was SVN commit r1910. --- .../data/mods/official/gui/test/7_atlas.xml | 44 +++++++++---------- .../data/mods/official/gui/test/sprite1.xml | 23 +++++++--- .../data/mods/official/gui/test/styles.xml | 11 +++++ 3 files changed, 51 insertions(+), 27 deletions(-) diff --git a/binaries/data/mods/official/gui/test/7_atlas.xml b/binaries/data/mods/official/gui/test/7_atlas.xml index df18158c2c..e8d68a3072 100644 --- a/binaries/data/mods/official/gui/test/7_atlas.xml +++ b/binaries/data/mods/official/gui/test/7_atlas.xml @@ -28,9 +28,9 @@