author | convert-repo |
Fri, 21 Dec 2018 04:38:02 +0000 | |
changeset 8601 | bee9c53ab413 |
parent 8413 | 7bd42515069d |
permissions | -rw-r--r-- |
122 | 1 |
; this style sheet lists all possible style-values |
2 |
; you can not use it directly as a style, but |
|
3 |
; as a template - to copy individual setting |
|
4 |
; into your private style file (if you want to create your own ones) |
|
5 |
; |
|
6 |
; Of course, you can also pick one of the supplied styles, |
|
7 |
; or include an existing style in your new style - changing values |
|
8237 | 8 |
; as required. |
122 | 9 |
; |
7108 | 10 |
; After you created the style-file (and have it accessible in the |
122 | 11 |
; resources directory), you can use this style by adding |
12 |
; a line as follows to your 'display.rc' or 'private.rc' file: |
|
13 |
; View defaultStyle:#foo |
|
14 |
; where 'foo' is the name of the style-file name without the '.style' |
|
15 |
; ending. |
|
8237 | 16 |
; Since it must be a symbol, use quotes around, if non alphanumeric |
122 | 17 |
; characters are in the name. |
18 |
. |
|
19 |
; I.e: |
|
20 |
; View defaultStyle:#motif |
|
21 |
; View defaultStyle:#normal |
|
22 |
; View defaultStyle:#'motif_light' |
|
23 |
; |
|
24 |
; Many of the values here are defaulted to useful values, |
|
25 |
; if not mentioned here - so there is no real need to define |
|
8237 | 26 |
; all of them for new styles. |
122 | 27 |
; |
28 |
; |
|
7108 | 29 |
; $Header$ |
122 | 30 |
|
31 |
; |
|
32 |
; agenda: |
|
33 |
; the following list contains all possible style-values and their |
|
34 |
; default values (i.e. in your style-file you have to include only |
|
35 |
; those differing from the default). |
|
36 |
; |
|
37 |
; The first word is the style-sheet variable name, the rest (separated |
|
38 |
; by one or more spaces) is evaluated as a smalltalk expression and becomes |
|
39 |
; the value of the variable. |
|
40 |
; |
|
41 |
; Lines beginning with ';' are comments. |
|
42 |
; |
|
2155 | 43 |
; The construct '? ...' meands: only assign new value if no value has been |
44 |
; specified already; this allows included files (for example: motif.common) |
|
45 |
; to change value only if not already defined by the includer. |
|
46 |
; |
|
122 | 47 |
; The construct '=foo' means: use the value of the foo-variable described |
48 |
; above. |
|
49 |
; If a value is symbolic, the possible values are shown in a comment. |
|
50 |
; |
|
51 |
; Conditional settings are possible, by including these between |
|
52 |
; #if <st-expression> |
|
53 |
; ... |
|
54 |
; #endif |
|
55 |
; For example, colors can be set different for mono vs. color displays. |
|
129 | 56 |
; else constructs are possible too: |
57 |
; #if <st-expression> |
|
58 |
; ... |
|
59 |
; #else |
|
60 |
; ... |
|
61 |
; #endif |
|
62 |
; |
|
63 |
; finally, other files can be included: |
|
64 |
; |
|
65 |
; ... |
|
66 |
; #include 'filename' |
|
67 |
; ... |
|
68 |
; |
|
122 | 69 |
; ---------------------------------------------------------------------------- |
70 |
||
71 |
; if it some type of 3D style |
|
72 |
; (affects default levels, borderWidth and spacing between views etc.) |
|
73 |
; all styles which have 3D effects should set this to true |
|
144 | 74 |
|
309 | 75 |
comment 'not a usable style\\This file is used as reference and documentation.' |
76 |
||
77 |
#if (Language == #german) or:[Language == #de] |
|
78 |
comment 'Dies ist kein nutzbarer Stil\\Diese Datei dient als Referenz und Dokumentation.' |
|
79 |
#endif |
|
144 | 80 |
|
1162 | 81 |
; |
82 |
; if its a 3D style, spacing between components is often different; |
|
83 |
; also, no borders are generated. |
|
84 |
; |
|
122 | 85 |
is3D false |
86 |
||
87 |
; |
|
88 |
; the name of the style (will vanish) |
|
89 |
; |
|
90 |
name #unknown |
|
91 |
||
92 |
; |
|
93 |
; borders - if is3D is true, these are ignored |
|
94 |
; |
|
95 |
borderWidth 0 |
|
96 |
borderColor Color black |
|
97 |
||
98 |
; |
|
99 |
; these are macros used below |
|
100 |
; |
|
101 |
viewGrey Color grey:67 |
|
102 |
lightGrey (Color grey:67) lightened |
|
103 |
darkGrey (Color grey:67) darkened |
|
104 |
fixedFont Font family:'courier' face:'medium' style:'roman' size:12 |
|
105 |
variableFont Font family:'helvetica' face:'medium' style:'roman' size:12 |
|
106 |
||
107 |
; |
|
1866
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
108 |
; the default size of topViews; |
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
109 |
; if unspecified, 2/3 of the screen dimension are taken |
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
110 |
; |
1948 | 111 |
standardSystemView.defaultExtent (Screen current extent * (2/3)) |
1866
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
112 |
; |
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
113 |
; same for modal boxes |
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
114 |
; |
1948 | 115 |
modalBox.defaultExtent 200@150 |
1866
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
116 |
|
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
117 |
; |
122 | 118 |
; the default font (notice that there are extra variables for |
119 |
; labelFont, textFont, menuFont etc.) |
|
120 |
; |
|
121 |
font =fixedFont |
|
122 |
||
123 |
; |
|
124 |
; the default view background |
|
125 |
; |
|
126 |
viewBackground =viewGrey |
|
127 |
||
128 |
; |
|
129 |
; space between widgets |
|
130 |
; |
|
131 |
viewSpacing nil "defaults to 1mm" |
|
132 |
||
133 |
; |
|
134 |
; when drawing shadow and light (3D-effect) |
|
135 |
; ignored if is3D is false |
|
136 |
; |
|
144 | 137 |
shadowColor nil "nil means: use viewBackground darkened" |
138 |
lightColor nil "nil means: use viewBackground lightened" |
|
139 |
halfShadowColor nil "nil means: some default" |
|
140 |
halfLightColor nil "nil means: some default" |
|
122 | 141 |
|
142 |
; |
|
143 |
; how are views highlighted when the focus is stepped |
|
144 | 144 |
; via the keyboard (#FocusNext i.e. Ctrl-CursorRight / #FocusPrevious i.e. Ctrl-CursorLeft) ? |
122 | 145 |
; |
146 |
focusColor Color red "red is the default anyway" |
|
147 |
focusBorderWidth 2 "2 is the default anyway" |
|
148 |
||
149 |
; |
|
150 |
; show a shadow under popup views ? |
|
151 |
; if popupShadowColor is non-nil, shadow is drawn in this |
|
152 |
; solid color; otherwise shadow is drawn by halftoning the pixels below. |
|
153 |
; This may be slow on some X-servers. |
|
154 |
; |
|
8237 | 155 |
popup.shadow false |
1948 | 156 |
popup.shadowColor Color black |
8237 | 157 |
popup.level nil |
1948 | 158 |
popup.borderWidth 1 "2D styles only" |
8237 | 159 |
popup.borderColor Color black "2D styles only" |
122 | 160 |
; |
161 |
; this controls if popups have to be clicked again to go away (if false) |
|
162 |
; or vanish automatically, when the button is released (if true) |
|
163 |
; the default is true |
|
164 |
; |
|
8237 | 165 |
popup.hideOnRelease true |
166 |
; UNIMPLEMENTED. popup.edgeStyle nil "or #soft" |
|
122 | 167 |
|
168 |
; |
|
169 |
; menus |
|
170 |
; |
|
1948 | 171 |
menu.font =variableFont |
172 |
menu.foregroundColor nil "means: use default from superclass" |
|
173 |
menu.backgroundColor nil "means: use default from superclass" |
|
174 |
menu.hilightForegroundColor =menu.backgroundColor "if level is ~~ 0, default is menuForegroundColor" |
|
175 |
menu.hilightBackgroundColor =menu.foregroundColor "if level is ~~ 0, default is menuBackgroundColor" |
|
176 |
menu.hilightLevel 0 |
|
177 |
menu.separatingLineLevel 0 |
|
178 |
menu.checkColor nil "means: use fgColor" |
|
179 |
menu.showAccelerators true |
|
2207 | 180 |
menu.subMenuPopInRightHalfOnly false "if true, only pop submenus if pointer is in rightHalf" |
122 | 181 |
|
182 |
; |
|
183 |
; pullDownMenu takes menu style if not specified otherwise |
|
184 |
; |
|
1948 | 185 |
pullDownMenu.viewBackground =menuViewBackground |
186 |
pullDownMenu.foregroundColor =menuForegroundColor |
|
187 |
pullDownMenu.backgroundColor =menuBackgroundColor |
|
188 |
pullDownMenu.hilightForegroundColor =menuHilightForegroundColor |
|
189 |
pullDownMenu.hilightBackgroundColor =menuHilightBackgroundColor |
|
190 |
pullDownMenu.shadowColor =menuShadowColor |
|
191 |
pullDownMenu.lightColor =menuLightColor |
|
192 |
pullDownMenu.font =menuFont |
|
193 |
pullDownMenu.edgeStyle nil "or #soft" |
|
194 |
pullDownMenu.separatingLines true |
|
195 |
pullDownMenu.level 1 |
|
196 |
pullDownMenu.hilightLevel =menuHilightLevel "ifnil: 0" |
|
197 |
pullDownMenu.autoselectFirst false |
|
122 | 198 |
|
199 |
; |
|
1959 | 200 |
;if #toggle pressing an item again (in the pull-menus item) hides a shown (kept) |
157 | 201 |
;menu. Otherwise a press outside of the item-area is required to hide the menu. |
202 |
; |
|
1959 | 203 |
pullDownMenu.toggleMode #toggle |
122 | 204 |
|
205 |
; |
|
157 | 206 |
;if true, menus topview is raised when an entry is activated |
207 |
; |
|
1948 | 208 |
pullDownMenu.raiseTop true |
157 | 209 |
|
210 |
; |
|
193 | 211 |
; popupList |
212 |
; |
|
1948 | 213 |
popUpList.popPosition nil "or #shifted, or #below" |
193 | 214 |
|
215 |
; |
|
8237 | 216 |
; label defaults |
122 | 217 |
; (these are inherited by Button, Toggles etc. if not redefined) |
218 |
||
1948 | 219 |
label.foregroundColor Color black |
220 |
label.backgroundColor =viewBackground |
|
221 |
label.font =fixedFont |
|
122 | 222 |
|
223 |
; |
|
224 |
; buttons, toggles etc. |
|
225 |
; |
|
1948 | 226 |
button.font nil "nil means: use font" |
227 |
button.edgeStyle nil "or #soft" |
|
228 |
button.borderWidth nil "nil means: use value of borderWidth" |
|
229 |
button.activeLevel -1 |
|
230 |
button.passiveLevel 1 |
|
231 |
button.foregroundColor nil "nil means: use label-value" |
|
232 |
button.backgroundColor nil "nil means: use label-value" |
|
233 |
button.font nil "nil means: use label-value" |
|
234 |
button.disabledForegroundColor Color grey |
|
235 |
button.disabledBackgroundColor nil "nil means: use bgColor" |
|
236 |
button.enteredForegroundColor nil "nil means: use fgColor" |
|
237 |
button.enteredBackgroundColor nil "nil means: use bgColor" |
|
238 |
button.activeForegroundColor nil "nil means: use fgColor" |
|
239 |
button.activeBackgroundColor nil "nil means: use bgColor" |
|
240 |
button.returnButtonHasImage true "place a return-icon into defaultButtons" |
|
241 |
button.returnButtonHasBorder false "place a border around defaultButtons" |
|
122 | 242 |
|
243 |
; arrow buttons in scrollBars |
|
244 |
; |
|
1948 | 245 |
arrowButton.style nil "choose one of (#st80 #motif #mswindows nil)" |
246 |
arrowButton.foregroundColor nil "nil means: use buttons default" |
|
247 |
arrowButton.activeForegroundColor nil "nil means: use buttons default" |
|
248 |
arrowButton.activeBackgroundColor nil "nil means: use buttons default" |
|
249 |
arrowButton.upFormFile 'ScrollUp.xbm' |
|
250 |
arrowButton.downFormFile 'ScrollDn.xbm' |
|
251 |
arrowButton.leftFormFile 'ScrollLt.xbm' |
|
252 |
arrowButton.rightFormFile 'ScrollRt.xbm' |
|
253 |
arrowButton.activeLevel nil "nil means: use buttons default" |
|
254 |
arrowButton.passiveLevel nil "nil means: use buttons default" |
|
122 | 255 |
|
256 |
; |
|
257 |
; show a little lamp (a la IRIS) in toggles ? |
|
258 |
; |
|
1948 | 259 |
toggle.showLamp false "false means: no lamp" |
260 |
toggle.lampColor Color yellow "ignored if above is false" |
|
1951 | 261 |
toggle.lampWidthMM 1.8 "mm" |
262 |
toggle.lampHeightMM 3.5 "mm" |
|
122 | 263 |
|
264 |
; |
|
265 |
; the color of checkmarks (normally black; IRIS shows them red) |
|
266 |
; |
|
1948 | 267 |
checkToggle.checkColor Color black |
268 |
checkToggle.bitmapFile 'CheckOn.xbm' |
|
269 |
checkToggle.style #cross "or #check only taken if file is nil" |
|
270 |
checkToggle.activeBackgroundColor nil "means: use buttons default" |
|
271 |
checkToggle.activeLevel nil "means: use buttons default" |
|
272 |
checkToggle.passiveLevel nil "means: use buttons default" |
|
152 | 273 |
|
3169 | 274 |
noteBook.halfLightColor =button.halfLightColor |
275 |
noteBook.halfShadowColor =button.halfShadowColor |
|
276 |
noteBook.shadowColor =button.shadowColor |
|
277 |
noteBook.lightColor =button.lightColor |
|
278 |
"/ noteBook.foregroundColor =button.foregroundColor |
|
279 |
"/ noteBook.disabledForegroundColor =dbutton.isabledForegroundColor |
|
280 |
noteBook.canvasFrameLevel 1 |
|
281 |
noteBook.edgeStyle #soft |
|
122 | 282 |
|
283 |
; |
|
284 |
; text view backgrounds - this is not the same as |
|
285 |
; textBackgroundColor (although it looks better if it is ...) |
|
286 |
; |
|
1948 | 287 |
textView.background Color white |
1896 | 288 |
TextView.st80Selections false "/ enables ST80 style doubleClick |
122 | 289 |
|
290 |
; |
|
291 |
; texts in ListView, TextView, EditTextView etc. |
|
292 |
; |
|
1948 | 293 |
text.foregroundColor Color black |
294 |
text.backgroundColor Color white |
|
295 |
text.font =fixedFont |
|
296 |
text.tabPositions #(1 9 17 25 33 41 49 57 65 73 81 89 97 105 113 121 129 137 145) |
|
122 | 297 |
|
1948 | 298 |
textCursor.foregroundColor Color white |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2602
diff
changeset
|
299 |
#if Screen current hasColors |
1948 | 300 |
textCursor.backgroundColor Color red |
122 | 301 |
#else |
1948 | 302 |
textCursor.backgroundColor Color black |
122 | 303 |
#endif |
2565 | 304 |
textCursor.type #block "choose one of (#block #ibeam #Ibeam #caret #solidCaret #bigCaret #bigSolidCaret)" |
2122 | 305 |
textCursor.typeNoFocus nil "/ means same as textCursor; #none is also allowed |
122 | 306 |
|
307 |
; |
|
308 |
; text view selections |
|
309 |
; |
|
1948 | 310 |
text.wordSelectCatchesBlanks false |
311 |
text.st80Selections false |
|
312 |
||
313 |
text.selectionForegroundColor =text.backgroundColor |
|
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2602
diff
changeset
|
314 |
#if Screen current hasColors |
1948 | 315 |
text.selectionBackgroundColor Color green |
122 | 316 |
#else |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2602
diff
changeset
|
317 |
# if Screen current hasGreyscales |
1948 | 318 |
text.selectionBackgroundColor Color grey |
122 | 319 |
# else |
1948 | 320 |
text.selectionBackgroundColor =text.foregroundColor |
122 | 321 |
# endif |
322 |
#endif |
|
2581 | 323 |
editText.requestFocusOnPointerEnter true "/ anded with UserPrefs |
122 | 324 |
|
325 |
; |
|
326 |
; text in editfields |
|
327 |
; |
|
1948 | 328 |
editField.foregroundColor Color black |
329 |
editField.backgroundColor Color white |
|
330 |
editField.selectionForegroundColor Color white |
|
331 |
editField.selectionBackgroundColor Color black |
|
332 |
editField.font =fixedFont |
|
2581 | 333 |
editField.requestFocusOnPointerEnter true "/ anded with UserPrefs |
2566 | 334 |
editField.cursorType nil "/ means same as textCursor |
335 |
editField.cursorForegroundColor nil "/ means same as textCursor |
|
336 |
editField.cursorBackgroundColor nil "/ means same as textCursor |
|
122 | 337 |
|
338 |
; |
|
339 |
; special values for the transcript |
|
340 |
; |
|
1948 | 341 |
transcript.foregroundColor Color black |
342 |
transcript.backgroundColor Color white |
|
343 |
transcript.cursorForegroundColor =transcript.backgroundColor |
|
344 |
transcript.cursorBackgroundColor =transcript.foregroundColor |
|
122 | 345 |
|
346 |
; |
|
347 |
; highlighting errors in codeviews |
|
348 |
; |
|
1948 | 349 |
codeError.selectionForegroundColor =text.selectionForegroundColor |
2991
918e2f570098
removed all direct references to Display (must use Screen current)
Stefan Vogel <sv@exept.de>
parents:
2602
diff
changeset
|
350 |
#if Screen current hasColors |
1948 | 351 |
codeError.selectionBackgroundColor Color red |
122 | 352 |
#else |
1948 | 353 |
codeError.selectionBackgroundColor =text.selectionBackgroundColor |
122 | 354 |
#endif |
355 |
||
356 |
; |
|
357 |
; selection-in-list |
|
358 |
; |
|
2155 | 359 |
selection.multiSelectionModifier nil "means: #Shift; alternative: #Control" |
1948 | 360 |
selection.foregroundColor nil "means: use text-backgroundColor" |
361 |
selection.backgroundColor nil "means: use viewBackground" |
|
362 |
selection.hilightForegroundColor nil "means: use backgroundColor" |
|
363 |
selection.hilightBackgroundColor nil "means: use foregroundColor" |
|
364 |
selection.hilightFrameColor nil "means: no frame around selection" |
|
365 |
selection.hilightLevel 0 |
|
366 |
selection.hilightStyle nil "means: depend on styles name" |
|
367 |
selection.font nil "means: use textFont" |
|
368 |
selection.disabledForegroundColor nil "means: use grey" |
|
369 |
;NOTIMPL selection.rightArrowStyle |
|
370 |
selection.rightArrowLevel 1 |
|
2581 | 371 |
selection.requestFocusOnPointerEnter true "/ anded with UserPrefs |
3749 | 372 |
selection.highlightEnterItem false "/ underline-highlight item under cursor |
122 | 373 |
|
374 |
; |
|
375 |
; variable panels |
|
376 |
; |
|
2133 | 377 |
variablePanel.barHeight nil "height in pixels. nil means: use barHeightMM or default" |
378 |
variablePanel.barWidth nil "width in pixels. nil means: use barWidthMM or default" |
|
379 |
||
380 |
variablePanel.barHeightMM 2 |
|
381 |
variablePanel.barWidthMM 3 |
|
382 |
||
1948 | 383 |
variablePanel.showHandle true |
384 |
variablePanel.handlePosition scrollbar.position "/ OLD: #right "#center #left" |
|
385 |
variablePanel.handleStyle nil "nil means: as appropriate per style-name; i.e. #next., #motif ..." |
|
8237 | 386 |
; in addition to the known ones, |
387 |
; #none, #iris, #line, #motif or #full are also allowed |
|
1948 | 388 |
variablePanel.handleColor Black "only for #iris, #normal and #mswindows" |
389 |
variablePanel.handleLevel 2 "only if not #line" |
|
224 | 390 |
|
1948 | 391 |
; OBSOLETE: variablePanel.trackingLine false "false means: track bar; true means: only track line" |
8237 | 392 |
variablePanel.trackingStyle #solidRectangle "/ means: rectangle track. |
1451 | 393 |
"/ Also possible:or: #solidLine or: #dashedLine |
1948 | 394 |
variablePanel.separatingLine false "true means: draw an edged line in addition to handle" |
2135 | 395 |
variablePanel.barHeight 2 |
122 | 396 |
|
1948 | 397 |
scrolledView.level -1 "level of scrolled view. -1 for 3D styles; 0 for 2D styles" |
398 |
scrollableView.level nil "nil: as specified elsewhere; only 0 for openWin" |
|
399 |
scrolledView.borderWidth nil "nil: slave views own preferrence; 1 in openWin" |
|
400 |
scrolledView.margin =viewSpacing // 2 "outer margin around scrolledView" |
|
401 |
scrollBar.spacing =viewSpacing // 2 "space between scrolledview and scrollBar" |
|
402 |
scrollBar.hiding false "/ automatic hiding of useless scrollBars |
|
1440 | 403 |
|
404 |
||
122 | 405 |
; |
406 |
; scrollbar position in scrolled views |
|
407 |
; |
|
1948 | 408 |
scrollBar.position #left "or: #right" |
122 | 409 |
|
410 |
; |
|
411 |
; scrollbars |
|
412 |
; |
|
8237 | 413 |
scrollBar.buttonPositions #around "or: #top #bottom" |
1948 | 414 |
scrollBar.level 0 "level of scrollBar" |
415 |
scrollBar.elementSpacing 0 "spacing betwen buttons & thumb" |
|
416 |
scrollBar.disableButtons false "shall we disable buttons if appropriate" |
|
417 |
scrollBar.neverMini false "force big scrollBars" |
|
418 |
scrollBar.hiding false "hide scrollBars if nothing to scroll" |
|
122 | 419 |
|
420 |
; |
|
521 | 421 |
; scrollers (also used in scrollBars & also affects sliders) |
122 | 422 |
; |
1948 | 423 |
scroller.viewBackground Color grey |
424 |
scroller.thumbColor Color white |
|
425 |
scroller.thumbEnteredColor =scrollerThumbColor |
|
426 |
scroller.thumbFrameColor Color black "nil means no frame" |
|
427 |
scroller.thumbLevel 0 |
|
428 |
scroller.thumbActiveLevel =scrollerThumbLevel |
|
429 |
scroller.thumbInset 0 |
|
430 |
scroller.thumbFixHeight false |
|
431 |
scroller.thumbEdgeStyle nil "or #soft" |
|
432 |
scroller.level 0 |
|
433 |
scroller.borderWidth =borderWidth |
|
434 |
scroller.NTallyMarks 0 |
|
435 |
scroller.tallyLevel 0 |
|
2602 | 436 |
scroller.ghostColor nil " nil means: no ghosting" |
1948 | 437 |
scroller.ghostLevel 0 "only used if above color is nonNil" |
438 |
scroller.snapBack false "w95 behavior: snap back if moved out of the scroller" |
|
439 |
scroller.middleButtonJump false "xterm behavior: middle button jumps to click position" |
|
2513 | 440 |
scroller.autoRepeat true |
441 |
scroller.initialRepeatDelay 0.2 "seconds" |
|
442 |
scroller.repeatDelay 0.1 "seconds" |
|
2602 | 443 |
scroller.vScrollerWidth nil " nil means: compute from screens resolution" |
444 |
scroller.hScrollerHeight nil " nil means: compute from screens resolution" |
|
3725 | 445 |
scroller.snapBackDistance 30 |
446 |
scroller.minThumbSize 8 |
|
122 | 447 |
|
448 |
; |
|
449 |
; sliders may have different tally definition than scrollers |
|
450 |
; |
|
1948 | 451 |
slider.NTallyMarks 1 |
452 |
slider.tallyLevel -1 |
|
2562 | 453 |
slider.level nil "nil means: inherit from scroller" |
122 | 454 |
|
1948 | 455 |
miniScroller.size 2.5 "/ millimeters |
1866
4d41fc889c0c
smaller miniScrollers & default extends in small/tiny iris styles
Claus Gittinger <cg@exept.de>
parents:
1858
diff
changeset
|
456 |
|
122 | 457 |
; |
458 |
; framed boxes |
|
459 |
; |
|
1948 | 460 |
framedBox.foregroundColor Color black |
461 |
framedBox.labelPosition #topCenter "#topLeft #topRight #bottomLeft #bottomCenter #bottomRight" |
|
2562 | 462 |
framedBox.font nil "nil means: as inherited from view" |
8413 | 463 |
; framedBox.frameLineOnly false "true means: only draw top line; false means: draw a rectangle" |
122 | 464 |
|
1948 | 465 |
ruler.foregroundColor nil "nil means: use foregroundColor or Black or White" |
466 |
ruler.backgroundColor nil "nil means: use viewBackground" |
|
467 |
ruler.metric nil "nil means: use #mm for german, #inch for all others" |
|
122 | 468 |
|
469 |
; |
|
470 |
; dialog boxes |
|
471 |
; |
|
472 |
||
2486
a310c1c75516
ok is on the left with motif style.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
473 |
dialogBox.okAtLeft false "if true: ok at left/cancel at right; if false, vice-versa" |
a310c1c75516
ok is on the left with motif style.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
474 |
dialogBox.returnShiftsFocusToOK false "if true, return shifts focus to OK button" |
a310c1c75516
ok is on the left with motif style.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
475 |
"(i.e. we need another Return for confirmation)" |
a310c1c75516
ok is on the left with motif style.
Claus Gittinger <cg@exept.de>
parents:
2207
diff
changeset
|
476 |
"if false, Return immediately closes the box with OK" |
122 | 477 |
; |
478 |
; information-box |
|
479 |
; |
|
1948 | 480 |
informationBox.icon (Image fromFile:'bitmaps/Information.xbm') |
122 | 481 |
|
482 |
; |
|
483 |
; warnbox |
|
484 |
; |
|
1948 | 485 |
warnBox.icon (Image fromFile:'bitmaps/Information.xbm') |
122 | 486 |
|
487 |
; |
|
488 |
; yes/no requests |
|
489 |
; |
|
1948 | 490 |
requestBox.icon (Image fromFile:'bitmaps/Request.xbm') |
173 | 491 |
|
492 |
||
1948 | 493 |
html.backgroundColor Color grey:80 |
494 |
html.anchorForegroundColor Color blue darkened |
|
495 |
html.activeAnchorForegroundColor Color red |
|
496 |
html.activeAnchorBackgroundColor =htmlBackgroundColor |
|
497 |
html.visitedAnchorForegroundColor Color red:30 green:0 blue:80 |
|
498 |
html.exampleAnchorForegroundColor Color red:40 green:0 blue:0 |
|
499 |
html.anchorUnderline false |
|
3703 | 500 |
|
501 |
dataSet.labelView.level -1 |
|
502 |
dataSet.labelView.verticalSpace 2 |