*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 22 Feb 2013 13:36:40 +0100
changeset 6015 4f8a9806acb9
parent 6014 0da48fc12d6a
child 6016 6a7c4a94581b
*** empty log message ***
styles/mswindows8.style
--- a/styles/mswindows8.style	Fri Feb 22 13:35:02 2013 +0100
+++ b/styles/mswindows8.style	Fri Feb 22 13:36:40 2013 +0100
@@ -1,10 +1,10 @@
 ; View defaultStyle:#mswindowsVista
 ;
-; $Header: /cvs/stx/stx/libview/styles/mswindows8.style,v 1.1 2013-02-22 10:56:21 cg Exp $
+; $Header: /cvs/stx/stx/libview/styles/mswindows8.style,v 1.2 2013-02-22 12:36:40 cg Exp $
 
 name                            #win8
 
-ToolbarIconLibrary              ?(Smalltalk at:#VistaToolbarIconLibrary) ? (Smalltalk at:#XPToolbarIconLibrary) ? GenericToolbarIconLibrary
+ToolbarIconLibrary              ?(Smalltalk at:#Windows8ToolbarIconLibrary) ? (Smalltalk at:#XPToolbarIconLibrary) ? GenericToolbarIconLibrary
 useQuestForHelp                 true
 
 ;
@@ -76,22 +76,34 @@
 menu.enteredForegroundColor                 =menu.hilightForegroundColor
 menu.iconIndicationOn.bitmapFile            'CheckOn_xp.xpm'
 menu.iconIndicationOff.bitmapFile           'CheckOff_xp.xpm'
-menu.iconRadioOn.bitmap                     (VistaToolbarIconLibrary radioOn12x12Icon)
-menu.iconRadioOff.bitmap                    (VistaToolbarIconLibrary radioOff12x12Icon)
+menu.iconRadioOn.bitmap                     (Windows8ToolbarIconLibrary radioOn12x12Icon)
+menu.iconRadioOff.bitmap                    (Windows8ToolbarIconLibrary radioOff12x12Icon)
 menu.iconDisabledIndicationOn.bitmapFile    'CheckOn_disabled_xp.xpm'
 menu.iconDisabledIndicationOff.bitmapFile   'CheckOff_disabled_xp.xpm'
-menu.iconDisabledRadioOn.bitmap             (VistaToolbarIconLibrary radioOnDisabled12x12Icon)
-menu.iconDisabledRadioOff.bitmap            (VistaToolbarIconLibrary radioOffDisabled12x12Icon)
+menu.iconDisabledRadioOn.bitmap             (Windows8ToolbarIconLibrary radioOnDisabled12x12Icon)
+menu.iconDisabledRadioOff.bitmap            (Windows8ToolbarIconLibrary radioOffDisabled12x12Icon)
+
+button.edgeStyle                       nil
+button.borderWidth                     1
+button.activeLevel                     0
+button.passiveLevel                    0
 
-;button.edgeStyle                       #soft
-;button.activeLevel                     -1
-;button.passiveLevel                    3
-;button.enteredBackgroundColor          [ (Screen current getSystemColor:#'COLOR_BTNFACE') lightened ]
+button.frameColor                       (Color redByte:16rAC greenByte:16rAC blueByte:16rAC)
+button.enteredFrameColor                (Color red:50 green:70 blue:92)
+button.activeFrameColor                 (Color red:34 green:62 blue:90)
+button.enteredBackgroundColor           ((GradientBackground vertical:(Color rgbValue:16rEBF3FB) to:(Color rgbValue:16rDCEBFB)) usedLength:24)
+button.activeBackgroundColor            ((GradientBackground vertical:(Color rgbValue:16rDAEBFB) to:(Color rgbValue:16rC3E0FB)) usedLength:24)
+button.activeForegroundColor            (Color black)
 
-comboView.downForm                      [VistaToolbarIconLibrary scrollDownOffIcon]
-comboView.disabledDownForm              [VistaToolbarIconLibrary scrollDownOffIcon]
-comboView.enteredDownForm               [VistaToolbarIconLibrary scrollDownOffEntered2Icon]
-comboView.activeDownForm                [VistaToolbarIconLibrary scrollDownActiveIcon]
+arrowButton.borderWidth                 0
+checkToggle.borderWidth                 0
+radioButton.borderWidth                 0
+comboView.button.borderWidth            0
+
+comboView.downForm                      [Windows8ToolbarIconLibrary scrollDownOffIcon]
+comboView.disabledDownForm              [Windows8ToolbarIconLibrary scrollDownOffIcon]
+comboView.enteredDownForm               [Windows8ToolbarIconLibrary scrollDownOffEntered2Icon]
+comboView.activeDownForm                [Windows8ToolbarIconLibrary scrollDownActiveIcon]
 ; comboView.downFormFile                  'ComboDn_xp.xpm'.
 ; comboView.disabledDownFormFile          'ComboDn_disabled_xp.xpm'.
 ; comboView.activeDownFormFile            'ComboDn_active_xp.xpm'.
@@ -127,25 +139,25 @@
 miniScroller.size               3     "/ in millimeters
 
 
-arrowButton.upForm                  [VistaToolbarIconLibrary scrollUpOffIcon]
-arrowButton.enteredUpForm           [VistaToolbarIconLibrary scrollUpOffEntered2Icon]
-arrowButton.activeUpForm            [VistaToolbarIconLibrary scrollUpActiveIcon]
-arrowButton.disabledUpForm          [VistaToolbarIconLibrary scrollUpOffIcon]
+arrowButton.upForm                  [Windows8ToolbarIconLibrary scrollUpOffIcon]
+arrowButton.enteredUpForm           [Windows8ToolbarIconLibrary scrollUpOffEntered2Icon]
+arrowButton.activeUpForm            [Windows8ToolbarIconLibrary scrollUpActiveIcon]
+arrowButton.disabledUpForm          [Windows8ToolbarIconLibrary scrollUpOffIcon]
 
-arrowButton.downForm                [VistaToolbarIconLibrary scrollDownOffIcon]
-arrowButton.enteredDownForm         [VistaToolbarIconLibrary scrollDownOffEntered2Icon]
-arrowButton.activeDownForm          [VistaToolbarIconLibrary scrollDownActiveIcon]
-arrowButton.disabledDownForm        [VistaToolbarIconLibrary scrollDownOffIcon]
+arrowButton.downForm                [Windows8ToolbarIconLibrary scrollDownOffIcon]
+arrowButton.enteredDownForm         [Windows8ToolbarIconLibrary scrollDownOffEntered2Icon]
+arrowButton.activeDownForm          [Windows8ToolbarIconLibrary scrollDownActiveIcon]
+arrowButton.disabledDownForm        [Windows8ToolbarIconLibrary scrollDownOffIcon]
 
-arrowButton.leftForm                [VistaToolbarIconLibrary scrollLeftOffIcon]
-arrowButton.enteredLeftForm         [VistaToolbarIconLibrary scrollLeftOffEntered2Icon]
-arrowButton.activeLeftForm          [VistaToolbarIconLibrary scrollLeftActiveIcon]
-arrowButton.disabledLeftForm        [VistaToolbarIconLibrary scrollLeftOffIcon]
+arrowButton.leftForm                [Windows8ToolbarIconLibrary scrollLeftOffIcon]
+arrowButton.enteredLeftForm         [Windows8ToolbarIconLibrary scrollLeftOffEntered2Icon]
+arrowButton.activeLeftForm          [Windows8ToolbarIconLibrary scrollLeftActiveIcon]
+arrowButton.disabledLeftForm        [Windows8ToolbarIconLibrary scrollLeftOffIcon]
 
-arrowButton.rightForm               [VistaToolbarIconLibrary scrollRightOffIcon]
-arrowButton.enteredRightForm        [VistaToolbarIconLibrary scrollRightOffEntered2Icon]
-arrowButton.activeRightForm         [VistaToolbarIconLibrary scrollRightActiveIcon]
-arrowButton.disabledRightForm       [VistaToolbarIconLibrary scrollRightOffIcon]
+arrowButton.rightForm               [Windows8ToolbarIconLibrary scrollRightOffIcon]
+arrowButton.enteredRightForm        [Windows8ToolbarIconLibrary scrollRightOffEntered2Icon]
+arrowButton.activeRightForm         [Windows8ToolbarIconLibrary scrollRightActiveIcon]
+arrowButton.disabledRightForm       [Windows8ToolbarIconLibrary scrollRightOffIcon]
 
 
 arrowButton.leftFormFile          'ScrollLt.xp.xpm'
@@ -171,41 +183,41 @@
 noteBook.passiveBackgroundColor   =lightenedViewGrey
 
 checkToggle.bitmapFile            'CheckOn10_xp.xpm'
-radioButton.passiveImage          [VistaToolbarIconLibrary radioOff12x12Icon]
-radioButton.activeImage           [VistaToolbarIconLibrary radioOn12x12Icon]
-radioButton.enteredPassiveImage   [VistaToolbarIconLibrary radioOffEntered12x12Icon]
-radioButton.enteredActiveImage    [VistaToolbarIconLibrary radioOnEntered12x12Icon]
-radioButton.disabledPassiveImage  [VistaToolbarIconLibrary radioOffDisabled12x12Icon]
-radioButton.disabledActiveImage   [VistaToolbarIconLibrary radioOnDisabled12x12Icon]
-checkToggle.disabledActiveImage   [VistaToolbarIconLibrary checkToggleOnDisabledIcon]
-checkToggle.disabledPassiveImage  [VistaToolbarIconLibrary checkToggleOffDisabledIcon]
-checkToggle.activeImage           [VistaToolbarIconLibrary checkToggleOnIcon]
-checkToggle.passiveImage          [VistaToolbarIconLibrary checkToggleOffIcon]
-checkToggle.enteredPassiveImage   [VistaToolbarIconLibrary checkToggleOffEnteredIcon]
-checkToggle.enteredActiveImage    [VistaToolbarIconLibrary checkToggleOnEnteredIcon]
+radioButton.passiveImage          [Windows8ToolbarIconLibrary radioOff12x12Icon]
+radioButton.activeImage           [Windows8ToolbarIconLibrary radioOn12x12Icon]
+radioButton.enteredPassiveImage   [Windows8ToolbarIconLibrary radioOffEntered12x12Icon]
+radioButton.enteredActiveImage    [Windows8ToolbarIconLibrary radioOnEntered12x12Icon]
+radioButton.disabledPassiveImage  [Windows8ToolbarIconLibrary radioOffDisabled12x12Icon]
+radioButton.disabledActiveImage   [Windows8ToolbarIconLibrary radioOnDisabled12x12Icon]
+checkToggle.disabledActiveImage   [Windows8ToolbarIconLibrary checkToggleOnDisabledIcon]
+checkToggle.disabledPassiveImage  [Windows8ToolbarIconLibrary checkToggleOffDisabledIcon]
+checkToggle.activeImage           [Windows8ToolbarIconLibrary checkToggleOnIcon]
+checkToggle.passiveImage          [Windows8ToolbarIconLibrary checkToggleOffIcon]
+checkToggle.enteredPassiveImage   [Windows8ToolbarIconLibrary checkToggleOffEnteredIcon]
+checkToggle.enteredActiveImage    [Windows8ToolbarIconLibrary checkToggleOnEnteredIcon]
 checkToggle.activeLevel           0
 checkToggle.passiveLevel          0
 checkToggle.disabledBackgroundColor     =viewGrey
 checkToggle.backgroundColor             =viewGrey
 checkToggle.activeBackgroundColor       =viewGrey
 
-menu.iconIndicationOn             [VistaToolbarIconLibrary checkToggleOnIcon]
-menu.iconIndicationOff            [VistaToolbarIconLibrary checkToggleOffIcon]
-menu.iconDisabledIndicationOn     [VistaToolbarIconLibrary checkToggleOffDisabledIcon]
-menu.iconDisabledIndicationOff    [VistaToolbarIconLibrary checkToggleOffIcon]
+menu.iconIndicationOn             [Windows8ToolbarIconLibrary checkToggleOnIcon]
+menu.iconIndicationOff            [Windows8ToolbarIconLibrary checkToggleOffIcon]
+menu.iconDisabledIndicationOn     [Windows8ToolbarIconLibrary checkToggleOffDisabledIcon]
+menu.iconDisabledIndicationOff    [Windows8ToolbarIconLibrary checkToggleOffIcon]
 
 noteBook.activeTabMarkerColor       (Color red:100 green:78 blue:23)
 
 popup.borderColor                   (Color grey:50)
 popup.borderWidth                   1
+
 editField.level                     0
 editField.borderWidth               1
 editField.borderColor               (Color redByte:175 greenByte:190 blueByte:240)
 
-; does not work
-; comboView.level                   0
-; comboView.borderWidth             1
-; comboView.borderColor             (Color redByte:175 greenByte:190 blueByte:240)
+comboView.level                   0
+comboView.borderWidth             1
+comboView.borderColor             (Color redByte:175 greenByte:190 blueByte:240)
 
 ; label.foregroundColor             (Color redByte:0 greenByte:70 blueByte:213)
 ; button.foregroundColor            (Color black)