Skip to content

Commit daf1dcd

Browse files
authored
Merge pull request #18173 from pavel-krivanek/18172-Dark-themes-window-icons
use inverted versions of window icons in the Dark theme(s)
2 parents efb0cbf + 943d3e4 commit daf1dcd

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

src/Polymorph-Widgets/PharoDarkTheme.class.st

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,59 @@ PharoDarkTheme >> taskbarItemSelectedPressedFillStyleFor: aButton [
234234
^ SolidFillStyle color: (Color white alpha: 0.35)
235235
]
236236

237+
{ #category : 'label-styles - windows' }
238+
PharoDarkTheme >> windowCloseFormSet [
239+
"Answer the form set to use for the close button of a window."
240+
241+
^ self iconFormSetNamed: #windowCloseInverted
242+
]
243+
244+
{ #category : 'label-styles - windows' }
245+
PharoDarkTheme >> windowCloseOverFormSet [
246+
"Answer the form set to use for mouse over window close buttons"
247+
248+
^ self iconFormSetNamed: #windowCloseInverted
249+
]
250+
237251
{ #category : 'label-styles - windows' }
238252
PharoDarkTheme >> windowLabelForText: aTextOrString [
239253

240254
^ (super windowLabelForText: aTextOrString)
241255
color: self textColor;
242256
yourself
243257
]
258+
259+
{ #category : 'label-styles - windows' }
260+
PharoDarkTheme >> windowMaximizeFormSet [
261+
"Answer the form set to use for the maximize button of a window."
262+
263+
^ self iconFormSetNamed: #windowMaximizeInverted
264+
]
265+
266+
{ #category : 'label-styles - windows' }
267+
PharoDarkTheme >> windowMaximizeOverFormSet [
268+
"Answer the form set to use for mouse over window maximize buttons"
269+
270+
^ self iconFormSetNamed: #windowMaximizeInverted
271+
]
272+
273+
{ #category : 'label-styles - windows' }
274+
PharoDarkTheme >> windowMenuFormSet [
275+
"Answer the form set to use for the menu button of a window."
276+
277+
^ self iconFormSetNamed: #windowMenuInverted
278+
]
279+
280+
{ #category : 'label-styles - windows' }
281+
PharoDarkTheme >> windowMinimizeFormSet [
282+
"Answer the form set to use for the minimize button of a window."
283+
284+
^ self iconFormSetNamed: #windowMinimizeInverted
285+
]
286+
287+
{ #category : 'label-styles - windows' }
288+
PharoDarkTheme >> windowMinimizeOverFormSet [
289+
"Answer the form set to use for mouse over window minimize buttons"
290+
291+
^ self iconFormSetNamed: #windowMinimizeInverted
292+
]

0 commit comments

Comments
 (0)