Changes between Version 12 and Version 13 of HALOS_REDESIGN_R0
- Timestamp:
- 07/28/09 17:34:56 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HALOS_REDESIGN_R0
v12 v13 55 55 * Refactor {{{HudDialog.swingComponent}}}: 56 56 * In the {{{setup}}} method: 57 * Calculate the top left point of the hud - it should be exactly below the bottom left corner of the corresponding button. 57 * Calculate the top left point of the hud - it should be exactly below the bottom left corner of the corresponding button. ///////////parent hud??? 58 58 * Call {{{res.setLocation}}}. 59 * Be sure to test the hud location when the zoom level is not 100%.59 * Be sure to test the hud location when the zoom level is not equal to 100%. 60 60 * Remove the method {{{HaloMenu.syncHud}}} and all calls to it. 61 61 62 62 * '''The halo menu can have not more than one active hud:''' 63 * Create a property {{{RwProp<HudDialog> activeHud}}} that represents currently open hud dialog.63 * Create a property {{{RwProp<HudDialog> activeHud}}} in {{{HaloMenu}}} that represents currently open hud dialog. 64 64 * Its value is null, when no hud is open. 65 65 * Refactor the {{{HudDialog.shown}}} property: 66 66 * Make it an auto property. 67 67 * It should return true if (and only if) the hud dialog is set as current. 68 * Instead of using {{{shown().set(true)}}}, set the desired hud as active. 69 * Instead of using {{{shown().set(false)}}}, set the {{{activeHud}}} to be null. 68 * Instead of using {{{shown().set(true)}}}, set the desired hud as active. ///////subHud??? 69 * Instead of using {{{shown().set(false)}}}, set the {{{activeHud}}} to be null. ////////// 70 71 * '''Make extensible huds:''' 72 * Extensions should be defined as different huds, whose JPanels are attached to the parent hud. 73 * Make a property {{{RwProp<HudDialog> extensionHud}}} in {{{HudDialog}}}. 74 * ....visibility of extended hud? 75 76 * '''The size of the hud depends on the size of its subcomponents:''' 77 * Remove the constant {{{HudDialog.HUD_SIZE_PROP_ID}}}. 78 * In all huds remove the skin records with {{{HUD_SIZE_PROP_ID}}}. 79 * In {{{HudDialog.computeSize}}} ............. 80 81 * '''The subhud should align with the sub hud button:''' 82 * .... 70 83 71 84 * '''Change the hud halo button icon depending on hud visibility:'''