Difference between revisions of "Standard Menu UI"

20 bytes removed ,  08:10, 14 February 2010
imported>Ter
imported>Ter
 
(3 intermediate revisions by the same user not shown)
Line 26: Line 26:


;Examples:
;Examples:
* [http://wrye.ufrealms.net/images/Leveling_01.jpg Wrye Leveling]: Ends with Cancel.
* [http://wryemusings.com/images/Leveling_01.jpg Wrye Leveling]: Ends with Cancel.
* [http://wrye.ufrealms.net/images/Leveling_03.jpg Wrye Leveling Config] Ends with Done.
* [http://wryemusings.com/images/Leveling_03.jpg Wrye Leveling Config] Ends with Done.
* [http://wrye.ufrealms.net/images/Leveling_04.jpg Wrye Leveling  Config Submenu] Ends with "< Back".
* [http://wryemusings.com/images/Leveling_04.jpg Wrye Leveling  Config Submenu] Ends with "< Back".


==Hierarchical Menus==
==Hierarchical Menus==
Line 37: Line 37:


Examples
Examples
* [http://wrye.ufrealms.net/images/Leveling_01.jpg Wrye Leveling] Items leading to submenus.
* [http://wryemusings.com/images/Leveling_01.jpg Wrye Leveling] Items leading to submenus.
* [http://wrye.ufrealms.net/images/Leveling_02.jpg Wrye Leveling Submenu] Only one item leads back. No Cancel/Done item.
* [http://wryemusings.com/images/Leveling_02.jpg Wrye Leveling Submenu] Only one item leads back. No Cancel/Done item.


==Numeric Config Buttons==
==Numeric Config Buttons==
Line 44: Line 44:


;Examples:
;Examples:
* [http://wrye.ufrealms.net/images/Leveling_04.jpg Wrye Leveling Config Submenu] - Buttons show the current number. Clicking/shift-clicking mods that number up/down.
* [http://wryemusings.com/images/Leveling_04.jpg Wrye Leveling Config Submenu] - Buttons show the current number. Clicking/shift-clicking mods that number up/down.
* [http://wrye.ufrealms.net/images/Leveling_02.jpg Wrye Leveling Submenu] - This is to config increments to players stats. First number is the current stat. Second number is the increment -- this is the number that goes up/down with each click/shift-click.
* [http://wryemusings.com/images/Leveling_02.jpg Wrye Leveling Submenu] - This is to config increments to players stats. First number is the current stat. Second number is the increment -- this is the number that goes up/down with each click/shift-click.
* [[Standard_Menu_UI/Number_Setting_Example|Wrye Leveling Config Menu Code]] - Demonstrates an efficient coding approach to such menus.
* [[Standard_Menu_UI/Number_Setting_Example|Wrye Leveling Config Menu Code]] - Demonstrates an efficient coding approach to such menus.


Line 57: Line 57:


;Examples:
;Examples:
* [http://wrye.ufrealms.net/images/Options_03.jpg Wrye Morph Config Menu]: Shows several options, some active (+), some inactive (-).
* [http://wryemusings.com/images/Options_03.jpg Wrye Morph Config Menu]: Shows several options, some active (+), some inactive (-).
* [http://wrye.ufrealms.net/images/Options_04.jpg Wrye Morph Config Menu]: Shows a mixed menu, where one item is checked, others are not.
* [http://wryemusings.com/images/Options_04.jpg Wrye Morph Config Menu]: Shows a mixed menu, where one item is checked, others are not.
* [http://wrye.ufrealms.net/images/Options_05.jpg Wrye Morph Config Menu]: Similar menu, but in this case the option does not apply (o).
* [http://wryemusings.com/images/Options_05.jpg Wrye Morph Config Menu]: Similar menu, but in this case the option does not apply (o).


==Multistate Option Buttons==
==Multistate Option Buttons==
I haven't done this yet, but the preceding two standards could be combined for some variable which has several states which are internally stored as numbers, but which are represented as strings. E.g. you could have a faction with ranks: Alpha, Beta, Gamma, Delta. Then the button reads "State: Alpha". Clicking the button increments it Beta, then to Gamma, Delta, and then (maybe) back to Alpha.
I haven't done this yet, but the preceding two standards could be combined for some variable which has several states which are internally stored as numbers, but which are represented as strings. E.g. you could have a faction with ranks: Alpha, Beta, Gamma, Delta. Then the button reads "State: Alpha". Clicking the button increments it Beta, then to Gamma, Delta, and then (maybe) back to Alpha.
Anonymous user