author | Stefan Vogel <sv@exept.de> |
Wed, 16 May 2018 08:37:31 +0200 | |
changeset 6320 | d52325b32f05 |
parent 6049 | 912263613f7d |
child 6763 | c57d17283c6f |
permissions | -rw-r--r-- |
6049 | 1 |
" |
2 |
COPYRIGHT (c) 2013 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
4508 | 12 |
"{ Package: 'stx:libwidg' }" |
13 |
||
6049 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
4508 | 16 |
VistaToolbarIconLibrary subclass:#Windows8ToolbarIconLibrary |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Interface-Smalltalk' |
|
21 |
! |
|
22 |
||
4547 | 23 |
!Windows8ToolbarIconLibrary class methodsFor:'documentation'! |
24 |
||
6049 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 2013 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
4547 | 39 |
documentation |
40 |
" |
|
41 |
ToolbarIconLibrary := Windows8ToolbarIconLibrary |
|
42 |
||
5171
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
43 |
This is a style specific icon library for a windows8 look. |
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
44 |
|
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
45 |
Never access this iconlibrary directly from an application - |
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
46 |
always use ToolbarIconLibrary, which is an alias to one of the style specific |
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
47 |
icon libs. |
9519ad3ccfb7
comment/format in: #documentation
Claus Gittinger <cg@exept.de>
parents:
5037
diff
changeset
|
48 |
|
4547 | 49 |
Notice and Warning: |
50 |
only redefine existing icons here; never add ionly to here. |
|
51 |
For every icon-method here, there MUST be a corresponding (albeit |
|
52 |
possibly ugly) icon-method in GenericToolBarIcon. |
|
53 |
" |
|
54 |
! ! |
|
4508 | 55 |
|
56 |
!Windows8ToolbarIconLibrary class methodsFor:'image specs'! |
|
57 |
||
58 |
downArrowEnteredIcon |
|
5037
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
59 |
<resource: #image> |
4508 | 60 |
"This resource specification was automatically generated |
61 |
by the ImageEditor of ST/X." |
|
62 |
"Do not manually edit this!! If it is corrupted, |
|
63 |
the ImageEditor may not be able to read the specification." |
|
64 |
" |
|
65 |
self downArrowEnteredIcon inspect |
|
66 |
ImageEditor openOnClass:self andSelector:#downArrowEnteredIcon |
|
5037
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
67 |
Icon flushCachedIcons" |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
68 |
|
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
69 |
^ Icon constantNamed:'Windows8ToolbarIconLibrary downArrowEnteredIcon' |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
70 |
ifAbsentPut:[ |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
71 |
(Depth1Image new) |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
72 |
width:15; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
73 |
height:14; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
74 |
photometric:(#palette); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
75 |
bitsPerSample:(#[ 1 ]); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
76 |
samplesPerPixel:(1); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
77 |
bits:(ByteArray |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
78 |
fromPackedString:'@@@@@@@@@@@HH@1 C.@G0@N@@P@@@@@@@@@@@@@a'); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
79 |
colorMapFromArray:#[ 240 240 240 0 0 0 ]; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
80 |
mask:((ImageMask new) |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
81 |
width:15; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
82 |
height:14; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
83 |
bits:(ByteArray |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
84 |
fromPackedString:'@@D@@P@A@@DHHP1!!C.DG0PNA@PD@@P@A@@D@@P@a'); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
85 |
yourself); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
86 |
yourself |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
87 |
] |
4508 | 88 |
! |
89 |
||
90 |
downArrowPassiveIcon |
|
5037
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
91 |
<resource: #image> |
4508 | 92 |
"This resource specification was automatically generated |
93 |
by the ImageEditor of ST/X." |
|
94 |
"Do not manually edit this!! If it is corrupted, |
|
95 |
the ImageEditor may not be able to read the specification." |
|
96 |
" |
|
97 |
self downArrowPassiveIcon inspect |
|
98 |
ImageEditor openOnClass:self andSelector:#downArrowPassiveIcon |
|
5037
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
99 |
Icon flushCachedIcons" |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
100 |
|
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
101 |
^ Icon constantNamed:'Windows8ToolbarIconLibrary downArrowPassiveIcon' |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
102 |
ifAbsentPut:[ |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
103 |
(Depth1Image new) |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
104 |
width:15; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
105 |
height:14; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
106 |
photometric:(#palette); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
107 |
bitsPerSample:(#[ 1 ]); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
108 |
samplesPerPixel:(1); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
109 |
bits:(ByteArray |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
110 |
fromPackedString:'@@@@@@@@@@@HH@1 C.@G0@N@@P@@@@@@@@@@@@@a'); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
111 |
colorMapFromArray:#[ 240 240 240 96 96 96 ]; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
112 |
mask:((ImageMask new) |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
113 |
width:15; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
114 |
height:14; |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
115 |
bits:(ByteArray |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
116 |
fromPackedString:'@@D@@P@A@@DHHP1!!C.DG0PNA@PD@@P@A@@D@@P@a'); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
117 |
yourself); |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
118 |
yourself |
47d11d896636
Change images to use ImageMask instances instead of Depth1Image instances as
Stefan Vogel <sv@exept.de>
parents:
4547
diff
changeset
|
119 |
] |
4508 | 120 |
! ! |
121 |
||
122 |
!Windows8ToolbarIconLibrary class methodsFor:'documentation'! |
|
123 |
||
124 |
version |
|
6049 | 125 |
^ '$Header$' |
4508 | 126 |
! |
127 |
||
128 |
version_CVS |
|
6049 | 129 |
^ '$Header$' |
4508 | 130 |
! ! |
131 |