styles/macosx.style
author Claus Gittinger <cg@exept.de>
Tue, 02 Dec 2014 17:32:22 +0100
changeset 6641 63b17c1ff9df
parent 6621 a1b4cfc5fd1d
child 6814 1f33fb10af3e
permissions -rw-r--r--
*** empty log message ***

; View defaultStyle:#mswindowsVista
;
; $Header: /cvs/stx/stx/libview/styles/macosx.style,v 1.8 2014-12-02 16:32:22 cg Exp $

#include 'Adwaita.style'

name                            #macosx

ToolbarIconLibrary              [ (Smalltalk at:#MacOSXToolbarIconLibrary) ? (Smalltalk at:#XPToolbarIconLibrary) ? GenericToolbarIconLibrary ]

;
; unfinished
;

viewGrey                        (Color rgbValue:16rEDEDED)
viewLightGrey                   Color white
lightColor                      Color white
halfShadowColor                 (Color grey:80)
halfLightColor                  =viewGrey
shadowColor                     (Color grey:60)

selectionBlue                   (Color red:22 green:46 blue:84)
selectionGrey                   (Color grey:84)

comment                 'OSX lookalike (unfinished)'
previewFileName         'viewStyleSample_macosx.png'

#if (Language == #german) or:[Language == #de]
comment  'an MacOSX angelehnter Stil (unvollständig)'
#endif

#if (Language == #french) or:[Language == #fr]
comment  'Un style qui résemble MacOSX (incomplet)'
#endif

selection.hilightFrameColor             nil
selection.hilightBackgroundColorNoFocus =selectionGrey
selection.hilightForegroundColorNoFocus (Color black)
selection.hilightBackgroundColor        =selectionBlue
selection.hilightForegroundColor        (Color white)
selection.hilightStyle                  #macosx

slider.NTallyMarks               nil
scroller.NTallyMarks             nil
scroller.tallyLevel              nil
scroller.tallyInset              nil
scroller.tallyDistance           nil


menu.enteredLevel               0

;; enable this, when old menuView cares for it also
;; menu.itemMargin                          1
menu.backgroundColor                        (Color white)
menu.hilightBackgroundColor                 =selectionBlue
menu.hilightForegroundColor                 (Color white)
menu.selectionFollowsMouse                  true
menu.enteredBackgroundColor                 =menu.hilightBackgroundColor
menu.enteredForegroundColor                 =menu.hilightForegroundColor
menu.iconIndicationOn.bitmap                (MacOSXToolbarIconLibrary checkToggleOnIcon)
menu.iconIndicationOff.bitmap               (MacOSXToolbarIconLibrary checkToggleOffIcon)
menu.iconDisabledIndicationOn.bitmapFile    (MacOSXToolbarIconLibrary checkToggleOnDisabledIcon)
menu.iconDisabledIndicationOff.bitmapFile   (MacOSXToolbarIconLibrary checkToggleOffDisabledIcon)
menu.iconRadioOn.bitmap                     (MacOSXToolbarIconLibrary radioOnIcon)
menu.iconRadioOff.bitmap                    (MacOSXToolbarIconLibrary radioOffIcon)
menu.iconDisabledRadioOn.bitmap             (MacOSXToolbarIconLibrary radioOnDisabledIcon)
menu.iconDisabledRadioOff.bitmap            (MacOSXToolbarIconLibrary radioOffDisabledIcon)


button.edgeStyle                       nil
button.borderWidth                     1
button.activeLevel                     0
button.passiveLevel                    0

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)

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'.
; comboView.enteredDownFormFile           'ComboDn_entered_xp.xpm'.
comboView.button.activeLevel            0
comboView.button.passiveLevel           0
comboView.button.activeBackgroundColor  =viewGrey
; comboView.button.activeBackgroundColor  (Color white)
; comboView.button.backgroundColor        (Color white)
; comboView.level                         0

; selection.highlightEnterItem       true         "/ underline-highlight item under cursor

scrollBar.position              #right
scrollBar.buttonPositions       #bottom

;scroller.viewBackground          (Color redByte:16rF0 greenByte:16rF0 blueByte:16rF0)
;scroller.thumbColor              (Color redByte:16rCD greenByte:16rCD blueByte:16rCD)
;scroller.thumbLightColor         =scroller.thumbColor
;scroller.thumbShadowColor        =scroller.thumbColor
;scroller.thumbEnteredColor       (Color redByte:16rA6 greenByte:16rA6 blueByte:16rA6)
;scroller.thumbActiveColor        (Color redByte:16r60 greenByte:16r60 blueByte:16r60)
;scroller.thumbLevel              0
;scroller.thumbInset              1
;scroller.thumbFrameColor         nil
;scroller.thumbEdgeStyle          nil
;scroller.NTallyMarks             nil
;scroller.tallyLevel              nil
;scroller.tallyInset              nil
;scroller.tallyDistance           nil
;scroller.snapBackDistance        100
;scroller.minThumbSize            16

;scroller.vista3DStyle           false
;
;miniScroller.size               3     "/ in millimeters
;
;
;arrowButton.upForm                  [Windows8ToolbarIconLibrary scrollUpOffIcon]
;arrowButton.enteredUpForm           [Windows8ToolbarIconLibrary scrollUpOffEntered2Icon]
;arrowButton.activeUpForm            [Windows8ToolbarIconLibrary scrollUpActiveIcon]
;arrowButton.disabledUpForm          [Windows8ToolbarIconLibrary scrollUpOffIcon]
;
;arrowButton.downForm                [Windows8ToolbarIconLibrary scrollDownOffIcon]
;arrowButton.enteredDownForm         [Windows8ToolbarIconLibrary scrollDownOffEntered2Icon]
;arrowButton.activeDownForm          [Windows8ToolbarIconLibrary scrollDownActiveIcon]
;arrowButton.disabledDownForm        [Windows8ToolbarIconLibrary scrollDownOffIcon]
;
;arrowButton.leftForm                [Windows8ToolbarIconLibrary scrollLeftOffIcon]
;arrowButton.enteredLeftForm         [Windows8ToolbarIconLibrary scrollLeftOffEntered2Icon]
;arrowButton.activeLeftForm          [Windows8ToolbarIconLibrary scrollLeftActiveIcon]
;arrowButton.disabledLeftForm        [Windows8ToolbarIconLibrary scrollLeftOffIcon]
;
;arrowButton.rightForm               [Windows8ToolbarIconLibrary scrollRightOffIcon]
;arrowButton.enteredRightForm        [Windows8ToolbarIconLibrary scrollRightOffEntered2Icon]
;arrowButton.activeRightForm         [Windows8ToolbarIconLibrary scrollRightActiveIcon]
;arrowButton.disabledRightForm       [Windows8ToolbarIconLibrary scrollRightOffIcon]
;
;
;arrowButton.leftFormFile          'ScrollLt.xp.xpm'
;arrowButton.enteredLeftFormFile   'ScrollLt_entered.xp.xpm'
;arrowButton.activeLeftFormFile    'ScrollLt_active.xp.xpm'
;arrowButton.disabledLeftFormFile  'ScrollLt_disabled.xp.xpm'
;
;arrowButton.rightFormFile         'ScrollRt.xp.xpm'
;arrowButton.enteredRightFormFile  'ScrollRt_entered.xp.xpm'
;arrowButton.activeRightFormFile   'ScrollRt_active.xp.xpm'
;arrowButton.disabledRightFormFile 'ScrollRt_disabled.xp.xpm'
;
;arrowButton.passiveLevel          0
;arrowButton.activeLevel           0
;arrowButton.backgroundColor       =scroller.viewBackground
;arrowButton.activeBackgroundColor =scroller.viewBackground
;
;noteBook.backgroundColor          =lightenedViewGrey
;noteBook.activeBackgroundColor    =viewBackground
;noteBook.foregroundColor          Color black
;noteBook.lightColor               =darkenedViewGrey
;noteBook.shadowColor              =darkenedViewGrey
;noteBook.passiveBackgroundColor   =lightenedViewGrey
;
;checkToggle.bitmapFile            'CheckOn10_xp.xpm'
radioButton.passiveImage           [MacOSXToolbarIconLibrary radioOffIcon]
radioButton.activeImage            [MacOSXToolbarIconLibrary radioOnIcon]
radioButton.enteredPassiveImage    [MacOSXToolbarIconLibrary radioOffIcon]
radioButton.enteredActiveImage     [MacOSXToolbarIconLibrary radioOnIcon]
radioButton.disabledPassiveImage   [MacOSXToolbarIconLibrary radioOffDisabledIcon]
radioButton.disabledActiveImage    [MacOSXToolbarIconLibrary radioOnDisabledIcon]
checkToggle.disabledActiveImage   [MacOSXToolbarIconLibrary checkToggleOnDisabledIcon]
checkToggle.disabledPassiveImage  [MacOSXToolbarIconLibrary checkToggleOffDisabledIcon]
checkToggle.activeImage           [MacOSXToolbarIconLibrary checkToggleOnIcon]
checkToggle.passiveImage          [MacOSXToolbarIconLibrary checkToggleOffIcon]
checkToggle.enteredPassiveImage   [MacOSXToolbarIconLibrary checkToggleOffEnteredIcon]
checkToggle.enteredActiveImage    [MacOSXToolbarIconLibrary checkToggleOnEnteredIcon]
checkToggle.activeLevel           0
checkToggle.passiveLevel          0
checkToggle.disabledBackgroundColor     =viewGrey
checkToggle.backgroundColor             =viewGrey
checkToggle.activeBackgroundColor       =viewGrey
;
menu.iconIndicationOn             [MacOSXToolbarIconLibrary checkToggleOnIcon]
menu.iconIndicationOff            [MacOSXToolbarIconLibrary checkToggleOffIcon]
menu.iconDisabledIndicationOn     [MacOSXToolbarIconLibrary checkToggleOffDisabledIcon]
menu.iconDisabledIndicationOff    [MacOSXToolbarIconLibrary 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)
;
;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)
;; radioButton.foregroundColor       (Color black)
;; checkBox.labelForegroundColor     (Color black)
;
;; noteBook.foregroundColor          (Color redByte:0 greenByte:70 blueByte:213)
;framedBox.foregroundColor         (Color redByte:0 greenByte:70 blueByte:213)
;
variablePanel.handleLevel       0
variablePanel.handleStyle       #iris

;
;infoBox.iconFile                'bitmaps/Information_XP.xpm'
;warningBox.iconFile             'bitmaps/Warning_XP.xpm'
;requestBox.iconFile             'bitmaps/Request_XP.xpm'
;errorBox.iconFile               'bitmaps/Error_XP.xpm'
;
;selection.backgroundColor       (Color white)
;
;;selection.hilightForegroundColor    (Color black)
;;selection.hilightBackgroundColor    (Color rgbValue:16rDFF0F8)
;;selection.hilightFrameColor         (Color rgbValue:16r96D9F9)
;
;;;;menu.hilightForegroundColor         (Color black)
;;;;menu.hilightBackgroundColor         (Color rgbValue:16rDAEBF3)
;;;;menu.hilightFrameColor              (Color rgbValue:16rA8D8EB)
;
;editField.selectionBackgroundColor   =selectionBlue
;editField.selectionForegroundColor   (Color white)

;scrolledView.level      0