Changes between Version 12 and Version 13 of AUTHOR_APP_TUNING


Ignore:
Timestamp:
07/30/09 12:30:00 (16 years ago)
Author:
peko
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AUTHOR_APP_TUNING

    v12 v13  
    8686        <bind style="default" type="region" key=".*" /> 
    8787}}} 
    88  * ArrowButton - ready! 
     88 * ArrowButton - finished! 
    8989 
    9090{{{ 
     
    333333 
    334334 * InternalFrame 
    335  
    336  * InternalFrameTitlePane 
    337  
    338  * InternalFrameTitlePane.closeButton 
    339  
    340  * InternalFrameTitlePane.iconifyButton 
    341  
    342  * InternalFrameTitlePane.maximizeButton 
    343  
     335{{{ 
     336        <!-- ================================= --> 
     337        <!-- INTERNAL FRAME--> 
     338        <!-- ================================= --> 
     339        <style id="InternalFrameStyle"> 
     340                <imageIcon id="InternalFrameIcon" path="resources/btn_window_settings.png" 
     341                        sourceInsets="0 0 0 0" /> 
     342                <property key="InternalFrame.icon" type="idref" value="InternalFrameIcon" /> 
     343                <state> 
     344                        <imagePainter method="InternalFrameBackground" path="resources/app_bg.png" 
     345                                sourceInsets="0 0 0 0" /> 
     346                </state> 
     347 
     348        </style> 
     349        <bind style="InternalFrameStyle" type="region" key="InternalFrame" /> 
     350}}} 
     351 
     352 * InternalFrameTitlePane - ready (interface not as proposed by shift, may need serious customization to make it look as they've proposed.) 
     353{{{ 
     354 
     355        <!-- ================================= --> 
     356        <!-- INTERNAL FRAME TITLE PANE --> 
     357        <!-- ================================= --> 
     358        <style id="InternalFrameTitlePaneStyle"> 
     359                <insets top="0" left="0" bottom="0" right="0" /> 
     360                <property key="InternalFrameTitlePane.titleSpacing" type="integer" 
     361                        value="20" /> 
     362                <property key="InternalFrameTitlePane.buttonSpacing" type="integer" 
     363                        value="0" /> 
     364                <imageIcon id="InternalFrameMaximizeButtonIcon" path="resources/btn_maximize.png" /> 
     365                <property key="InternalFrameTitlePane.maximizeIcon" type="idref" 
     366                        value="InternalFrameMaximizeButtonIcon" /> 
     367 
     368                <imageIcon id="InternalFrameCloseButtonIcon" path="resources/close.png" /> 
     369                <property key="InternalFrameTitlePane.closeIcon" type="idref" 
     370                        value="InternalFrameCloseButtonIcon" /> 
     371                         
     372                <imageIcon id="InternalFrameMinimizeButtonIcon" path="resources/btn_minimize.png" /> 
     373                <property key="InternalFrameTitlePane.minimizeIcon" type="idref" 
     374                        value="InternalFrameMinimizeButtonIcon" /> 
     375                         
     376                <state> 
     377                        <imagePainter method="InternalFrameTitlePaneBackground" 
     378                                path="resources/title_bar_bg.png" sourceInsets="0 0 0 0" /> 
     379                        <font name="Arial" size="11" style="BOLD" /> 
     380                        <color value="#585f68" type="TEXT_FOREGROUND" /> 
     381                </state> 
     382        </style> 
     383        <bind style="InternalFrameTitlePaneStyle" type="region" 
     384                key="InternalFrameTitlePane" /> 
     385 
     386}}} 
     387 
     388 
     389 * InternalFrameTitlePane.closeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
     390{{{ 
     391 
     392        <!-- ================================= --> 
     393        <!-- INTERNAL FRAME CLOSE BUTTON --> 
     394        <!-- ================================= --> 
     395        <style id="InternalFrameCloseButtonStyle"> 
     396                <opaque value="true"/> 
     397                <insets top="0" left="0" right="0" bottom="0" /> 
     398                <insets top="0" left="0" right="0" bottom="0" /> 
     399                <property key="Button.textShiftOffset" type="integer" value="0" /> 
     400                <state> 
     401                        <imagePainter method="buttonBackground" path="resources/close.png" sourceInsets="0 0 0 0"/> 
     402                </state> 
     403        </style> 
     404        <bind style="InternalFrameCloseButtonStyle" type="name" key="InternalFrameTitlePane.closeButton" /> 
     405 
     406}}} 
     407 
     408 * InternalFrameTitlePane.iconifyButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
     409 
     410{{{ 
     411        <!-- ================================= --> 
     412        <!-- INTERNAL FRAME MINIMIZE BUTTON --> 
     413        <!-- ================================= --> 
     414        <style id="InternalFrameMinimizeButtonStyle"> 
     415                <opaque value="true"/> 
     416                <insets top="0" left="0" right="0" bottom="0" /> 
     417                <property key="Button.textShiftOffset" type="integer" value="0" /> 
     418                <state> 
     419                        <imagePainter method="buttonBackground" path="resources/btn_minimize.png" sourceInsets="0 0 0 0"/> 
     420                </state> 
     421        </style> 
     422        <bind style="InternalFrameMinimizeButtonStyle" type="name" key="InternalFrameTitlePane.iconifyButton" /> 
     423}}} 
     424 
     425 * InternalFrameTitlePane.maximizeButton - ready (this is part of InternalFrameTitlePane, see previous for more info). 
     426{{{ 
     427        <!-- ================================= --> 
     428        <!-- INTERNAL FRAME MAXIMIZE BUTTON --> 
     429        <!-- ================================= --> 
     430        <style id="InternalFrameMaximizeButtonStyle"> 
     431                <opaque value="true"/> 
     432                <insets top="0" left="0" right="0" bottom="0" /> 
     433                <property key="Button.textShiftOffset" type="integer" value="0" /> 
     434                <state> 
     435                        <imagePainter method="buttonBackground" path="resources/btn_maximize.png" sourceInsets="0 0 0 0"/> 
     436                </state> 
     437        </style> 
     438        <bind style="InternalFrameMaximizeButtonStyle" type="name" key="InternalFrameTitlePane.maximizeButton" /> 
     439}}} 
    344440 * DesktopPane 
    345441 
     
    347443 
    348444 * List 
    349  
    350  * MenuBar 
    351  
    352  * Menu 
    353  
    354  * MenuItem 
    355  
    356  * MenuItemAccelerator 
     445{{{ 
     446        <!-- ================================= --> 
     447        <!-- LIST --> 
     448        <!-- ================================= --> 
     449        <style id="ListStyle"> 
     450                <property key="List.rendererUseListColors" type="boolean" value="false"/> 
     451                <state value="ENABLED"> 
     452                        <color type="BACKGROUND" value="#FFFFFF"/> 
     453                </state> 
     454                <state value="DISABLED"> 
     455                        <color type="BACKGROUND" value="#EEEEEE"/> 
     456                </state> 
     457                <state value="SELECTED"> 
     458                        <color type="TEXT_FOREGROUND" value="#FFFFFF"/> 
     459                        <color type="TEXT_BACKGROUND" value="#4481ca"/> 
     460                </state> 
     461        </style> 
     462        <bind style="ListStyle" type="region" key="List" /> 
     463}}} 
     464 
     465 * MenuBar - finished (exactly as proposed by shift). 
     466{{{ 
     467        <!-- ================================= --> 
     468        <!-- MENU BAR--> 
     469        <!-- ================================= --> 
     470        <style id="MenuBarStyle"> 
     471                <insets top="0" bottom="0" right="0" left="0" /> 
     472                <state> 
     473                        <imagePainter method="MenuBarBackground" path="resources/menu_bg.png" 
     474                                sourceInsets="0 0 0 0" /> 
     475                </state> 
     476        </style> 
     477        <bind style="MenuBarStyle" type="region" key="MenuBar" /> 
     478 
     479}}} 
     480 
     481 * Menu - finished (exactly as proposed by shift). 
     482{{{ 
     483        <!-- ================================= --> 
     484        <!-- MENU --> 
     485        <!-- ================================= --> 
     486        <style id="MenuStyle"> 
     487                <insets top="4" bottom="5" right="8" left="7" /> 
     488                <state> 
     489                        <imagePainter method="MenuBackground" path="resources/menu_bg.png" 
     490                                sourceInsets="0 0 0 0" /> 
     491                        <font name="Arial" size="14" style="PLAIN" /> 
     492                </state> 
     493                <state value="SELECTED"> 
     494                        <imagePainter method="MenuBackground" path="resources/menu_item_selected.png" 
     495                                sourceInsets="0 0 0 0" /> 
     496                        <color value="WHITE" type="TEXT_BACKGROUND" /> 
     497                        <color value="WHITE" type="TEXT_FOREGROUND" /> 
     498                </state> 
     499        </style> 
     500        <bind style="MenuStyle" type="region" key="Menu" /> 
     501}}} 
     502 
     503 * MenuItem - finished (exactly as proposed by shift). 
     504{{{ 
     505        <!-- ================================= --> 
     506        <!-- MENU ITEM--> 
     507        <!-- ================================= --> 
     508        <style id="MenuItemStyle"> 
     509                <insets top="3" bottom="3" right="5" left="5" /> 
     510                <state> 
     511                        <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" 
     512                                sourceInsets="0 0 0 0" /> 
     513                        <font name="Arial" size="14" style="PLAIN" /> 
     514                </state> 
     515                <state value="MOUSE_OVER"> 
     516                        <imagePainter method="MenuItemBackground" path="resources/menu_item_selected.png" 
     517                                sourceInsets="0 0 0 0" /> 
     518                        <color value="WHITE" type="TEXT_FOREGROUND" />                   
     519                </state> 
     520                <state value="DISABLED"> 
     521                        <imagePainter method="MenuItemBackground" path="resources/menu_item_bg.png" 
     522                                sourceInsets="0 0 0 0" /> 
     523                        <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
     524                </state> 
     525        </style> 
     526        <bind style="MenuItemStyle" type="region" key="MenuItem" /> 
     527}}} 
     528 
     529 * MenuItemAccelerator - finished (exactly as proposed by shift). 
     530{{{ 
     531        <!-- ================================= --> 
     532        <!-- MENU ITEM ACCELERATOR--> 
     533        <!-- ================================= --> 
     534        <style id="MenuItemAcceleratorStyle">                    
     535                <state> 
     536                        <color value="#acb2b9" type="TEXT_FOREGROUND" /> 
     537                        <font name="Arial" size="12" style="PLAIN" /> 
     538                </state> 
     539        </style> 
     540        <bind style="MenuItemAcceleratorStyle" type="region" key="MenuItemAccelerator" /> 
     541}}} 
    357542 
    358543 * CheckBoxMenuItem 
     
    361546 
    362547 * PopupMenu 
     548{{{ 
     549        <!-- ================================= --> 
     550        <!-- POP UP MENU --> 
     551        <!-- ================================= --> 
     552        <style id="PopupMenuStyle"> 
     553                <state> 
     554                        <imagePainter method="PopupMenuBackground" path="resources/text_bg.png" 
     555                                sourceInsets="0 0 0 0" /> 
     556                </state> 
     557        </style> 
     558        <bind style="PopupMenuStyle" type="region" key="PopupMenu" /> 
     559}}} 
    363560 
    364561 * PopupMenuSeparator 
     
    369566 
    370567 * Panel 
     568{{{ 
     569        <!-- ================================= --> 
     570        <!-- PANEL --> 
     571        <!-- ================================= --> 
     572        <style id="PanelStyle"> 
     573                <state> 
     574                        <imagePainter method="PanelBackground" path="resources/panel_bg.png" 
     575                                sourceInsets="0 0 0 0" /> 
     576                </state> 
     577        </style> 
     578        <bind style="PanelStyle" type="region" key="Panel" /> 
     579}}} 
    371580 
    372581 * ProgressBar 
     
    374583 * ScrollBar 
    375584 
    376  * ScrollBarTrack 
     585 * ScrollBarTrack - ready 
     586{{{ 
     587 
     588        <!-- ================================= --> 
     589        <!-- SCROLLBAR TRACK --> 
     590        <!-- ================================= --> 
     591        <style id="scrollbarTrackStyle"> 
     592                <insets top="0" left="0" right="0" bottom="0" /> 
     593                <state> 
     594                        <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track.png" 
     595                                direction="horizontal" sourceInsets="0 1 0 1" /> 
     596                        <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track.png" 
     597                                direction="vertical" sourceInsets="1 0 1 0" /> 
     598                </state> 
     599 
     600                <state value="DISABLED"> 
     601                        <imagePainter method="scrollBarTrackBackground" path="resources/sbh_track_disabled.png" 
     602                                direction="horizontal" sourceInsets="0 1 0 1" /> 
     603                        <imagePainter method="scrollBarTrackBackground" path="resources/sbv_track_disabled.png" 
     604                                direction="vertical" sourceInsets="1 0 1 0" /> 
     605                </state> 
     606 
     607        </style> 
     608        <bind style="scrollbarTrackStyle" type="REGION" key="ScrollBarTrack" /> 
     609 
     610}}} 
     611 
    377612 
    378613 * ScrollBarThumb - ready (should only change the resources) 
     
    450685 
    451686 * SliderTrack 
     687{{{ 
     688        <!-- ================================= --> 
     689        <!-- SLIDER TRACK --> 
     690        <!-- ================================= --> 
     691        <style id="SliderTrackStyle"> 
     692                <imagePainter method="sliderTrackBackground" path="resources/slider_track.png" 
     693                        sourceInsets="7 7 7 7" destinationInsets="7 7 7 7" paintCenter="true" 
     694                        stretch="true" center="false" /> 
     695                <state value="DISABLED"> 
     696                        <imagePainter method="sliderTrackBackground" path="resources/slider_track_disabled.png" 
     697                                sourceInsets="7 7 7 7" destinationInsets="7 7 7 7" paintCenter="true" 
     698                                stretch="true" center="false" /> 
     699                </state> 
     700        </style> 
     701        <bind style="SliderTrackStyle" type="region" key="SliderTrack" /> 
     702}}} 
    452703 
    453704 * SliderThumb 
     705{{{ 
     706        <!-- ================================= --> 
     707        <!-- SLIDER THUMB --> 
     708        <!-- ================================= --> 
     709        <style id="SliderThumbStyle"> 
     710 
     711                <state> 
     712                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     713                                path="resources/slider_thumb.png" center="true" /> 
     714                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     715                                path="resources/slider_thumb.png" center="true" /> 
     716                </state> 
     717 
     718                <state value="PRESSED"> 
     719                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     720                                path="resources/slider_thumb_pressed.png" center="true" /> 
     721                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     722                                path="resources/slider_thumb_pressed.png" center="true" /> 
     723                </state> 
     724 
     725                <state value="DISABLED"> 
     726                        <imagePainter method="sliderThumbBackground" direction="horizontal" 
     727                                path="resources/slider_thumb_disabled.png" center="true" /> 
     728                        <imagePainter method="sliderThumbBackground" direction="vertical" 
     729                                path="resources/slider_thumb_disabled.png" center="true" /> 
     730                </state> 
     731 
     732        </style> 
     733        <bind style="SliderThumbStyle" type="region" key="SliderThumb" /> 
     734}}} 
    454735 
    455736 * SplitPane 
     
    461742 * TableHeader 
    462743 
    463  * TabbedPane 
     744 * TabbedPane - ready 
     745{{{ 
     746 
     747        <!-- ================================= --> 
     748        <!-- TABBEDPANE --> 
     749        <!-- ================================= --> 
     750        <style id="TabbedPaneStyle"> 
     751 
     752                <state> 
     753                        <imagePainter method="TabbedPaneBackground" path="resources/panel_bg.png" 
     754                                sourceInsets="0 0 0 0" /> 
     755                </state> 
     756        </style> 
     757        <bind style="TabbedPaneStyle" type="region" key="TabbedPane" /> 
     758 
     759}}} 
    464760 
    465761 * TabbedPaneContent 
    466762 
    467  * TabbedPaneTab 
     763 * TabbedPaneTab - ready 
     764{{{ 
     765        <!-- ================================= --> 
     766        <!-- TABBEDPANE TAB --> 
     767        <!-- ================================= --> 
     768        <style id="TabbedPaneTabStyle"> 
     769                <font name="Arial" size="13" style="PLAIN" /> 
     770                <state value="FOCUSED"> 
     771                        <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_selected.png" 
     772                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
     773                </state> 
     774                <state value="ENABLED"> 
     775                        <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_enabled.png" 
     776                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
     777                </state> 
     778                <state value="DISABLED"> 
     779                        <imagePainter method="tabbedPaneTabBackground" path="resources/tab_bar_disabled.png" 
     780                                sourceInsets="0 5 0 5" paintCenter="true" stretch="true" center="false" /> 
     781                </state> 
     782        </style> 
     783        <bind style="TabbedPaneTabStyle" type="region" key="TabbedPaneTab" /> 
     784}}} 
    468785 
    469786 * TabbedPaneTabArea 
     
    474791 
    475792 * TextField 
     793{{{ 
     794        <!-- ================================= --> 
     795        <!-- TEXT FIELD --> 
     796        <!-- ================================= --> 
     797        <style id="TextFieldStyle"> 
     798                <state> 
     799                        <imagePainter method="TextFieldBackground" path="resources/text_bg.png" 
     800                                sourceInsets="0 0 0 0" /> 
     801                </state> 
     802        </style> 
     803        <bind style="TextFieldStyle" type="region" key="TextField" /> 
     804}}} 
    476805 
    477806 * FormattedTextField 
     807{{{ 
     808        <!-- ================================= --> 
     809        <!-- FORMATTED TEXT FIELD --> 
     810        <!-- ================================= --> 
     811        <style id="FormattedTextFieldStyle"> 
     812                <state> 
     813                        <imagePainter method="FormattedTextFieldBackground" 
     814                                path="resources/text_bg.png" sourceInsets="0 0 0 0" /> 
     815                </state> 
     816        </style> 
     817        <bind style="FormattedTextFieldStyle" type="region" key="FormattedTextField" /> 
     818}}} 
    478819 
    479820 * PasswordField 
     
    500841 
    501842 * Tree 
     843{{{ 
     844        <!-- ================================= --> 
     845        <!-- TREE --> 
     846        <!-- ================================= --> 
     847        <style id="TreeStyle"> 
     848                <property key="Tree.leftChildIndent" type="integer" value="5" /> 
     849                <property key="Tree.rightChildIndent" type="integer" value="5" /> 
     850                <imageIcon id="TreeCollapseIcon" path="resources/tree_cell_collapse.png" /> 
     851                <property key="Tree.collapsedIcon" type="idref" value="TreeCollapseIcon" /> 
     852                <imageIcon id="TreeExpandIcon" path="resources/tree_cell_expand.png" /> 
     853                <property key="Tree.expandedIcon" type="idref" value="TreeExpandIcon" /> 
     854                <state> 
     855                        <imagePainter method="TreeBackground" path="resources/text_bg.png" 
     856                                sourceInsets="0 0 0 0" /> 
     857                </state> 
     858                <state value="ENABLED"> 
     859                        <color type="BACKGROUND" value="#FFFFFF" /> 
     860                </state> 
     861                <state value="DISABLED"> 
     862                        <color type="BACKGROUND" value="#EEEEEE" /> 
     863                </state> 
     864                <state value="SELECTED"> 
     865                        <color type="TEXT_FOREGROUND" value="#FFFFFF"/> 
     866                        <color type="TEXT_BACKGROUND" value="#4481ca"/> 
     867                </state> 
     868        </style> 
     869        <bind style="TreeStyle" type="region" key="Tree" /> 
     870}}} 
    502871         
    503872 * TreeCell