Changes between Version 8 and Version 9 of APP_LAYOUT_MYDOGGY_R2
- Timestamp:
- 08/07/09 00:46:41 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
APP_LAYOUT_MYDOGGY_R2
v8 v9 68 68 * The [source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/MDSkinUpdater.java MDSkinUpdater] will do all the work. There should be an auto property defining whether this is a colored or imaged skin. Colored skins will be the default one and the alternative. Sophie2 skin however will use images to customize mydoggy. A resource property will set mydoggy the custom sophie UIs. Every UI will take as an argument the [source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/MDSkinUpdater.java MDSkinUpdater] in order to acquire the images if current skin contains mydoggy images (see [source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/mdcustomization/SophieTitleBarUI.java SophieTitleBarUI] and [source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.layout.mydoggy/src/main/java/org/sophie2/main/layout/mydoggy/mdcustomization/SophieTabButtonUI.java SophieTabButtonUI] for more info). Images are auto computed upon skin updating inside the MDSkinUpdater. We will take advantage of the update() method of the UIs defined, which will be invoked automtically by swing. This way images or colors will be set properly. Icons of the button located on the title bar of md components will be put directly in the resource manager. Their updating is forced. 69 69 * In order to define a the resources modify [source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/java/org/sophie2/main/skin/alternative/SkinDefIds.java SkinDefIds] so that icons are loaded. 70 70 * Resouces used: 71 * [[Image(source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2/btn_flap_close.png)]] - btn_flap_close.png 72 * [[Image(source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2/btn_flap_maximize.png)]] - btn_flap_maximize.png 73 * [[Image(source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2/btn_flap_minimize.png)]] - btn_flap_minimize.png 74 * [[Image(source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2/btn_flap_pin.png)]] - btn_flap_pin.png 75 * [[Image(source:branches/private/peko/sophie2-mydoggy/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2/btn_flap_empty.png)]] - btn_flap_empty.png 76 71 77 = Implementation = 72 78