Changes between Version 26 and Version 27 of AUTHOR_APP_TUNING


Ignore:
Timestamp:
08/25/09 12:12:06 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AUTHOR_APP_TUNING

    v26 v27  
    6565== Styles for parts of the UI == 
    6666 * For every style we will use png images. They '''WILL NOT''' be linked for every style defined because this is a tedious task to do. Instead see [source:branches/private/peko/sophie2-app-tuning/modules/org.sophie2.main.skin.alternative/src/main/java/org/sophie2/main/skin/alternative/lookandfeel/resources resources] for all images used! 
    67  * Default - this is used where no other style is defined: 
     67 * Current look and feel definition: 
     68 
    6869{{{ 
     70 
     71<synth> 
    6972        <!-- ================================= --> 
    7073        <!-- DEFAULTS --> 
     
    7477                        <font name="Arial" size="12" style="PLAIN" /> 
    7578                        <insets top="0" bottom="0" right="0" left="0" /> 
    76                         <color value="WHITE" type="BACKGROUND" /> 
    77                         <color value="BLACK" type="FOREGROUND" /> 
     79                        <color value="#00000000" type="BACKGROUND" /> 
     80                        <color value="#00000000" type="FOREGROUND" /> 
    7881                        <color value="WHITE" type="TEXT_BACKGROUND" /> 
    7982                        <color value="BLACK" type="TEXT_FOREGROUND" /> 
    8083                </state> 
     84                <state value="SELECTED"> 
     85                        <color value="#326CB7" type="TEXT_BACKGROUND" /> 
     86                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     87                </state> 
     88                <object class="org.sophie2.main.skin.alternative.lookandfeel.TilePainter"  
     89                id="TilePainter"></object> 
    8190        </style> 
    8291        <bind style="default" type="region" key=".*" /> 
    83 }}} 
    84  * ArrowButton - finished! 
    85  
    86 {{{ 
    8792 
    8893        <!-- ================================= --> 
     
    9095        <!-- ================================= --> 
    9196        <style id="arrowButtonStyle"> 
    92  
    93                 <state> 
    94                         <imagePainter method="arrowButtonForeground" path="resources/sbv_up_arrow_normal.png" 
     97                <property key="ArrowButton.size" type="integer" value="14" /> 
     98                <state> 
     99                        <imagePainter method="arrowButtonForeground" path="distrib/resources/VScrollBar/up_arrow.png" 
    95100                                center="true" direction="north" /> 
    96101                        <imagePainter method="arrowButtonForeground" 
    97                                 path="resources/sbv_down_arrow_normal.png" center="true" direction="south" /> 
    98                         <imagePainter method="arrowButtonForeground" path="resources/sbh_up_arrow_normal.png" 
     102                                path="distrib/resources/VScrollBar/down_arrow.png" center="true" direction="south" /> 
     103                        <imagePainter method="arrowButtonForeground" path="distrib/resources/HScrollBar/up_arrow.png" 
    99104                                center="true" direction="west" /> 
    100105                        <imagePainter method="arrowButtonForeground" 
    101                                 path="resources/sbh_down_arrow_normal.png" center="true" direction="east" /> 
    102                 </state> 
    103  
    104                 <state value="PRESSED"> 
    105                         <imagePainter method="arrowButtonForeground" path="resources/sbv_up_arrow_down.png" 
    106                                 center="true" direction="north" /> 
    107                         <imagePainter method="arrowButtonForeground" path="resources/sbv_down_arrow_down.png" 
    108                                 center="true" direction="south" /> 
    109                         <imagePainter method="arrowButtonForeground" path="resources/sbh_up_arrow_down.png" 
    110                                 center="true" direction="west" /> 
    111                         <imagePainter method="arrowButtonForeground" path="resources/sbh_down_arrow_down.png" 
    112                                 center="true" direction="east" /> 
     106                                path="distrib/resources/HScrollBar/down_arrow.png" center="true" direction="east" /> 
     107                </state> 
     108 
     109                <state value="PRESSED"> 
     110                        <imagePainter method="arrowButtonForeground" 
     111                                path="distrib/resources/VScrollBar/up_arrow_pressed.png" center="true" 
     112                                direction="north" /> 
     113                        <imagePainter method="arrowButtonForeground" 
     114                                path="distrib/resources/VScrollBar/down_arrow_pressed.png" center="true" 
     115                                direction="south" /> 
     116                        <imagePainter method="arrowButtonForeground" 
     117                                path="distrib/resources/HScrollBar/up_arrow_pressed.png" center="true" 
     118                                direction="west" /> 
     119                        <imagePainter method="arrowButtonForeground" 
     120                                path="distrib/resources/HScrollBar/down_arrow_pressed.png" center="true" 
     121                                direction="east" /> 
    113122                </state> 
    114123 
    115124                <state value="MOUSE_OVER"> 
    116  
    117                         <imagePainter method="arrowButtonForeground" path="resources/sbv_up_arrow_over.png" 
    118                                 center="true" direction="north" /> 
    119  
    120                         <imagePainter method="arrowButtonForeground" path="resources/sbv_down_arrow_over.png" 
    121                                 center="true" direction="south" /> 
    122  
    123                         <imagePainter method="arrowButtonForeground" path="resources/sbh_up_arrow_over.png" 
    124                                 center="true" direction="west" /> 
    125  
    126                         <imagePainter method="arrowButtonForeground" path="resources/sbh_down_arrow_over.png" 
    127                                 center="true" direction="east" /> 
    128  
    129                 </state> 
    130  
    131                 <state value="DISABLED"> 
    132  
    133                         <imagePainter method="arrowButtonForeground" 
    134                                 path="resources/sbv_up_arrow_disabled.png" center="true" direction="north" /> 
    135  
    136                         <imagePainter method="arrowButtonForeground" 
    137                                 path="resources/sbv_down_arrow_disabled.png" center="true" 
     125                        <imagePainter method="arrowButtonForeground" 
     126                                path="distrib/resources/VScrollBar/up_arrow_over.png" center="true" 
     127                                direction="north" /> 
     128                        <imagePainter method="arrowButtonForeground" 
     129                                path="distrib/resources/VScrollBar/down_arrow_over.png" center="true" 
    138130                                direction="south" /> 
    139  
    140                         <imagePainter method="arrowButtonForeground" 
    141                                 path="resources/sbh_up_arrow_disabled.png" center="true" direction="west" /> 
    142  
    143                         <imagePainter method="arrowButtonForeground" 
    144                                 path="resources/sbh_down_arrow_disabled.png" center="true" 
     131                        <imagePainter method="arrowButtonForeground" 
     132                                path="distrib/resources/HScrollBar/up_arrow_over.png" center="true" 
     133                                direction="west" /> 
     134                        <imagePainter method="arrowButtonForeground" 
     135                                path="distrib/resources/HScrollBar/down_arrow_over.png" center="true" 
    145136                                direction="east" /> 
     137 
     138                </state> 
     139 
     140                <state value="DISABLED"> 
     141                        <imagePainter method="arrowButtonForeground" 
     142                                path="distrib/resources/VScrollBar/up_arrow_disabled.png" center="true" 
     143                                direction="north" /> 
     144                        <imagePainter method="arrowButtonForeground" 
     145                                path="distrib/resources/VScrollBar/down_arrow_disabled.png" center="true" 
     146                                direction="south" /> 
     147                        <imagePainter method="arrowButtonForeground" 
     148                                path="distrib/resources/HScrollBar/up_arrow_disabled.png" center="true" 
     149                                direction="west" /> 
     150                        <imagePainter method="arrowButtonForeground" 
     151                                path="distrib/resources/HScrollBar/down_arrow_disabled.png" center="true" 
     152                                direction="east" /> 
    146153                </state> 
    147154        </style> 
    148155        <bind style="arrowButtonStyle" type="region" key="ArrowButton" /> 
    149 }}} 
    150    
    151  * Button - ready (may change the resources used for the buttons) 
    152  
    153 {{{ 
    154         <!-- ================================= --> 
     156 
     157        <!-- ================================= --> 
    155158        <!-- BUTTON --> 
    156159        <!-- ================================= --> 
     
    159162                <property key="Button.textShiftOffset" type="integer" value="1" /> 
    160163                <insets top="7" left="16" right="16" bottom="7" /> 
    161  
    162                 <state value="ENABLED"> 
    163                         <imagePainter method="buttonBackground" path="resources/btn_enabled.png" 
     164                <state> 
     165                        <font name="Arial" size="11" style="PLAIN" /> 
     166                </state> 
     167                <state value="ENABLED"> 
     168                        <imagePainter method="buttonBackground" path="distrib/resources/btn_enabled.png" 
    164169                                sourceInsets="2 1 1 2" /> 
    165170                </state> 
    166171                <state value="DISABLED"> 
    167                         <imagePainter method="buttonBackground" path="resources/btn_disabled.png" 
     172                        <imagePainter method="buttonBackground" path="distrib/resources/btn_disabled.png" 
    168173                                sourceInsets="2 1 1 2" /> 
    169174                </state> 
    170175                <state value="PRESSED"> 
    171                         <imagePainter method="buttonBackground" path="resources/btn_roll.png" 
     176                        <imagePainter method="buttonBackground" path="distrib/resources/btn_roll.png" 
    172177                                sourceInsets="2 1 1 2" /> 
    173178                </state> 
    174                 <state value="FOCUSED"> 
    175                         <imagePainter method="buttonBackground" path="resources/btn_roll.png" 
     179                <state value="MOUSE_OVER"> 
     180                        <imagePainter method="buttonBackground" path="distrib/resources/btn_roll.png" 
    176181                                sourceInsets="2 1 1 2" /> 
    177182                </state> 
     
    179184        <!-- Bind buttonStyle to all JButtons --> 
    180185        <bind style="buttonStyle" type="region" key="button" /> 
    181 }}} 
    182  
    183  * CheckBox - ready (provided by dido) 
    184  
    185 {{{ 
     186 
     187        <!-- ================================= --> 
     188        <!-- PREVIOUS PAGE BUTTON --> 
     189        <!-- ================================= --> 
     190        <style id="prevPageButtonStyle"> 
     191                <!-- Shift the text one pixel when pressed --> 
     192                <property key="Button.textShiftOffset" type="integer" value="1" /> 
     193                <insets top="0" left="0" right="0" bottom="0" /> 
     194                <state> 
     195                        <font name="Arial" size="11" style="PLAIN" /> 
     196                        <imagePainter method="buttonBackground" 
     197                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     198                </state> 
     199                <state value="ENABLED"> 
     200                        <imageIcon id="prevPageIconEnabled" 
     201                                path="distrib/resources/DocumentSetingsPanel/previous_page.png" /> 
     202                        <property key="Button.icon" value="prevPageIconEnabled" /> 
     203                        <imagePainter method="buttonBackground" 
     204                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     205                </state> 
     206                <state value="DISABLED"> 
     207                        <imageIcon id="prevPageIconDisabled" 
     208                                path="distrib/resources/DocumentSetingsPanel/previous_page_disabled.png" /> 
     209                        <property key="Button.icon" value="prevPageIconDisabled" /> 
     210                        <imagePainter method="buttonBackground" 
     211                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     212                </state> 
     213                <state value="PRESSED"> 
     214                        <imageIcon id="prevPageIconPressed" 
     215                                path="distrib/resources/DocumentSetingsPanel/previous_page_pressed.png" /> 
     216                        <property key="Button.icon" value="prevPageIconPressed" /> 
     217                        <imagePainter method="buttonBackground" 
     218                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     219                </state> 
     220                <state value="MOUSE_OVER"> 
     221                        <imageIcon id="prevPageIconOver" 
     222                                path="distrib/resources/DocumentSetingsPanel/previous_page_over.png" /> 
     223                        <property key="Button.icon" value="prevPageIconOver" /> 
     224                        <imagePainter method="buttonBackground" 
     225                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     226                </state> 
     227        </style> 
     228        <bind style="prevPageButtonStyle" type="name" 
     229                key="main.app.commons.book.panels.navigation-panel/prevButton" /> 
     230 
     231        <!-- ================================= --> 
     232        <!-- NEXT PAGE BUTTON --> 
     233        <!-- ================================= --> 
     234        <style id="nextPageButtonStyle"> 
     235                <!-- Shift the text one pixel when pressed --> 
     236                <property key="Button.textShiftOffset" type="integer" value="1" /> 
     237                <insets top="0" left="0" right="0" bottom="0" /> 
     238                <state> 
     239                        <font name="Arial" size="11" style="PLAIN" /> 
     240                        <imagePainter method="buttonBackground" 
     241                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     242                </state> 
     243                <state value="ENABLED"> 
     244                        <imageIcon id="nextPageIconEnabled" 
     245                                path="distrib/resources/DocumentSetingsPanel/next_page.png" /> 
     246                        <property key="Button.icon" value="nextPageIconEnabled" /> 
     247                        <imagePainter method="buttonBackground" 
     248                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     249                </state> 
     250                <state value="DISABLED"> 
     251                        <imageIcon id="nextPageIconDisabled" 
     252                                path="distrib/resources/DocumentSetingsPanel/next_page_disabled.png" /> 
     253                        <property key="Button.icon" value="nextPageIconDisabled" /> 
     254                        <imagePainter method="buttonBackground" 
     255                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     256                </state> 
     257                <state value="PRESSED"> 
     258                        <imageIcon id="nextPageIconPressed" 
     259                                path="distrib/resources/DocumentSetingsPanel/next_page_pressed.png" /> 
     260                        <property key="Button.icon" value="nextPageIconPressed" /> 
     261                        <imagePainter method="buttonBackground" 
     262                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     263                </state> 
     264                <state value="MOUSE_OVER"> 
     265                        <imageIcon id="nextPageIconOver" 
     266                                path="distrib/resources/DocumentSetingsPanel/next_page_over.png" /> 
     267                        <property key="Button.icon" value="nextPageIconOver" /> 
     268                        <imagePainter method="buttonBackground" 
     269                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     270                </state> 
     271        </style> 
     272        <bind style="nextPageButtonStyle" type="name" 
     273                key="main.app.commons.book.panels.navigation-panel/nextButton" /> 
     274 
     275        <!-- ================================= --> 
     276        <!-- NEXT SEARCH BUTTON --> 
     277        <!-- ================================= --> 
     278        <style id="nextSearchButtonStyle"> 
     279                <property key="Button.textShiftOffset" type="integer" value="1" /> 
     280                <insets top="0" left="0" right="0" bottom="0" /> 
     281                <state> 
     282                        <font name="Arial" size="11" style="PLAIN" /> 
     283                        <imagePainter method="buttonBackground" 
     284                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     285                </state> 
     286                <state value="ENABLED"> 
     287                        <imageIcon id="nextSearchIconEnabled" 
     288                                path="distrib/resources/DocumentSetingsPanel/next_search.png" /> 
     289                        <property key="Button.icon" value="nextSearchIconEnabled" /> 
     290                        <imagePainter method="buttonBackground" 
     291                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     292                </state> 
     293                <state value="DISABLED"> 
     294                        <imageIcon id="nextSearchIconDisabled" 
     295                                path="distrib/resources/DocumentSetingsPanel/next_search_disabled.png" /> 
     296                        <property key="Button.icon" value="nextSearchIconDisabled" /> 
     297                        <imagePainter method="buttonBackground" 
     298                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     299                </state> 
     300                <state value="PRESSED"> 
     301                        <imageIcon id="nextSearchIconPressed" 
     302                                path="distrib/resources/DocumentSetingsPanel/next_search_pressed.png" /> 
     303                        <property key="Button.icon" value="nextSearchIconPressed" /> 
     304                        <imagePainter method="buttonBackground" 
     305                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     306                </state> 
     307                <state value="MOUSE_OVER"> 
     308                        <imageIcon id="nextSearchIconOver" 
     309                                path="distrib/resources/DocumentSetingsPanel/next_search_over.png" /> 
     310                        <property key="Button.icon" value="nextSearchIconOver" /> 
     311                        <imagePainter method="buttonBackground" 
     312                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     313                </state> 
     314        </style> 
     315        <bind style="nextSearchButtonStyle" type="name" 
     316                key="main.app.commons.book.panels.quick-search-panel/nextSearchButton" /> 
     317 
     318        <!--================================= --> 
     319        <!-- PREVIOUS SEARCH BUTTON --> 
     320        <!-- ================================= --> 
     321        <style id="previousSearchButtonStyle"> 
     322                <property key="Button.textShiftOffset" type="integer" value="1" /> 
     323                <insets top="0" left="0" right="0" bottom="0" /> 
     324                <state> 
     325                        <font name="Arial" size="11" style="PLAIN" /> 
     326                        <imagePainter method="buttonBackground" 
     327                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     328                </state> 
     329                <state value="ENABLED"> 
     330                        <imageIcon id="previousSearchIconEnabled" 
     331                                path="distrib/resources/DocumentSetingsPanel/previous_search.png" /> 
     332                        <property key="Button.icon" value="previousSearchIconEnabled" /> 
     333                        <imagePainter method="buttonBackground" 
     334                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     335                </state> 
     336                <state value="DISABLED"> 
     337                        <imageIcon id="previousSearchIconDisabled" 
     338                                path="distrib/resources/DocumentSetingsPanel/previous_search_disabled.png" /> 
     339                        <property key="Button.icon" value="previousSearchIconDisabled" /> 
     340                        <imagePainter method="buttonBackground" 
     341                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     342                </state> 
     343                <state value="PRESSED"> 
     344                        <imageIcon id="previousSearchIconPressed" 
     345                                path="distrib/resources/DocumentSetingsPanel/previous_search_pressed.png" /> 
     346                        <property key="Button.icon" value="previousSearchIconPressed" /> 
     347                        <imagePainter method="buttonBackground" 
     348                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     349                </state> 
     350                <state value="MOUSE_OVER"> 
     351                        <imageIcon id="previousSearchIconOver" 
     352                                path="distrib/resources/DocumentSetingsPanel/previous_search_over.png" /> 
     353                        <property key="Button.icon" value="previousSearchIconOver" /> 
     354                        <imagePainter method="buttonBackground" 
     355                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     356                </state> 
     357        </style> 
     358        <bind style="previousSearchButtonStyle" type="name" 
     359                key="main.app.commons.book.panels.quick-search-panel/prevSearchButton" /> 
     360 
     361        <!-- ================================= --> 
     362        <!-- TAB BUTTON --> 
     363        <!-- ================================= --> 
     364        <style id="tabButtonStyle"> 
     365                <insets top="11" left="9" right="10" bottom="17" /> 
     366 
     367                <imageIcon id="bookIcon" path="distrib/resources/TabBar/icon_tab_button.png" /> 
     368                <property key="ToggleButton.icon" value="bookIcon" /> 
     369 
     370                <property key="ToggleButton.iconTextGap" type="Integer" 
     371                        value="6" /> 
     372 
     373                <state value="DEFAULT"></state> 
     374                <state> 
     375                        <imagePainter method="toggleButtonBackground" path="distrib/resources/TabBar/tab_button.png" 
     376                                sourceInsets="15 7 19 7" /> 
     377                </state> 
     378                <state value="DISABLED"> 
     379                        <imageIcon id="bookIconDisabled" 
     380                                path="distrib/resources/TabBar/icon_tab_button_disabled.png" /> 
     381                        <property key="ToggleButton.icon" value="bookIconDisabled" /> 
     382 
     383                        <imagePainter method="toggleButtonBackground" 
     384                                path="distrib/resources/TabBar/tab_button_disabled.png" sourceInsets="15 7 19 7" /> 
     385                        <color value="#c2c4c7" type="TEXT_FOREGROUND" /> 
     386                </state> 
     387                <state value="PRESSED"> 
     388                        <imagePainter method="toggleButtonBackground" 
     389                                path="distrib/resources/TabBar/tab_button_over.png" sourceInsets="15 7 19 7" /> 
     390                </state> 
     391                <state value="MOUSE_OVER"> 
     392                        <imagePainter method="toggleButtonBackground" 
     393                                path="distrib/resources/TabBar/tab_button_over.png" sourceInsets="15 7 19 7" /> 
     394                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     395                </state> 
     396                <state value="SELECTED"> 
     397                        <imagePainter method="toggleButtonBackground" 
     398                                path="distrib/resources/TabBar/tab_button_selected.png" sourceInsets="17 14 19 11" /> 
     399                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     400                        <insets top="14" left="9" right="10" bottom="14" /> 
     401                </state> 
     402                <state value="SELECTED AND MOUSE_OVER"> 
     403                        <imagePainter method="toggleButtonBackground" 
     404                                path="distrib/resources/TabBar/tab_button_selected.png" sourceInsets="17 14 19 11" /> 
     405                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     406                        <insets top="14" left="9" right="10" bottom="14" /> 
     407                </state> 
     408                 
     409        </style> 
     410        <!-- Bind buttonStyle to all JButtons --> 
     411        <bind style="tabButtonStyle" type="name" key="tabButton" /> 
     412        <bind style="tabButtonStyle" type="name" key="bookDesktopButton" /> 
     413 
     414        <style id="bookDesktopButtonStyle"> 
     415                <insets top="10" left="9" right="10" bottom="16" /> 
     416                <state value="SELECTED"> 
     417                        <insets top="13" left="9" right="10" bottom="13" /> 
     418                </state> 
     419        </style> 
     420        <bind style="bookDesktopButtonStyle" type="name" key="bookDesktopButton" /> 
     421 
     422        <!-- ================================= --> 
     423        <!-- ICON BUTTON --> 
     424        <!-- 
     425                only icon is visible, no background for this type of buttons 
     426        --> 
     427        <!-- ================================= --> 
     428        <style id="iconButtonStyle"> 
     429                <!-- Shift the text one pixel when pressed --> 
     430                <property key="Button.textShiftOffset" type="integer" value="1" /> 
     431                <insets top="7" left="16" right="16" bottom="7" /> 
     432                <state value="ENABLED"> 
     433                        <imagePainter method="buttonBackground" 
     434                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     435                </state> 
     436                <state value="DISABLED"> 
     437                        <imagePainter method="buttonBackground" 
     438                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     439                </state> 
     440                <state value="PRESSED"> 
     441                        <imagePainter method="buttonBackground" 
     442                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     443                </state> 
     444                <state value="FOCUSED"> 
     445                        <imagePainter method="buttonBackground" 
     446                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     447                </state> 
     448        </style> 
     449        <!-- Bind buttonStyle to all JButtons --> 
     450        <bind style="iconButtonStyle" type="name" key="haloButton" /> 
     451 
     452 
    186453        <!-- ================================= --> 
    187454        <!-- CHECKBOX --> 
    188455        <!-- ================================= --> 
    189456        <style id="CheckBoxStyle"> 
    190                 <imagePainter method="CheckBoxBackground" path="panel_bg.png" 
    191                         sourceInsets="0 0 0 0" /> 
    192                 <state> 
    193                         <imageIcon id="checkBoxOff" path="resources/cb.png" /> 
     457                <state> 
     458                        <imageIcon id="checkBoxOff" path="distrib/resources/CheckBox/normal.png" /> 
    194459                        <property key="CheckBox.icon" value="checkBoxOff" /> 
    195460                </state> 
    196461                <state value="MOUSE_OVER"> 
    197                         <imageIcon id="checkBoxOffMouseOver" path="resources/cb_rolled.png" /> 
     462                        <imageIcon id="checkBoxOffMouseOver" path="distrib/resources/CheckBox/rolled.png" /> 
    198463                        <property key="CheckBox.icon" value="checkBoxOffMouseOver" /> 
    199464                </state> 
    200465                <state value="DISABLED"> 
    201                         <imageIcon id="checkBoxOffDisabled" path="resources/cb_disabled.png" /> 
     466                        <imageIcon id="checkBoxOffDisabled" path="distrib/resources/CheckBox/disabled.png" /> 
    202467                        <property key="CheckBox.icon" value="checkBoxOffDisabled" /> 
    203468                </state> 
    204469                <state value="PRESSED"> 
    205                         <imageIcon id="checkBoxPressed" path="resources/cb_pressed.png" /> 
     470                        <imageIcon id="checkBoxPressed" path="distrib/resources/CheckBox/pressed.png" /> 
    206471                        <property key="CheckBox.icon" value="checkBoxPressed" /> 
    207472                </state> 
    208473                <state value="SELECTED"> 
    209                         <imageIcon id="checkBoxOn" path="resources/cb_selected.png" /> 
     474                        <imageIcon id="checkBoxOn" path="distrib/resources/CheckBox/selected.png" /> 
    210475                        <property key="CheckBox.icon" value="checkBoxOn" /> 
    211476                </state> 
    212477                <state value="SELECTED AND MOUSE_OVER"> 
    213                         <imageIcon id="checkBoxOnMouseOver" path="resources/cb_selected_rolled.png" /> 
     478                        <imageIcon id="checkBoxOnMouseOver" path="distrib/resources/CheckBox/selected_rolled.png" /> 
    214479                        <property key="CheckBox.icon" value="checkBoxOnMouseOver" /> 
    215480                </state> 
    216481                <state value="SELECTED AND PRESSED"> 
    217                         <imageIcon id="checkBoxOnPressed" path="resources/cb_selected_pressed.png" /> 
     482                        <imageIcon id="checkBoxOnPressed" path="distrib/resources/CheckBox/selected_pressed.png" /> 
    218483                        <property key="CheckBox.icon" value="checkBoxOnPressed" /> 
    219484                </state> 
    220485                <state value="SELECTED AND DISABLED"> 
    221                         <imageIcon id="checkBoxOnDisabled" path="resources/cb_selected_disabled.png" /> 
     486                        <imageIcon id="checkBoxOnDisabled" path="distrib/resources/CheckBox/selected_disabled.png" /> 
    222487                        <property key="CheckBox.icon" value="checkBoxOnDisabled" /> 
    223488                </state> 
     
    225490        <bind style="CheckBoxStyle" type="region" key="CheckBox" /> 
    226491 
    227 }}} 
    228  
    229  * RadioButton - ready (provided by dido) 
    230  
    231 {{{ 
    232492        <!-- ================================= --> 
    233493        <!-- RADIO BUTTON --> 
    234494        <!-- ================================= --> 
    235495        <style id="RadioButtonStyle"> 
    236                 <imagePainter method="RadioButtonBackground" path="panel_bg.png" 
    237                         sourceInsets="0 0 0 0" /> 
    238                 <state> 
    239                         <imageIcon id="radioButtonOff" path="resources/rb.png" /> 
     496                <state> 
     497                        <imageIcon id="radioButtonOff" path="distrib/resources/RadioButton/normal.png" /> 
    240498                        <property key="RadioButton.icon" value="radioButtonOff" /> 
    241499                </state> 
    242500                <state value="MOUSE_OVER"> 
    243                         <imageIcon id="radioButtonOffMouseOver" path="resources/rb_rolled.png" /> 
     501                        <imageIcon id="radioButtonOffMouseOver" path="distrib/resources/RadioButton/rolled.png" /> 
    244502                        <property key="RadioButton.icon" value="radioButtonOffMouseOver" /> 
    245503                </state> 
    246504                <state value="PRESSED"> 
    247                         <imageIcon id="radioButtonOffPressed" path="resources/rb_pressed.png" /> 
     505                        <imageIcon id="radioButtonOffPressed" path="distrib/resources/RadioButton/pressed.png" /> 
    248506                        <property key="RadioButton.icon" value="radioButtonOffPressed" /> 
    249507                </state> 
    250508                <state value="DISABLED"> 
    251                         <imageIcon id="radioButtonOffDisabled" path="resources/rb_disabled.png" /> 
     509                        <imageIcon id="radioButtonOffDisabled" path="distrib/resources/RadioButton/disabled.png" /> 
    252510                        <property key="RadioButton.icon" value="radioButtonOffDisabled" /> 
    253511                </state> 
    254512 
    255513                <state value="SELECTED"> 
    256                         <imageIcon id="radioButtonOn" path="resources/rb_selected.png" /> 
     514                        <imageIcon id="radioButtonOn" path="distrib/resources/RadioButton/selected.png" /> 
    257515                        <property key="RadioButton.icon" value="radioButtonOn" /> 
    258516                </state> 
    259517                <state value="SELECTED AND DISABLED"> 
    260                         <imageIcon id="radioButtonOnDisabled" path="resources/rb_selected_disabled.png" /> 
     518                        <imageIcon id="radioButtonOnDisabled" path="distrib/resources/RadioButton/selected_disabled.png" /> 
    261519                        <property key="RadioButton.icon" value="radioButtonOnDisabled" /> 
    262520                </state> 
    263521                <state value="SELECTED AND MOUSE_OVER"> 
    264                         <imageIcon id="radioButtonOnMouseOver" path="resources/rb_selected_rolled.png" /> 
     522                        <imageIcon id="radioButtonOnMouseOver" path="distrib/resources/RadioButton/selected_rolled.png" /> 
    265523                        <property key="RadioButton.icon" value="radioButtonOnMouseOver" /> 
    266524                </state> 
    267525                <state value="SELECTED AND PRESSED"> 
    268                         <imageIcon id="radioButtonOnPressed" path="resources/rb_selected_pressed.png" /> 
     526                        <imageIcon id="radioButtonOnPressed" path="distrib/resources/RadioButton/selected_pressed.png" /> 
    269527                        <property key="RadioButton.icon" value="radioButtonOnPressed" /> 
    270528                </state> 
     
    273531        <bind style="RadioButtonStyle" type="region" key="RadioButton" /> 
    274532 
    275 }}} 
    276  
    277  * ToggleButton - ready (may change the resources - it now uses the buttons images) 
    278 {{{ 
    279         <!-- ================================= --> 
     533 
     534        <!-- ================================= --> 
    280535        <!-- 
    281536                TOGGLE BUTTON - it uses the icons of the Button except for the states 
     
    286541                <insets top="5" left="13" right="13" bottom="5" /> 
    287542                <state> 
    288                         <imagePainter method="ToggleButtonBackground" path="resources/btn_enabled.png" 
     543                        <imagePainter method="ToggleButtonBackground" path="distrib/resources/btn_enabled.png" 
    289544                                sourceInsets="2 1 1 2" /> 
    290545                </state> 
    291546                <state value="DISABLED"> 
    292                         <imagePainter method="ToggleButtonBackground" path="resources/btn_disabled.png" 
     547                        <imagePainter method="ToggleButtonBackground" path="distrib/resources/btn_disabled.png" 
    293548                                sourceInsets="2 1 1 2" /> 
    294549                </state> 
    295550                <state value="SELECTED"> 
    296                         <imagePainter method="ToggleButtonBackground" path="resources/btn_roll.png" 
     551                        <imagePainter method="ToggleButtonBackground" path="distrib/resources/btn_roll.png" 
    297552                                sourceInsets="2 1 1 2" /> 
    298553                </state> 
    299554        </style> 
    300         <bind style="ToggleButtonStyle" type="region" key="ToggleButton" /> 
    301  
    302 }}} 
    303  
    304  * ComboBox - needs selected state customization. 
    305 {{{ 
     555        <!-- 
     556                <bind style="ToggleButtonStyle" type="region" key="ToggleButton" /> 
     557        --> 
     558 
     559        <!-- 
     560                <style id="ColorChooser.swatchesSwatchSiStyle"> <state> <imagePainter 
     561                method="ColorChooser.swatchesSwatchSiBackground" path="button.png" 
     562                sourceInsets="0 0 0 0"/> </state> </style> <bind 
     563                style="ColorChooser.swatchesSwatchSiStyle" type="region" 
     564                key="ColorChooser.swatchesSwatchSi"/> 
     565        --> 
     566 
     567        <!-- ================================= --> 
     568        <!-- ARROW BUTTON FOR COMBO BOX--> 
     569        <!-- ================================= --> 
     570        <style id="arrowButtonComboBoxStyle"> 
     571                <property key="ArrowButton.size" type="integer" value="19" /> 
     572                <state> 
     573                        <imagePainter method="arrowButtonForeground" path="distrib/resources/ComboBox/arrow.png" 
     574                                sourceInsets="5 2 5 5" direction="south" /> 
     575                </state> 
     576 
     577                <state value="PRESSED"> 
     578                        <imagePainter method="arrowButtonForeground" 
     579                                path="distrib/resources/ComboBox/arrow_pressed.png" sourceInsets="5 2 5 5" 
     580                                direction="south" /> 
     581                </state> 
     582 
     583                <state value="MOUSE_OVER"> 
     584                        <imagePainter method="arrowButtonForeground" path="distrib/resources/ComboBox/arrow_over.png" 
     585                                sourceInsets="5 2 5 5" direction="south" /> 
     586                </state> 
     587 
     588                <state value="DISABLED"> 
     589                        <imagePainter method="arrowButtonForeground" 
     590                                path="distrib/resources/ComboBox/arrow_disabled.png" sourceInsets="5 2 5 5" 
     591                                direction="south" /> 
     592                </state> 
     593        </style> 
     594        <bind style="arrowButtonComboBoxStyle" type="name" key="ComboBox.arrowButton" /> 
     595 
     596        <!-- ================================= --> 
     597        <!-- LIST RENDERER COMBO BOX --> 
     598        <!-- ================================= --> 
     599        <style id="ComboBox List Renderer"> 
     600                <insets top="0" left="10" bottom="0" right="0" /> 
     601                <opaque value="true" /> 
     602                <state value="ENABLED"> 
     603                        <color type="TEXT_FOREGROUND" value="#000000" /> 
     604                </state> 
     605                <state value="SELECTED"> 
     606                        <color value="#326CB7" type="BACKGROUND" /> 
     607                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     608                </state> 
     609        </style> 
     610        <bind style="ComboBox List Renderer" type="name" key="ComboBox.listRenderer" /> 
     611 
    306612        <!-- ================================= --> 
    307613        <!-- COMBO BOX --> 
    308614        <!-- ================================= --> 
    309615        <style id="ComboBox"> 
    310                 <insets top="0" left="0" bottom="0" right="0" /> 
     616                <insets top="0" left="10" bottom="0" right="0" /> 
    311617                <property key="ComboBox.showPopupOnNavigation" type="boolean" 
    312618                        value="true" /> 
    313                 <state value="ENABLED"> 
    314                         <font name="Arial" size="11" style="PLAIN" /> 
    315                         <color value="#272a2e" type="TEXT_FOREGROUND" /> 
    316                         <imagePainter method="comboBoxBorder" path="resources/text_bg.png" 
    317                                 sourceInsets="3 3 3 3" paintCenter="true" stretch="true" center="false" /> 
    318                 </state> 
    319                 <state value="DISABLED"> 
    320                         <font name="Arial" size="11" style="PLAIN" /> 
    321                         <color value="#272a2e" type="TEXT_FOREGROUND" /> 
    322                         <imagePainter method="comboBoxBorder" path="resources/panel_bg.png" 
    323                                 sourceInsets="3 3 3 3" paintCenter="true" stretch="true" center="false" /> 
     619                <!-- 
     620                        <property key="ComboBox.rendererUseListColors" type="boolean" 
     621                        value="false"/> 
     622                --> 
     623                <state value="ENABLED"> 
     624                        <imagePainter method="comboBoxBackground" 
     625                                path="distrib/resources/ComboBox/text_field_background.png" sourceInsets="5 5 5 5" /> 
     626                </state> 
     627                <state value="DISABLED"> 
     628                        <imagePainter method="comboBoxBackground" 
     629                                path="distrib/resources/ComboBox/text_field_background_disabled.png" 
     630                                sourceInsets="5 5 5 5" /> 
    324631                </state> 
    325632        </style> 
    326633        <bind style="ComboBox" type="region" key="ComboBox" /> 
    327634 
    328 }}} 
    329  
    330  * InternalFrame 
    331 {{{ 
     635        <!-- ================================= --> 
     636        <!-- SCROLLBAR --> 
     637        <!-- ================================= --> 
     638 
     639        <style id="ScrollBarStyle"> 
     640                <property key="ScrollBar.thumbHeight" type="integer" value="19" /> 
     641                <property key="ScrollBar.minimumThumbSize" type="dimension" 
     642                        value="19 45" /> 
     643                <state> 
     644                </state> 
     645        </style> 
     646        <bind style="ScrollBarStyle" type="region" key="ScrollBar" /> 
     647 
     648        <!-- ================================= --> 
     649        <!-- SCROLLBAR THUMB --> 
     650        <!-- ================================= --> 
     651        <style id="scrollBarThumbStyle"> 
     652                <insets top="0" left="0" right="0" bottom="0" /> 
     653                <state> 
     654                        <imagePainter method="scrollBarThumbBackground" 
     655                                direction="horizontal" path="distrib/resources/HScrollBar/thumb.png" 
     656                                sourceInsets="9 20 9 20" /> 
     657                        <imagePainter method="scrollBarThumbBackground" 
     658                                direction="vertical" path="distrib/resources/VScrollBar/thumb.png" 
     659                                sourceInsets="20 9 20 9" /> 
     660                </state> 
     661 
     662                <!-- 
     663                        NOT VISIBLE FOR SOME REASON??? <state value="PRESSED"> <imagePainter 
     664                        method="scrollBarThumbBackground" direction="horizontal" 
     665                        path="distrib/resources/HScrollBar/thumb_pressed.png" sourceInsets="9 20 9 
     666                        20" /> <imagePainter method="scrollBarThumbBackground" 
     667                        direction="vertical" path="distrib/resources/VScrollBar/thumb_pressed.png" 
     668                        sourceInsets="20 9 20 9"/> </state> 
     669                --> 
     670 
     671                <state value="MOUSE_OVER"> 
     672                        <imagePainter method="scrollBarThumbBackground" 
     673                                direction="horizontal" path="distrib/resources/HScrollBar/thumb_over.png" 
     674                                sourceInsets="9 20 9 20" /> 
     675                        <imagePainter method="scrollBarThumbBackground" 
     676                                direction="vertical" path="distrib/resources/VScrollBar/thumb_over.png" 
     677                                sourceInsets="20 9 20 9" /> 
     678                </state> 
     679 
     680                <state value="DISABLED"> 
     681                        <imagePainter method="scrollBarThumbBackground" 
     682                                direction="horizontal" path="distrib/resources/HScrollBar/thumb_disabled.png" 
     683                                sourceInsets="9 20 9 20" /> 
     684                        <imagePainter method="scrollBarThumbBackground" 
     685                                direction="vertical" path="distrib/resources/VScrollBar/thumb_disabled.png" 
     686                                sourceInsets="20 9 20 9" /> 
     687                </state> 
     688 
     689        </style> 
     690 
     691        <bind style="scrollBarThumbStyle" type="region" key="ScrollBarThumb" /> 
     692 
     693        <!-- ================================= --> 
     694        <!-- SCROLLBAR TRACK --> 
     695        <!-- ================================= --> 
     696        <style id="scrollbarTrackStyle"> 
     697                <insets top="0" left="0" right="0" bottom="0" /> 
     698 
     699                <state> 
     700                        <imagePainter method="scrollBarTrackBackground" path="distrib/resources/HScrollBar/track.png" 
     701                                direction="horizontal" sourceInsets="3 20 3 20" /> 
     702                        <imagePainter method="scrollBarTrackBackground" path="distrib/resources/VScrollBar/track.png" 
     703                                direction="vertical" sourceInsets="20 3 20 3" /> 
     704                </state> 
     705 
     706                <state value="DISABLED"> 
     707                        <imagePainter method="scrollBarTrackBackground" 
     708                                path="distrib/resources/HScrollBar/track_disabled.png" direction="horizontal" 
     709                                sourceInsets="3 20 3 20" /> 
     710                        <imagePainter method="scrollBarTrackBackground" 
     711                                path="distrib/resources/VScrollBar/track_disabled.png" direction="vertical" 
     712                                sourceInsets="20 3 20 3" /> 
     713                </state> 
     714 
     715        </style> 
     716        <bind style="scrollbarTrackStyle" type="REGION" key="ScrollBarTrack" /> 
     717 
    332718        <!-- ================================= --> 
    333719        <!-- INTERNAL FRAME--> 
    334720        <!-- ================================= --> 
    335721        <style id="InternalFrameStyle"> 
    336                 <insets top="3" left="3" bottom="3" right="3" /> 
    337                 <imageIcon id="InternalFrameIcon" path="resources/btn_window_settings.png" 
    338                         sourceInsets="2 2 2 2" /> 
     722                <insets top="2" left="2" bottom="9" right="9" /> 
     723                <imageIcon id="InternalFrameIcon" path="distrib/resources/btn_window_settings.png" 
     724                        sourceInsets="0 0 0 0" /> 
    339725                <property key="InternalFrame.icon" type="idref" value="InternalFrameIcon" /> 
    340726                <state> 
    341                         <imagePainter method="InternalFrameBackground" path="resources/internal_frame_border.png" 
    342                                 sourceInsets="5 5 5 5" /> 
     727                        <imagePainter method="InternalFrameBackground" 
     728                                path="distrib/resources/InternalFrame/background.png" sourceInsets="6 6 14 13" /> 
    343729                        <imagePainter method="internalFrameBorder" 
    344                                 path="resources/internal_frame_border.png" sourceInsets="0 0 0 0" /> 
     730                                path="distrib/resources/InternalFrame/border.png" sourceInsets="11 10 11 10" /> 
    345731                </state> 
    346732        </style> 
    347733        <bind style="InternalFrameStyle" type="region" key="InternalFrame" /> 
    348 }}} 
    349  
    350  * InternalFrameTitlePane - ready (interface not as proposed by shift, may need serious customization to make it look as they've proposed.) 
    351 {{{ 
    352734 
    353735        <!-- ================================= --> 
     
    355737        <!-- ================================= --> 
    356738        <style id="InternalFrameTitlePaneStyle"> 
    357                 <insets top="0" left="0" bottom="0" right="0" /> 
     739                <insets top="2" left="16" bottom="3" right="0" /> 
    358740                <property key="InternalFrameTitlePane.titleSpacing" type="integer" 
    359                         value="20" /> 
     741                        value="7" /> 
    360742                <property key="InternalFrameTitlePane.buttonSpacing" type="integer" 
    361743                        value="0" /> 
    362                 <imageIcon id="InternalFrameMaximizeButtonIcon" path="resources/btn_maximize.png" /> 
     744                <imageIcon id="InternalFrameMaximizeButtonIcon" path="distrib/resources/btn_maximize.png" /> 
    363745                <property key="InternalFrameTitlePane.maximizeIcon" type="idref" 
    364746                        value="InternalFrameMaximizeButtonIcon" /> 
    365747 
    366                 <imageIcon id="InternalFrameCloseButtonIcon" path="resources/close.png" /> 
     748                <imageIcon id="InternalFrameMinimizeButtonIcon" path="distrib/resources/btn_minimize.png" /> 
     749                <property key="InternalFrameTitlePane.minimizeIcon" type="idref" 
     750                        value="InternalFrameMinimizeButtonIcon" /> 
     751 
     752                <imageIcon id="InternalFrameIconifyButtonIcon" path="distrib/resources/btn_minimize.png" /> 
     753                <property key="InternalFrameTitlePane.iconifyIcon" type="idref" 
     754                        value="InternalFrameIconifyButtonIcon" /> 
     755 
     756                <imageIcon id="InternalFrameCloseButtonIcon" path="distrib/resources/close.png" /> 
    367757                <property key="InternalFrameTitlePane.closeIcon" type="idref" 
    368758                        value="InternalFrameCloseButtonIcon" /> 
    369                          
    370                 <imageIcon id="InternalFrameMinimizeButtonIcon" path="resources/btn_minimize.png" /> 
    371                 <property key="InternalFrameTitlePane.minimizeIcon" type="idref" 
    372                         value="InternalFrameMinimizeButtonIcon" /> 
    373                          
    374                 <state> 
    375                         <imagePainter method="InternalFrameTitlePaneBackground" 
    376                                 path="resources/title_bar_bg.png" sourceInsets="0 0 0 0" /> 
     759 
     760                <state> 
     761                        <imagePainter method="internalFrameTitlePaneBackground" 
     762                                path="distrib/resources/title_bar_bg.png" sourceInsets="1 1 3 1" /> 
    377763                        <font name="Arial" size="11" style="BOLD" /> 
    378764                        <color value="#585f68" type="TEXT_FOREGROUND" /> 
    379765                </state> 
     766                <state value="SELECTED"> 
     767                        <color value="#00000000" type="TEXT_BACKGROUND" /> 
     768                        <font name="Arial" size="11" style="BOLD" /> 
     769                        <color value="#585f68" type="TEXT_FOREGROUND" /> 
     770                        <imagePainter method="internalFrameTitlePaneBackground" 
     771                                path="distrib/resources/title_bar_bg.png" sourceInsets="1 1 3 1" /> 
     772                </state> 
    380773        </style> 
    381774        <bind style="InternalFrameTitlePaneStyle" type="region" 
    382775                key="InternalFrameTitlePane" /> 
    383776 
    384 }}} 
    385  
    386  
    387  * InternalFrameTitlePane.closeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
    388 {{{ 
    389  
    390777        <!-- ================================= --> 
    391778        <!-- INTERNAL FRAME CLOSE BUTTON --> 
    392779        <!-- ================================= --> 
    393780        <style id="InternalFrameCloseButtonStyle"> 
    394                 <opaque value="true"/> 
    395                 <insets top="0" left="0" right="0" bottom="0" /> 
    396781                <insets top="0" left="0" right="0" bottom="0" /> 
    397782                <property key="Button.textShiftOffset" type="integer" value="0" /> 
    398                 <state> 
    399                         <imagePainter method="buttonBackground" path="resources/close.png" sourceInsets="0 0 0 0"/> 
    400                 </state> 
    401         </style> 
    402         <bind style="InternalFrameCloseButtonStyle" type="name" key="InternalFrameTitlePane.closeButton" /> 
    403  
    404 }}} 
    405  
    406  * InternalFrameTitlePane.iconifyButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
    407  
    408 {{{ 
     783                <state value="ENABLED"> 
     784                        <imagePainter method="buttonBackground" 
     785                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     786                </state> 
     787                <state value="DISABLED"> 
     788                        <imagePainter method="buttonBackground" 
     789                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     790                </state> 
     791                <state value="PRESSED"> 
     792                        <imagePainter method="buttonBackground" 
     793                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     794                </state> 
     795                <state value="FOCUSED"> 
     796                        <imagePainter method="buttonBackground" 
     797                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     798                </state> 
     799        </style> 
     800        <bind style="InternalFrameCloseButtonStyle" type="name" 
     801                key="InternalFrameTitlePane.closeButton" /> 
     802 
    409803        <!-- ================================= --> 
    410804        <!-- INTERNAL FRAME MINIMIZE BUTTON --> 
    411805        <!-- ================================= --> 
    412806        <style id="InternalFrameMinimizeButtonStyle"> 
    413                 <opaque value="true"/> 
    414807                <insets top="0" left="0" right="0" bottom="0" /> 
    415808                <property key="Button.textShiftOffset" type="integer" value="0" /> 
    416                 <state> 
    417                         <imagePainter method="buttonBackground" path="resources/btn_minimize.png" sourceInsets="0 0 0 0"/> 
    418                 </state> 
    419         </style> 
    420         <bind style="InternalFrameMinimizeButtonStyle" type="name" key="InternalFrameTitlePane.iconifyButton" /> 
    421 }}} 
    422  
    423  * InternalFrameTitlePane.maximizeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
    424 {{{ 
     809                <state value="ENABLED"> 
     810                        <imagePainter method="buttonBackground" 
     811                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     812                </state> 
     813                <state value="DISABLED"> 
     814                        <imagePainter method="buttonBackground" 
     815                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     816                </state> 
     817                <state value="PRESSED"> 
     818                        <imagePainter method="buttonBackground" 
     819                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     820                </state> 
     821                <state value="FOCUSED"> 
     822                        <imagePainter method="buttonBackground" 
     823                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     824                </state> 
     825        </style> 
     826        <bind style="InternalFrameMinimizeButtonStyle" type="name" 
     827                key="InternalFrameTitlePane.iconifyButton" /> 
     828 
    425829        <!-- ================================= --> 
    426830        <!-- INTERNAL FRAME MAXIMIZE BUTTON --> 
    427831        <!-- ================================= --> 
    428832        <style id="InternalFrameMaximizeButtonStyle"> 
    429                 <opaque value="true"/> 
    430833                <insets top="0" left="0" right="0" bottom="0" /> 
    431834                <property key="Button.textShiftOffset" type="integer" value="0" /> 
    432                 <state> 
    433                         <imagePainter method="buttonBackground" path="resources/btn_maximize.png" sourceInsets="0 0 0 0"/> 
    434                 </state> 
    435         </style> 
    436         <bind style="InternalFrameMaximizeButtonStyle" type="name" key="InternalFrameTitlePane.maximizeButton" /> 
    437 }}} 
    438  * DesktopPane 
    439  
    440  * FileChooser 
    441  
    442  * List 
    443 {{{ 
    444         <!-- ================================= --> 
    445         <!-- LIST --> 
    446         <!-- ================================= --> 
    447         <style id="ListStyle"> 
    448                 <property key="List.rendererUseListColors" type="boolean" value="false"/> 
    449                 <state value="ENABLED"> 
    450                         <color type="BACKGROUND" value="#FFFFFF"/> 
    451                 </state> 
    452                 <state value="DISABLED"> 
    453                         <color type="BACKGROUND" value="#EEEEEE"/> 
    454                 </state> 
    455                 <state value="SELECTED"> 
    456                         <color type="TEXT_FOREGROUND" value="#FFFFFF"/> 
    457                         <color type="TEXT_BACKGROUND" value="#4481ca"/> 
    458                 </state> 
    459         </style> 
    460         <bind style="ListStyle" type="region" key="List" /> 
    461 }}} 
    462  
    463  * MenuBar - finished (exactly as proposed by shift). 
    464 {{{ 
    465         <!-- ================================= --> 
    466         <!-- MENU BAR--> 
    467         <!-- ================================= --> 
    468         <style id="MenuBarStyle"> 
    469                 <insets top="0" bottom="0" right="0" left="0" /> 
    470                 <state> 
    471                         <imagePainter method="MenuBarBackground" path="resources/menu_bg.png" 
     835                <state value="ENABLED"> 
     836                        <imagePainter method="buttonBackground" 
     837                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     838                </state> 
     839                <state value="DISABLED"> 
     840                        <imagePainter method="buttonBackground" 
     841                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     842                </state> 
     843                <state value="PRESSED"> 
     844                        <imagePainter method="buttonBackground" 
     845                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     846                </state> 
     847                <state value="FOCUSED"> 
     848                        <imagePainter method="buttonBackground" 
     849                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     850                </state> 
     851        </style> 
     852        <bind style="InternalFrameMaximizeButtonStyle" type="name" 
     853                key="InternalFrameTitlePane.maximizeButton" /> 
     854 
     855        <!-- ================================= --> 
     856        <!-- INTERNAL FRAME DESKTOP BUTTON --> 
     857        <!-- 
     858                ================================= <style 
     859                id="InternalFrameDesktopButtonStyle"> <property 
     860                key="Button.textShiftOffset" type="integer" value="0" /> <insets 
     861                top="0" left="0" right="0" bottom="0" /> <state value="ENABLED"> 
     862                <imagePainter method="buttonBackground" 
     863                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 
     864                0" /> </state> <state value="DISABLED"> <imagePainter 
     865                method="buttonBackground" 
     866                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 
     867                0" /> </state> <state value="PRESSED"> <imagePainter 
     868                method="buttonBackground" 
     869                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 
     870                0" /> </state> <state value="FOCUSED"> <imagePainter 
     871                method="buttonBackground" 
     872                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 
     873                0" /> </state> </style> <bind style="InternalFrameDesktopButtonStyle" 
     874                type="name" key="InternalFrame.desktopIcon" /> 
     875        --> 
     876 
     877        <!-- ================================= --> 
     878        <!-- PANEL --> 
     879        <!-- ================================= --> 
     880        <style id="PanelStyle"> 
     881                <!-- 
     882                        LEAVE THIS STYLE EMPTY. IT USES THE DEFAULT BACKGROUND WHICH IS 
     883                        EXACTLY WHAT WE NEED. Defining an image for the background breaks 
     884                        mydoggy look and feel!!! 
     885                --> 
     886                <state> 
     887                        <color value="#dadde1" type="BACKGROUND" /> 
     888                </state> 
     889        </style> 
     890        <bind style="PanelStyle" type="region" key="Panel" /> 
     891 
     892        <!-- ================================= --> 
     893        <!-- MYDOGGY FLAPS AND TABS PANEL --> 
     894        <!-- ================================= --> 
     895        <style id="MydoggyFlapAndTabPanel"> 
     896                <insets top="10" left="10" right="10" bottom="10" /> 
     897                <state> 
     898                        <imageIcon id="tileImage" path="distrib/resources/app_bg.png" /> 
     899                        <property key="tileImage" type="idref" value="tileImage" /> 
     900                        <painter method="panelBackground" idref="TilePainter" /> 
     901                        <imagePainter method="panelBorder" path="distrib/resources/flap_border.png" 
     902                                sourceInsets="25 25 25 25" /> 
     903                </state> 
     904        </style> 
     905        <bind style="MydoggyFlapAndTabPanel" type="name" 
     906                key="main.layout.md-main-window/panel" /> 
     907 
     908        <!-- ================================= --> 
     909        <!-- MYDOGGY TABS PANEL --> 
     910        <!-- ================================= --> 
     911        <style id="MydoggyTabPanel"> 
     912                <insets top="0" left="0" right="0" bottom="0" /> 
     913                <state> 
     914                        <imagePainter method="panelBackground" path="distrib/resources/panel_bg.png" 
    472915                                sourceInsets="0 0 0 0" /> 
    473916                </state> 
    474917        </style> 
    475         <bind style="MenuBarStyle" type="region" key="MenuBar" /> 
    476  
    477 }}} 
    478  
    479  * Menu - finished (exactly as proposed by shift). 
    480 {{{ 
    481         <!-- ================================= --> 
    482         <!-- MENU --> 
    483         <!-- ================================= --> 
    484         <style id="MenuStyle"> 
    485                 <insets top="4" bottom="5" right="8" left="7" /> 
    486                 <state> 
    487                         <imagePainter method="MenuBackground" path="resources/menu_bg.png" 
     918        <bind style="MydoggyTabPanel" type="name" 
     919                key="main.layout.md-compound-element/panel" /> 
     920 
     921        <!-- ================================= --> 
     922        <!-- MYDOGGY PALETTE PANEL --> 
     923        <!-- ================================= --> 
     924        <style id="MydoggyPalettePanel"> 
     925                <insets top="0" left="0" right="0" bottom="0" /> 
     926                <state> 
     927                        <imagePainter method="panelBackground" path="distrib/resources/panel_bg.png" 
     928                                sourceInsets="11 10 11 10" /> 
     929                </state> 
     930        </style> 
     931        <bind style="MydoggyPalettePanel" type="name" 
     932                key="main.layout.md-palette/panel" /> 
     933 
     934        <!-- ================================= --> 
     935        <!-- APP TAB BAR --> 
     936        <!-- ================================= --> 
     937        <style id="appTabBarPanelStyle"> 
     938                <insets top="0" left="0" right="0" bottom="0" /> 
     939                <state> 
     940                        <imageIcon id="tabBarImage" path="distrib/resources/app_bg.png" /> 
     941                        <property key="tileImage" type="idref" value="tabBarImage" /> 
     942                        <painter method="panelBackground" idref="TilePainter" /> 
     943                </state> 
     944        </style> 
     945        <bind style="appTabBarPanelStyle" type="name" key="appTabBarPanel" /> 
     946 
     947        <!-- ================================= --> 
     948        <!-- APP TAB BAR TRAILING PANEL --> 
     949        <!-- ================================= --> 
     950        <style id="appTabBarTrailingPanelStyle"> 
     951                <insets top="0" left="0" right="0" bottom="0" /> 
     952                <state> 
     953                        <imagePainter method="panelBackground" path="distrib/resources/TabBar/tab_bar_panel_bg.png" 
     954                                sourceInsets="0 0 19 0" /> 
     955                </state> 
     956        </style> 
     957        <bind style="appTabBarTrailingPanelStyle" type="name" key="appTabBarTrailingPanel" /> 
     958 
     959        <!-- ================================= --> 
     960        <!-- FRAME TITLE BAR PANEL --> 
     961        <!-- ================================= --> 
     962        <style id="FrameTitleBarPanel"> 
     963                <insets top="0" left="0" right="0" bottom="0" /> 
     964                <state> 
     965                        <imagePainter method="panelBackground" path="distrib/resources/frame_title_bar.png" 
     966                                sourceInsets="11 10 11 10" /> 
     967                </state> 
     968        </style> 
     969        <bind style="FrameTitleBarPanel" type="name" 
     970                key="main.view.halos.frame.move.main-title-bar-halo" /> 
     971 
     972        <!-- ================================= --> 
     973        <!-- BACKGROUND GRADIENT PANEL STYLE   --> 
     974        <!-- ================================= --> 
     975        <style id="BgGradientPanelStyle"> 
     976                <state> 
     977                        <imagePainter method="PanelBackground" path="distrib/resources/gradient_fill.png" 
    488978                                sourceInsets="0 0 0 0" /> 
    489                         <font name="Arial" size="14" style="PLAIN" /> 
    490                 </state> 
    491                 <state value="SELECTED"> 
    492                         <imagePainter method="MenuBackground" path="resources/menu_item_selected.png" 
     979                </state> 
     980        </style> 
     981        <bind style="BgGradientPanelStyle" type="name" key="gradientField" /> 
     982 
     983        <!-- ================================= --> 
     984        <!-- BACKGROUND COLOR PANEL STYLE   --> 
     985        <!-- ================================= --> 
     986        <style id="BgColorPanelStyle"> 
     987                <state> 
     988                        <imagePainter method="PanelBackground" path="distrib/resources/color_fill.png" 
    493989                                sourceInsets="0 0 0 0" /> 
    494                         <color value="WHITE" type="TEXT_BACKGROUND" /> 
    495                         <color value="WHITE" type="TEXT_FOREGROUND" /> 
    496                 </state> 
    497         </style> 
    498         <bind style="MenuStyle" type="region" key="Menu" /> 
    499 }}} 
    500  
    501  * MenuItem - finished (exactly as proposed by shift). 
    502 {{{ 
    503         <!-- ================================= --> 
    504         <!-- MENU ITEM--> 
    505         <!-- ================================= --> 
    506         <style id="MenuItemStyle"> 
    507                 <insets top="3" bottom="3" right="5" left="5" /> 
    508                 <state> 
    509                         <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" 
     990                </state> 
     991        </style> 
     992        <bind style="BgColorPanelStyle" type="name" key="colorField" /> 
     993 
     994        <!-- ================================= --> 
     995        <!-- BACKGROUND IMAGE PANEL STYLE   --> 
     996        <!-- ================================= --> 
     997        <style id="BgImgPanelStyle"> 
     998                <state> 
     999                        <imagePainter method="PanelBackground" path="distrib/resources/bg_image_fill.png" 
    5101000                                sourceInsets="0 0 0 0" /> 
    511                         <font name="Arial" size="14" style="PLAIN" /> 
    512                 </state> 
    513                 <state value="MOUSE_OVER"> 
    514                         <imagePainter method="MenuItemBackground" path="resources/menu_item_selected.png" 
    515                                 sourceInsets="0 0 0 0" /> 
    516                         <color value="WHITE" type="TEXT_FOREGROUND" />                   
    517                 </state> 
    518                 <state value="DISABLED"> 
    519                         <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" 
    520                                 sourceInsets="0 0 0 0" /> 
    521                         <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
    522                 </state> 
    523         </style> 
    524         <bind style="MenuItemStyle" type="region" key="MenuItem" /> 
    525 }}} 
    526  
    527  * MenuItemAccelerator - finished (exactly as proposed by shift). 
    528 {{{ 
    529         <!-- ================================= --> 
    530         <!-- MENU ITEM ACCELERATOR--> 
    531         <!-- ================================= --> 
    532         <style id="MenuItemAcceleratorStyle">                    
    533                 <state> 
    534                         <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
    535                         <font name="Arial" size="12" style="PLAIN" /> 
    536                 </state> 
    537         </style> 
    538         <bind style="MenuItemAcceleratorStyle" type="region" key="MenuItemAccelerator" /> 
    539 }}} 
    540  
    541  * CheckBoxMenuItem 
    542  
    543  * RadioButtonMenuItem 
    544  
    545  * PopupMenu 
    546 {{{ 
    547         <!-- ================================= --> 
    548         <!-- POP UP MENU --> 
    549         <!-- ================================= --> 
    550         <style id="PopupMenuStyle"> 
    551                 <state> 
    552                         <imagePainter method="PopupMenuBackground" path="resources/text_bg.png" 
    553                                 sourceInsets="0 0 0 0" /> 
    554                 </state> 
    555         </style> 
    556         <bind style="PopupMenuStyle" type="region" key="PopupMenu" /> 
    557 }}} 
    558  
    559  * PopupMenuSeparator 
    560  
    561  * OptionPane 
    562  
    563  * RootPane 
    564  
    565  * Panel 
    566 {{{ 
    567         <!-- ================================= --> 
    568         <!-- PANEL --> 
    569         <!-- ================================= --> 
    570         <style id="PanelStyle"> 
    571                 <state> 
    572                         <imagePainter method="PanelBackground" path="resources/panel_bg.png" 
    573                                 sourceInsets="0 0 0 0" /> 
    574                 </state> 
    575         </style> 
    576         <bind style="PanelStyle" type="region" key="Panel" /> 
    577 }}} 
    578  
    579  * ProgressBar 
    580  
    581  * ScrollBar 
    582  
    583  * ScrollBarTrack - ready 
    584 {{{ 
    585  
    586         <!-- ================================= --> 
    587         <!-- SCROLLBAR TRACK --> 
    588         <!-- ================================= --> 
    589         <style id="scrollbarTrackStyle"> 
    590                 <insets top="0" left="0" right="0" bottom="0" /> 
    591                 <state> 
    592                         <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track.png" 
    593                                 direction="horizontal" sourceInsets="0 1 0 1" /> 
    594                         <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track.png" 
    595                                 direction="vertical" sourceInsets="1 0 1 0" /> 
    596                 </state> 
    597  
    598                 <state value="DISABLED"> 
    599                         <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track_disabled.png" 
    600                                 direction="horizontal" sourceInsets="0 1 0 1" /> 
    601                         <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track_disabled.png" 
    602                                 direction="vertical" sourceInsets="1 0 1 0" /> 
    603                 </state> 
    604  
    605         </style> 
    606         <bind style="scrollbarTrackStyle" type="REGION" key="ScrollBarTrack" /> 
    607  
    608 }}} 
    609  
    610  
    611  * ScrollBarThumb - ready (should only change the resources) 
    612  
    613 {{{ 
    614         <!-- ================================= --> 
    615         <!-- SCROLLBAR THUMB --> 
    616         <!-- ================================= --> 
    617         <style id="scrollBarThumbStyle"> 
    618                 <insets top="0" left="0" right="0" bottom="0" /> 
    619                 <state> 
    620                         <imagePainter method="scrollBarThumbBackground" 
    621                                 direction="horizontal" path="resources/sbh_thumb_normal.png" 
    622                                 sourceInsets="0 0 0 0" /> 
    623                         <imagePainter method="scrollBarThumbBackground" 
    624                                 direction="horizontal" path="resources/sbh_thumb_icon.png" center="true" /> 
    625                         <imagePainter method="scrollBarThumbBackground" 
    626                                 direction="vertical" path="resources/sbv_thumb_normal.png" 
    627                                 sourceInsets="0 0 0 0" /> 
    628                         <imagePainter method="scrollBarThumbBackground" 
    629                                 direction="vertical" path="resources/sbv_thumb_icon.png" center="true" /> 
    630                 </state> 
    631  
    632                 <state value="PRESSED"> 
    633                         <imagePainter method="scrollBarThumbBackground" 
    634                                 direction="horizontal" path="resources/sbh_thumb_down.png" 
    635                                 sourceInsets="0 0 0 0" /> 
    636                         <imagePainter method="scrollBarThumbBackground" 
    637                                 direction="horizontal" path="resources/sbh_thumb_icon.png" center="true" /> 
    638                         <imagePainter method="scrollBarThumbBackground" 
    639                                 direction="vertical" path="resources/sbv_thumb_down.png" 
    640                                 sourceInsets="0 0 0 0" /> 
    641                         <imagePainter method="scrollBarThumbBackground" 
    642                                 direction="vertical" path="resources/sbv_thumb_icon.png" center="true" /> 
    643                 </state> 
    644  
    645                 <state value="MOUSE_OVER"> 
    646                         <imagePainter method="scrollBarThumbBackground" 
    647                                 direction="horizontal" path="resources/sbh_thumb_over.png" 
    648                                 sourceInsets="0 0 0 0" /> 
    649                         <imagePainter method="scrollBarThumbBackground" 
    650                                 direction="horizontal" path="resources/sbh_thumb_icon.png" center="true" /> 
    651                         <imagePainter method="scrollBarThumbBackground" 
    652                                 direction="vertical" path="resources/sbv_thumb_over.png" 
    653                                 sourceInsets="0 0 0 0" /> 
    654                         <imagePainter method="scrollBarThumbBackground" 
    655                                 direction="vertical" path="resources/sbv_thumb_icon.png" center="true" /> 
    656                 </state> 
    657  
    658                 <state value="DISABLED"> 
    659                         <imagePainter method="scrollBarThumbBackground" 
    660                                 direction="horizontal" path="resources/sbh_thumb_disabled.png" 
    661                                 sourceInsets="0 0 0 0" /> 
    662                         <imagePainter method="scrollBarThumbBackground" 
    663                                 direction="horizontal" path="resources/sbh_thumb_icon.png" center="true" /> 
    664                         <imagePainter method="scrollBarThumbBackground" 
    665                                 direction="vertical" path="resources/sbv_thumb_disabled.png" 
    666                                 sourceInsets="0 0 0 0" /> 
    667                         <imagePainter method="scrollBarThumbBackground" 
    668                                 direction="vertical" path="resources/sbv_thumb_icon.png" center="true" /> 
    669                 </state> 
    670  
    671         </style> 
    672  
    673         <bind style="scrollBarThumbStyle" type="region" key="ScrollBarThumb" /> 
    674 }}} 
    675  
    676  * ScrollPane 
    677  
    678  * Viewport 
    679  
    680  * Separator 
    681  
    682  * Slider 
    683  
    684  * SliderTrack 
    685 {{{ 
    686         <!-- ================================= --> 
    687         <!-- SLIDER TRACK --> 
    688         <!-- ================================= --> 
    689         <style id="SliderTrackStyle"> 
    690                 <imagePainter method="sliderTrackBackground" path="resources/slider_track.png" 
    691                         sourceInsets="7 7 7 7" destinationInsets="7 7 7 7" paintCenter="true" 
    692                         stretch="true" center="false" /> 
    693                 <state value="DISABLED"> 
    694                         <imagePainter method="sliderTrackBackground" path="resources/slider_track_disabled.png" 
    695                                 sourceInsets="7 7 7 7" destinationInsets="7 7 7 7" paintCenter="true" 
    696                                 stretch="true" center="false" /> 
    697                 </state> 
    698         </style> 
    699         <bind style="SliderTrackStyle" type="region" key="SliderTrack" /> 
    700 }}} 
    701  
    702  * SliderThumb 
    703 {{{ 
    704         <!-- ================================= --> 
    705         <!-- SLIDER THUMB --> 
    706         <!-- ================================= --> 
    707         <style id="SliderThumbStyle"> 
    708  
    709                 <state> 
    710                         <imagePainter method="sliderThumbBackground" direction="horizontal" 
    711                                 path="resources/slider_thumb.png" center="true" /> 
    712                         <imagePainter method="sliderThumbBackground" direction="vertical" 
    713                                 path="resources/slider_thumb.png" center="true" /> 
    714                 </state> 
    715  
    716                 <state value="PRESSED"> 
    717                         <imagePainter method="sliderThumbBackground" direction="horizontal" 
    718                                 path="resources/slider_thumb_pressed.png" center="true" /> 
    719                         <imagePainter method="sliderThumbBackground" direction="vertical" 
    720                                 path="resources/slider_thumb_pressed.png" center="true" /> 
    721                 </state> 
    722  
    723                 <state value="DISABLED"> 
    724                         <imagePainter method="sliderThumbBackground" direction="horizontal" 
    725                                 path="resources/slider_thumb_disabled.png" center="true" /> 
    726                         <imagePainter method="sliderThumbBackground" direction="vertical" 
    727                                 path="resources/slider_thumb_disabled.png" center="true" /> 
    728                 </state> 
    729  
    730         </style> 
    731         <bind style="SliderThumbStyle" type="region" key="SliderThumb" /> 
    732 }}} 
    733  
    734  * SplitPane 
    735  
    736  * SplitPaneDivider 
    737  
    738  * Table 
    739  
    740  * TableHeader 
    741  
    742  * TabbedPane - ready 
    743 {{{ 
     1001                </state> 
     1002        </style> 
     1003        <bind style="BgImgPanelStyle" type="name" key="bgImgField" /> 
    7441004 
    7451005        <!-- ================================= --> 
     
    7491009 
    7501010                <state> 
    751                         <imagePainter method="TabbedPaneBackground" path="resources/panel_bg.png" 
    752                                 sourceInsets="0 0 0 0" /> 
     1011                        <color value="#dadde1" type="BACKGROUND" /> 
    7531012                </state> 
    7541013        </style> 
    7551014        <bind style="TabbedPaneStyle" type="region" key="TabbedPane" /> 
    7561015 
    757 }}} 
    758  
    759  * TabbedPaneContent 
    760  
    761  * TabbedPaneTab - ready 
    762 {{{ 
    7631016        <!-- ================================= --> 
    7641017        <!-- TABBEDPANE TAB --> 
     
    7671020                <font name="Arial" size="13" style="PLAIN" /> 
    7681021                <state value="FOCUSED"> 
    769                         <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_selected.png" 
     1022                        <imagePainter method="tabbedPaneTabBackground" path="distrib/resources/tab_bar_selected.png" 
    7701023                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
    7711024                </state> 
    7721025                <state value="ENABLED"> 
    773                         <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_enabled.png" 
     1026                        <imagePainter method="tabbedPaneTabBackground" path="distrib/resources/tab_bar_enabled.png" 
    7741027                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
    7751028                </state> 
    7761029                <state value="DISABLED"> 
    777                         <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_disabled.png" 
     1030                        <imagePainter method="tabbedPaneTabBackground" path="distrib/resources/tab_bar_disabled.png" 
    7781031                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
    7791032                </state> 
    7801033        </style> 
    7811034        <bind style="TabbedPaneTabStyle" type="region" key="TabbedPaneTab" /> 
    782 }}} 
    783  
    784  * TabbedPaneTabArea 
    785  
    786  * Label 
    787  
    788  * ToolTip 
    789  
    790  * TextField 
    791 {{{ 
     1035 
     1036        <!-- ================================= --> 
     1037        <!-- SLIDER TRACK --> 
     1038        <!-- ================================= --> 
     1039        <style id="SliderTrackStyle"> 
     1040                <imagePainter method="sliderTrackBackground" path="distrib/resources/slider_track.png" 
     1041                        sourceInsets="7 7 7 7" destinationInsets="7 7 7 7" paintCenter="true" 
     1042                        stretch="true" center="false" /> 
     1043                <state value="DISABLED"> 
     1044                        <imagePainter method="sliderTrackBackground" 
     1045                                path="distrib/resources/slider_track_disabled.png" sourceInsets="7 7 7 7" 
     1046                                destinationInsets="7 7 7 7" paintCenter="true" stretch="true" 
     1047                                center="false" /> 
     1048                </state> 
     1049        </style> 
     1050        <bind style="SliderTrackStyle" type="region" key="SliderTrack" /> 
     1051 
     1052        <!-- ================================= --> 
     1053        <!-- SLIDER THUMB --> 
     1054        <!-- ================================= --> 
     1055        <style id="SliderThumbStyle"> 
     1056 
     1057                <state> 
     1058                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     1059                                path="distrib/resources/slider_thumb.png" center="true" /> 
     1060                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     1061                                path="distrib/resources/slider_thumb.png" center="true" /> 
     1062                </state> 
     1063 
     1064                <state value="PRESSED"> 
     1065                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     1066                                path="distrib/resources/slider_thumb_pressed.png" center="true" /> 
     1067                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     1068                                path="distrib/resources/slider_thumb_pressed.png" center="true" /> 
     1069                </state> 
     1070 
     1071                <state value="DISABLED"> 
     1072                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     1073                                path="distrib/resources/slider_thumb_disabled.png" center="true" /> 
     1074                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     1075                                path="distrib/resources/slider_thumb_disabled.png" center="true" /> 
     1076                </state> 
     1077 
     1078        </style> 
     1079        <bind style="SliderThumbStyle" type="region" key="SliderThumb" /> 
     1080 
     1081        <!-- ================================= --> 
     1082        <!-- ROOTPANE --> 
     1083        <!-- ================================= --> 
     1084        <style id="RootPaneStyle"> 
     1085                <state> 
     1086                        <color value="#dadde1" type="BACKGROUND" /> 
     1087                </state> 
     1088        </style> 
     1089        <bind style="RootPaneStyle" type="region" key="RootPane" /> 
     1090 
    7921091        <!-- ================================= --> 
    7931092        <!-- TEXT FIELD --> 
    7941093        <!-- ================================= --> 
    7951094        <style id="TextFieldStyle"> 
    796                 <state> 
    797                         <imagePainter method="TextFieldBackground" path="resources/text_bg.png" 
     1095                <insets top="5" bottom="4" right="1" left="10" /> 
     1096                <state value="ENABLED"> 
     1097                        <imagePainter method="TextFieldBackground" 
     1098                                path="distrib/resources/TextField/background.png" sourceInsets="5 5 5 5" /> 
     1099                        <color value="WHITE" type="TEXT_BACKGROUND" /> 
     1100                        <color value="BLACK" type="TEXT_FOREGROUND" /> 
     1101                </state> 
     1102                <state value="FOCUSED"> 
     1103                        <imagePainter method="TextFieldBackground" 
     1104                                path="distrib/resources/TextField/background_focused.png" sourceInsets="5 5 5 5" /> 
     1105                        <color value="#1899e2" type="TEXT_BACKGROUND" /> 
     1106                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     1107                </state> 
     1108                <state value="DISABLED"> 
     1109                        <imagePainter method="TextFieldBackground" 
     1110                                path="distrib/resources/TextField/background_disabled.png" sourceInsets="5 5 5 5" /> 
     1111                        <color value="WHITE" type="TEXT_BACKGROUND" /> 
     1112                        <color value="GRAY" type="TEXT_FOREGROUND" /> 
     1113                </state> 
     1114        </style> 
     1115        <bind style="TextFieldStyle" type="region" key="TextField" /> 
     1116 
     1117        <!-- ================================= --> 
     1118        <!-- TEXT FIELD COMBO BOX --> 
     1119        <!-- ================================= --> 
     1120        <style id="TextFieldComboBox"> 
     1121                <opaque value="true" /> 
     1122                <insets top="5" left="0" bottom="4" right="1" /> 
     1123                <state value="DEFAULT"> 
     1124                        <font name="Arial" size="11" style="PLAIN" /> 
     1125                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1126                        <imagePainter method="textFieldBackground" 
     1127                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1128                </state> 
     1129                <state value="ENABLED"> 
     1130                        <font name="Arial" size="11" style="PLAIN" /> 
     1131                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1132                        <imagePainter method="textFieldBackground" 
     1133                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1134                </state> 
     1135                <state value="DISABLED"> 
     1136                        <font name="Arial" size="11" style="PLAIN" /> 
     1137                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1138                        <imagePainter method="textFieldBackground" 
     1139                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1140                </state> 
     1141                <state value="SELECTED"> 
     1142                        <font name="Arial" size="11" style="PLAIN" /> 
     1143                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1144                        <imagePainter method="textFieldBackground" 
     1145                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1146                </state> 
     1147                <state value="FOCUSED"> 
     1148                        <font name="Arial" size="11" style="PLAIN" /> 
     1149                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1150                        <imagePainter method="textFieldBackground" 
     1151                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1152                </state> 
     1153                <state value="MOUSE_OVER"> 
     1154                        <font name="Arial" size="11" style="PLAIN" /> 
     1155                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1156                        <imagePainter method="textFieldBackground" 
     1157                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1158                </state> 
     1159                <state value="DEFAULT"> 
     1160                        <font name="Arial" size="11" style="PLAIN" /> 
     1161                        <color value="#272a2e" type="TEXT_FOREGROUND" /> 
     1162                        <imagePainter method="textFieldBackground" 
     1163                                path="distrib/resources/HaloButtons/empty_background.png" sourceInsets="0 0 0 0" /> 
     1164                </state> 
     1165 
     1166        </style> 
     1167        <bind style="TextFieldComboBox" type="name" key="ComboBox.textField" /> 
     1168 
     1169        <!-- ================================= --> 
     1170        <!-- TEXT AREA --> 
     1171        <!-- ================================= --> 
     1172        <style id="TextAreaStyle"> 
     1173                <insets top="3" bottom="3" right="3" left="3" /> 
     1174                <state> 
     1175                        <imagePainter method="TextAreaBackground" path="distrib/resources/TextArea/background.png" 
     1176                                sourceInsets="3 3 3 3" /> 
     1177                </state> 
     1178        </style> 
     1179        <bind style="TextAreaStyle" type="region" key="TextArea" /> 
     1180 
     1181        <!-- ================================= --> 
     1182        <!-- MENU BAR--> 
     1183        <!-- ================================= --> 
     1184        <style id="MenuBarStyle"> 
     1185                <insets top="0" bottom="0" right="0" left="0" /> 
     1186                <state> 
     1187                        <imagePainter method="MenuBarBackground" path="distrib/resources/menu_bg.png" 
    7981188                                sourceInsets="0 0 0 0" /> 
    7991189                </state> 
    8001190        </style> 
    801         <bind style="TextFieldStyle" type="region" key="TextField" /> 
    802 }}} 
    803  
    804  * FormattedTextField 
    805 {{{ 
     1191        <bind style="MenuBarStyle" type="region" key="MenuBar" /> 
     1192 
     1193        <!-- ================================= --> 
     1194        <!-- MENU --> 
     1195        <!-- ================================= --> 
     1196        <style id="MenuStyle"> 
     1197                <insets top="4" bottom="5" right="8" left="7" /> 
     1198                <state> 
     1199                        <imagePainter method="MenuBackground" path="distrib/resources/menu_bg.png" 
     1200                                sourceInsets="0 0 0 0" /> 
     1201                        <font name="Arial" size="14" style="PLAIN" /> 
     1202                </state> 
     1203                <state value="DISABLED"> 
     1204                        <imagePainter method="MenuBackground" path="distrib/resources/menu_bg.png" 
     1205                                sourceInsets="0 0 0 0" /> 
     1206                        <color value="#CCCCCC" type="TEXT_FOREGROUND" /> 
     1207                </state> 
     1208                <state value="SELECTED"> 
     1209                        <imagePainter method="MenuBackground" path="distrib/resources/menu_item_selected.png" 
     1210                                sourceInsets="0 0 0 0" /> 
     1211                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     1212                </state> 
     1213        </style> 
     1214        <bind style="MenuStyle" type="region" key="Menu" /> 
     1215 
     1216        <!-- ================================= --> 
     1217        <!-- MENU ITEM--> 
     1218        <!-- ================================= --> 
     1219        <style id="MenuItemStyle"> 
     1220                <insets top="3" bottom="3" right="5" left="5" /> 
     1221                <state> 
     1222                        <font name="Arial" size="14" style="PLAIN" /> 
     1223                </state> 
     1224                <state value="MOUSE_OVER"> 
     1225                        <imagePainter method="MenuItemBackground" path="distrib/resources/menu_item_selected.png" 
     1226                                sourceInsets="0 0 0 0" /> 
     1227                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     1228                </state> 
     1229                <state value="DISABLED"> 
     1230                        <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
     1231                </state> 
     1232        </style> 
     1233        <bind style="MenuItemStyle" type="region" key="MenuItem" /> 
     1234 
     1235        <!-- ================================= --> 
     1236        <!-- MENU ITEM ACCELERATOR--> 
     1237        <!-- ================================= --> 
     1238        <style id="MenuItemAcceleratorStyle"> 
     1239                <state> 
     1240                        <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
     1241                        <font name="Arial" size="12" style="PLAIN" /> 
     1242                </state> 
     1243        </style> 
     1244        <bind style="MenuItemAcceleratorStyle" type="region" key="MenuItemAccelerator" /> 
     1245 
     1246        <!-- ================================= --> 
     1247        <!-- POP UP MENU --> 
     1248        <!-- ================================= --> 
     1249        <style id="PopupMenuStyle"> 
     1250                <insets top="0" bottom="9" right="5" left="5" /> 
     1251                <state> 
     1252                        <imagePainter method="PopupMenuBackground" path="distrib/resources/popup_menu_bg.png" 
     1253                                sourceInsets="0 9 9 9" /> 
     1254                </state> 
     1255        </style> 
     1256        <bind style="PopupMenuStyle" type="region" key="PopupMenu" /> 
     1257 
    8061258        <!-- ================================= --> 
    8071259        <!-- FORMATTED TEXT FIELD --> 
     
    8101262                <state> 
    8111263                        <imagePainter method="FormattedTextFieldBackground" 
    812                                 path="resources/text_bg.png" sourceInsets="0 0 0 0" /> 
     1264                                path="distrib/resources/text_bg.png" sourceInsets="0 0 0 0" /> 
    8131265                </state> 
    8141266        </style> 
    8151267        <bind style="FormattedTextFieldStyle" type="region" key="FormattedTextField" /> 
    816 }}} 
    817  
    818  * PasswordField 
    819  
    820  * TextArea 
    821  
    822  * TextPane 
    823  
    824  * EditorPane 
    825  
    826  * Spinner 
    827 {{{ 
    828         <!-- ================================= --> 
    829         <!-- SPINNER --> 
    830         <!-- ================================= --> 
    831         <style id="SpinnerStyle"> 
    832                 <state> 
    833                         <imagePainter method="SpinnerBackground" path="resources/text_bg.png" 
    834                                 sourceInsets="0 0 0 0" /> 
    835                 </state> 
    836                 <state value="DISABLED"> 
    837                         <imagePainter method="SpinnerBackground" path="resources/panel_bg.png" 
    838                                 sourceInsets="0 0 0 0" /> 
    839                 </state> 
    840         </style> 
    841         <bind style="SpinnerStyle" type="region" key="Spinner" /> 
    842 }}} 
    843  
    844  * ComboBox.listRenderer 
    845  
    846  * TableHeader.renderer 
    847  
    848  * ToolBar 
    849  
    850  * ToolBarContent 
    851  
    852  * ToolBarSeparator 
    853  
    854  * ToolBarDragWindow 
    855  
    856  * Tree 
    857 {{{ 
     1268 
     1269        <!-- ================================= --> 
     1270        <!-- LIST --> 
     1271        <!-- ================================= --> 
     1272        <style id="ListStyle"> 
     1273                <property key="List.rendererUseListColors" type="boolean" 
     1274                        value="false" /> 
     1275                <state value="ENABLED"> 
     1276                        <color type="BACKGROUND" value="#FFFFFF" /> 
     1277                </state> 
     1278                <state value="DISABLED"> 
     1279                        <color type="BACKGROUND" value="#EEEEEE" /> 
     1280                </state> 
     1281                <state value="SELECTED"> 
     1282                        <color type="TEXT_FOREGROUND" value="#FFFFFF" /> 
     1283                        <color type="TEXT_BACKGROUND" value="#4481ca" /> 
     1284                </state> 
     1285        </style> 
     1286        <bind style="ListStyle" type="region" key="List" /> 
     1287 
    8581288        <!-- ================================= --> 
    8591289        <!-- TREE --> 
     
    8621292                <property key="Tree.leftChildIndent" type="integer" value="5" /> 
    8631293                <property key="Tree.rightChildIndent" type="integer" value="5" /> 
    864                 <imageIcon id="TreeCollapseIcon" path="resources/tree_cell_collapse.png" /> 
     1294                <imageIcon id="TreeCollapseIcon" path="distrib/resources/tree_cell_collapse.png" /> 
    8651295                <property key="Tree.collapsedIcon" type="idref" value="TreeCollapseIcon" /> 
    866                 <imageIcon id="TreeExpandIcon" path="resources/tree_cell_expand.png" /> 
     1296                <imageIcon id="TreeExpandIcon" path="distrib/resources/tree_cell_expand.png" /> 
    8671297                <property key="Tree.expandedIcon" type="idref" value="TreeExpandIcon" /> 
    8681298                <state> 
    869                         <imagePainter method="TreeBackground" path="resources/text_bg.png" 
     1299                        <imagePainter method="TreeBackground" path="distrib/resources/text_bg.png" 
    8701300                                sourceInsets="0 0 0 0" /> 
    8711301                </state> 
     
    8771307                </state> 
    8781308                <state value="SELECTED"> 
    879                         <color type="TEXT_FOREGROUND" value="#FFFFFF"/> 
    880                         <color type="TEXT_BACKGROUND" value="#4481ca"/> 
     1309                        <color type="TEXT_FOREGROUND" value="#FFFFFF" /> 
     1310                        <color type="TEXT_BACKGROUND" value="#4481ca" /> 
    8811311                </state> 
    8821312        </style> 
    8831313        <bind style="TreeStyle" type="region" key="Tree" /> 
     1314 
     1315        <!-- ================================= --> 
     1316        <!-- SPINNER --> 
     1317        <!-- ================================= --> 
     1318        <style id="SpinnerStyle"> 
     1319                <state> 
     1320                        <imagePainter method="SpinnerBackground" path="distrib/resources/text_bg.png" 
     1321                                sourceInsets="0 0 0 0" /> 
     1322                </state> 
     1323                <state value="DISABLED"> 
     1324                        <color value="#dadde1" type="BACKGROUND" /> 
     1325                </state> 
     1326        </style> 
     1327        <bind style="SpinnerStyle" type="region" key="Spinner" /> 
     1328 
     1329        <!-- ================================= --> 
     1330        <!-- TOOL TIP --> 
     1331        <!-- ================================= --> 
     1332        <style id="ToolTipStyle"> 
     1333                <insets top="3" bottom="6" right="6" left="3" /> 
     1334                <state> 
     1335                        <color value="#326CB7" type="TEXT_FOREGROUND" /> 
     1336                        <imagePainter method="ToolTipBackground" path="distrib/resources/ToolTip/background.png" 
     1337                                sourceInsets="4 4 6 6" /> 
     1338                </state> 
     1339        </style> 
     1340        <bind style="ToolTipStyle" type="region" key="ToolTip" /> 
     1341 
     1342</synth> 
     1343 
    8841344}}} 
    885          
    886  * TreeCell 
    8871345 
    8881346 * '''Icons for sophie2 skin''' - [source:branches/private/peko/sophie2-app-tuning/modules/org.sophie2.main.skin.alternative/src/main/resources/distrib/icons/sophie2 sophie2 icons]