8944
|
1 |
; View defaultStyle:#mswindows10
|
8940
|
2 |
;
|
|
3 |
; $Header$
|
|
4 |
|
8945
|
5 |
iconLibrary ?(Smalltalk at:#Windows10ToolbarIconLibrary) ? (Smalltalk at:#Windows8ToolbarIconLibrary) ? (Smalltalk at:#XPToolbarIconLibrary) ? GenericToolbarIconLibrary
|
8944
|
6 |
|
8940
|
7 |
#include 'mswindows8.style'
|
|
8 |
|
8944
|
9 |
name #win10
|
|
10 |
comment 'Windows10 lookalike (unfinished)'
|
|
11 |
previewFileName 'viewStyleSample_win10.png'
|
8940
|
12 |
|
|
13 |
#if (Language == #german) or:[Language == #de]
|
8944
|
14 |
comment 'an Windows10 angelehnter Stil (unvollständig)'
|
8940
|
15 |
#endif
|
|
16 |
|
|
17 |
#if (Language == #french) or:[Language == #fr]
|
8944
|
18 |
comment 'Un style qui résemble Windows10 (incomplet)'
|
8940
|
19 |
#endif
|
|
20 |
|
|
21 |
;
|
|
22 |
; unfinished
|
|
23 |
;
|
|
24 |
|
8944
|
25 |
menu.enteredLevel 0
|
9003
|
26 |
embeddedToolBar.level 0
|
8948
|
27 |
|
|
28 |
selection.hilightForegroundColor Color black
|
|
29 |
selection.hilightBackgroundColor (Color rgbValue:16rCCE8FF)
|
|
30 |
selection.hilightForegroundColorNoFocus Color black
|
|
31 |
selection.hilightBackgroundColorNoFocus (Color rgbValue:16rD9D9D9)
|
|
32 |
|
|
33 |
selection.hilightFrameColor (Color rgbValue:16r99D1FF)
|
|
34 |
selection.hilightFrameColorNoFocus (Color rgbValue:16rD9D9D9)
|
8950
|
35 |
selection.hilightMode #line
|
8948
|
36 |
|
8940
|
37 |
scrollableView.level 0
|
|
38 |
scrolledView.level 0
|
8948
|
39 |
scroller.thumbInset 0
|
|
40 |
scrollBar.disableButtons true
|
9003
|
41 |
scrollBar.vScrollBarWidth (OperatingSystem isMSWINDOWSlike ifTrue:[ (Display getSystemMetrics:#SM_CXHTHUMB)-2 ] ifFalse:[15])
|
|
42 |
scrollBar.hScrollBarHeight (OperatingSystem isMSWINDOWSlike ifTrue:[ (Display getSystemMetrics:#SM_CYVTHUMB)-2 ] ifFalse:[15])
|
8943
|
43 |
; currently has trouble on win machines
|
8941
|
44 |
; scrollBar.hideIfPointerOutside true
|
8944
|
45 |
|
8948
|
46 |
variablePanel.barSideLineColor (Color rgbValue:16rF0F0F0)
|
|
47 |
variablePanel.backgroundColor Color white
|
8944
|
48 |
|
8948
|
49 |
arrowButton.backgroundColor (Color rgbValue:16rF0F0F0)
|
|
50 |
arrowButton.foregroundColor (Color rgbValue:16r606060)
|
|
51 |
|
|
52 |
arrowButton.enteredBackgroundColor (Color rgbValue:16rDADADA)
|
|
53 |
arrowButton.enteredForegroundColor (Color black)
|
|
54 |
|
|
55 |
arrowButton.activeBackgroundColor (Color rgbValue:16r606060)
|
8945
|
56 |
arrowButton.activeForegroundColor (Color white)
|
|
57 |
|
8948
|
58 |
arrowButton.disabledBackgroundColor (Color rgbValue:16r606060)
|
8945
|
59 |
arrowButton.disabledForegroundColor (Color grey:80)
|
|
60 |
|
|
61 |
arrowButton.upForm =iconLibrary scrollUpIcon
|
|
62 |
arrowButton.downForm =iconLibrary scrollDownIcon
|
|
63 |
arrowButton.leftForm =iconLibrary scrollLeftIcon
|
|
64 |
arrowButton.rightForm =iconLibrary scrollRightIcon
|
8944
|
65 |
|
8945
|
66 |
;arrowButton.upForm =iconLibrary scrollUpOffIcon
|
|
67 |
;arrowButton.enteredUpForm =iconLibrary scrollUpOffEnteredIcon
|
|
68 |
;arrowButton.activeUpForm =iconLibrary scrollUpActiveIcon
|
|
69 |
;arrowButton.disabledUpForm =iconLibrary scrollUpDisabledIcon
|
|
70 |
;
|
|
71 |
;arrowButton.downForm =iconLibrary scrollDownOffIcon
|
|
72 |
;arrowButton.enteredDownForm =iconLibrary scrollDownOffEnteredIcon
|
|
73 |
;arrowButton.activeDownForm =iconLibrary scrollDownActiveIcon
|
|
74 |
;arrowButton.disabledDownForm =iconLibrary scrollDownDisabledIcon
|
|
75 |
;
|
|
76 |
;arrowButton.leftForm =iconLibrary scrollLeftOffIcon
|
|
77 |
;arrowButton.enteredLeftForm =iconLibrary scrollLeftOffEnteredIcon
|
|
78 |
;arrowButton.activeLeftForm =iconLibrary scrollLeftActiveIcon
|
|
79 |
;arrowButton.disabledLeftForm =iconLibrary scrollLeftDisabledIcon
|
|
80 |
;
|
|
81 |
;arrowButton.rightForm =iconLibrary scrollRightOffIcon
|
|
82 |
;arrowButton.enteredRightForm =iconLibrary scrollRightOffEnteredIcon
|
|
83 |
;arrowButton.activeRightForm =iconLibrary scrollRightActiveIcon
|
|
84 |
;arrowButton.disabledRightForm =iconLibrary scrollRightDisabledIcon
|
8944
|
85 |
|
8945
|
86 |
arrowButton.enteredUpForm nil
|
|
87 |
arrowButton.activeUpForm nil
|
|
88 |
arrowButton.disabledUpForm nil
|
|
89 |
|
|
90 |
arrowButton.enteredDownForm nil
|
|
91 |
arrowButton.activeDownForm nil
|
|
92 |
arrowButton.disabledDownForm nil
|
|
93 |
|
|
94 |
arrowButton.enteredLeftForm nil
|
|
95 |
arrowButton.activeLeftForm nil
|
|
96 |
arrowButton.disabledLeftForm nil
|
8944
|
97 |
|
8945
|
98 |
arrowButton.enteredRightForm nil
|
|
99 |
arrowButton.activeRightForm nil
|
|
100 |
arrowButton.disabledRightForm nil
|
|
101 |
|
|
102 |
arrowButton.upFormFile nil
|
|
103 |
arrowButton.enteredUpFormFile nil
|
|
104 |
arrowButton.activeUpFormFile nil
|
|
105 |
arrowButton.disabledUpFormFile nil
|
|
106 |
|
|
107 |
arrowButton.downFormFile nil
|
|
108 |
arrowButton.enteredDownFormFile nil
|
|
109 |
arrowButton.activeDownFormFile nil
|
|
110 |
arrowButton.disabledDownFormFile nil
|
8944
|
111 |
|
|
112 |
arrowButton.leftFormFile nil
|
|
113 |
arrowButton.enteredLeftFormFile nil
|
|
114 |
arrowButton.activeLeftFormFile nil
|
|
115 |
arrowButton.disabledLeftFormFile nil
|
|
116 |
|
|
117 |
arrowButton.rightFormFile nil
|
|
118 |
arrowButton.enteredRightFormFile nil
|
|
119 |
arrowButton.activeRightFormFile nil
|
|
120 |
arrowButton.disabledRightFormFile nil
|
8948
|
121 |
|
|
122 |
; splitterLine: F7
|