Skip to content

Commit

Permalink
save icons in methods to remove GitAssetLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrebs5 committed Sep 16, 2024
1 parent 67c4e50 commit 205cecd
Show file tree
Hide file tree
Showing 28 changed files with 259 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Add Layer';
frame: (LayoutFrame fractions: (0 @ 0 corner: 1 @ 0.125));
project: 'GameMecha';
path: '/GMTEIcons/add.png'.
iconName: #add.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -29,7 +29,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Move Layer Down';
frame: (LayoutFrame fractions: (0 @ 0.125 corner: 1 @ 0.25));
project: 'GameMecha';
path: '/GMTEIcons/up.png'.
iconName: #up.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -38,7 +38,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Move Layer Up';
frame: (LayoutFrame fractions: (0 @ 0.25 corner: 1 @ 0.375));
project: 'GameMecha';
path: '/GMTEIcons/down.png'.
iconName: #down.

(aBuilder pluggableImageButtonSpec new)
model: self;
Expand All @@ -47,7 +47,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Rename Layer';
frame: (LayoutFrame fractions: (0 @ 0.375 corner: 1 @ 0.5));
project: 'GameMecha';
path: '/GMTEIcons/rename.png'.
iconName: #rename.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -56,7 +56,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Clear Layer(s)';
frame: (LayoutFrame fractions: (0 @ 0.5 corner: 1 @ 0.625));
project: 'GameMecha';
path: '/GMTEIcons/broom.png'.
iconName: #broom.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -65,7 +65,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Blend Layers';
frame: (LayoutFrame fractions: (0 @ 0.625 corner: 1 @ 0.75));
project: 'GameMecha';
path: '/GMTEIcons/merge.png'.
iconName: #merge.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -74,7 +74,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Delete Layer(s)';
frame: (LayoutFrame fractions: (0 @ 0.75 corner: 1 @ 0.875));
project: 'GameMecha';
path: '/GMTEIcons/trash.png'.
iconName: #trash.

(aBuilder pluggableImageButtonSpec new)
model:self;
Expand All @@ -83,7 +83,7 @@ createLayersSpecWithBuilder: aBuilder
description: 'Show/Hide Layer(s)';
frame: (LayoutFrame fractions: (0 @ 0.875 corner: 1 @ 1));
project: 'GameMecha';
path: '/GMTEIcons/eye.png'}.
iconName: #eye}.

(aBuilder pluggableMultiSelectionListSpec new)
name: 'layers';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ createToolBarSpecWithBuilder: aBuilder
action: #selectRadiusBrush;
project: 'GameMecha';
buttonGroup: self brushButtons;
path: '/GMTEIcons/brush.png'.
iconName: #brush.

(aBuilder pluggableImageButtonSpec new)
groupName: 'lineBrush';
Expand All @@ -41,7 +41,7 @@ createToolBarSpecWithBuilder: aBuilder
action: #selectLineBrush;
project: 'GameMecha';
buttonGroup: self brushButtons;
path: '/GMTEIcons/line.png'.
iconName: #line.

(aBuilder pluggableImageButtonSpec new)
groupName: 'fillBrush';
Expand All @@ -51,7 +51,7 @@ createToolBarSpecWithBuilder: aBuilder
action: #selectFillBrush;
project: 'GameMecha';
buttonGroup: self brushButtons;
path: '/GMTEIcons/fill.png'.
iconName: #fill.

(aBuilder pluggableImageButtonSpec new)
groupName: 'rectangleBrush';
Expand All @@ -61,7 +61,7 @@ createToolBarSpecWithBuilder: aBuilder
action: #selectRectangleBrush;
project: 'GameMecha';
buttonGroup: self brushButtons;
path: '/GMTEIcons/rectangle.png'.
iconName: #rectangle.

(aBuilder pluggableImageButtonSpec new)
name: 'undo';
Expand All @@ -70,7 +70,7 @@ createToolBarSpecWithBuilder: aBuilder
frame: (GMTEEditor hLayoutFrame: 5 ofN: 6 vSymmetric: GMTEEditor toolBarVSpace);
action: #undo;
project: 'GameMecha';
path: '/GMTEIcons/undo.png'.
iconName: #undo.

(aBuilder pluggableImageButtonSpec new)
name: 'redo';
Expand All @@ -79,7 +79,7 @@ createToolBarSpecWithBuilder: aBuilder
frame: (GMTEEditor hLayoutFrame: 6 ofN: 6 vSymmetric: GMTEEditor toolBarVSpace);
action: #redo;
project: 'GameMecha';
path: '/GMTEIcons/redo.png'}};
iconName: #redo}};

verticalResizing: #shrinkWrap;
yourself
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
"createAttributeSpecWithBuilder:descriptor:getter:setter:model:frame:" : "tw 7/12/2024 20:11",
"createCommandBarSpecWithBuilder:" : "jj 6/22/2024 20:42",
"createInspectorSpecWithBuilder:" : "tw 7/12/2024 20:07",
"createLayersSpecWithBuilder:" : "Alex M 7/11/2024 18:04",
"createLayersSpecWithBuilder:" : "ek 9/16/2024 10:54",
"createTileViewerSpecWithBuilder:" : "tw 7/12/2024 19:19",
"createTilestoreSpecWithBuilder:" : "jj 6/22/2024 20:44",
"createToolBarSpecWithBuilder:" : "tw 7/12/2024 22:53",
"createToolBarSpecWithBuilder:" : "ek 9/16/2024 10:55",
"createTraySpecWithBuilder:" : "tw 7/12/2024 19:14",
"currentCommand" : "tw 7/12/2024 21:53",
"currentCommand:" : "tw 7/12/2024 21:52",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
icons
getIcon: aSymbol

^ self perform: (#icon, aSymbol capitalized) asSymbol
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
icons
iconAdd
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAABT0lEQVR4XuWaOw6DMAyGvcAF
OiK1t2jP0ccd4BhMqL1hCxuwsJSlE0vKQCVUQYBgJzH5pX9COP4UEucBTKhsLTQ5AgIJgy4w
ADzDEH1vAmIVzFiwM9CrxoIZCvAE/RrKw1sT4AXmpNwrJeZAI4JReuliIUhCRk+sVDL4fV0g
TevTyhixytSMCYIVK1apM5xBBEcQmFqbcQKR1hluIEPthFxBPkPPOYKA+yBEO0cjIM1WQI5b
AcH+tPbuD3b3QdwHcR/EfRD3QSTBD5xBsPTYCsh/TrUKyNtCkN0ckMiyXglm5jNr3y4s6o1F
IIUFMMHCHGafb/WddlMitu8T7VaqNYvT1dvis2ATrrBWER7YfwG6+L2EOPF6pE7IdAWkWy3b
CmaOPbfrULYmF98SmAyI7uJFd6BMrRto+jvClD3stRA7iJ9yYPrn0JhCjclLp9gvRHcCOLLt
w00AAAAASUVORK5CYII=' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
icons
iconBroom
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAABxklEQVR4XmMY+WDkg5EPhjVg
Hg6e+A/FQxYwInkChpmGckwg46/DwRM/BoNDKPXE/8ESmv8p0PuP3h6IwOMJYjwzKPLEfxIw
sfq/DxZPvCXSMwOeJ/7icYQkkQ4dUE8oUynpYMPf6OEBYQoz87+B9sQcKmRmGPhO7+RkTKLj
SXHUZxx62AaiCP1PYanzGoceZXIcLkFmaDNSqTY/gkOPDTGO30uj5EKuZ1bh0GNGzaTzn07t
rOmk6iHG4Z0D1GgswaI+bTA0j6nRaHxEiz4CPTyDrm49sQp5B5lniO6foyt8Osg6WkSnmBwy
klcalZIhOc15qvWlqZ2nSG0hkGQYM51LOFzmfqLUI8gamAjUMelUyjP/iKjP2mnROCQ2JtSB
mI9KDVSatnJJMZcY8ItSO9tp0M4iV/87LPpWUavvQSr4g8WMn0TqvU6p/T5YDJhLhidOUzE5
kl0yUmrIu8HgCUoNw5UsiZ1ZYqK2R/xINJAbjydYByo2CIUuO5IaZhqXcAa0bqG+pEMx/Z9e
ze0h5QlSPcMwmD2Br45Bx16D3RPkJrUEEs2g+zSzB4VjwNgwC8MAghYqeWJQgWHhCXSQQoQH
bKhpIQC5L+8MO2fWjAAAAABJRU5ErkJggg==' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
icons
iconBrush
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAC5UlEQVR4XtWaSWgUURCGx10U
jah4mIP7kjiJieQkxoN48CC44V1PLieXRCMqKIhBRIMeRA+CFy8iHiIRUdxGjMYVFxRxQQMu
Bw3ikqjRpP2LVEPzeBO732usmoIPZmAG+pvufvW/6smgRoEd4CF4BI6DRWBYpshqP+gCQYQv
4BSoAf2KRaTdkIjyEewG44pB5FcfIiFXwVztIk9iiBDvwFowWKvILtATU+YnOATGahSZAh7H
FAk5C2ZolFkH/iSUuc+rmqoaAZoSihBtYIU2mWrwxkGmnReBAZpkVoFOB5kOTgdDtYgMAo0O
IgGng4NgpBaZMeCMo0wPZzU1y/M0cM9RJuCcltUiM49XJVeZc2CyFpnl4JOHTB6UapFZDb57
yLSCCg0i1B+2W/YsSVNAtQaZIWAf6PaQoTw3R4PMcHDEQ4R4xouIeNH+/oSnzAswX4MMbXtP
e8q8Ags1yFCza/aUaeLLVbzGgwuOEpQaZmtKy9S5rySUuAsqjaA6UYPMVJ6yxJG4A2ZFvtsf
rAdPwRItITP/D4nbRocPJcLU8B4s0zAQnA6uFZC4ZUhQWthgiT4vtQw16CCuWyTKDYmNFokf
YJuxyxSdoVHabYkExpwhsYm3xqbEVjAw8tkycBLsBVVSlxwd/FHL5VRrkaAZQb0hUWqc2Q/g
AJgklZqjr+sKSGyxnImWAvcaPfZYLDnQqLdMZ+j9ZovEjRjjpzW86v3XGg3OW8ZHdcZZmwlu
xuxHX3l0JbKa5SMStYZELoFEEOk7NVJNs7mARKtjZqOsVyIhU8L3TFjl3GdcE/RvsFK6eVZw
bAk8uSg53axMSYL4DBZIiTSmJBGyR0pkaab3MV5aIpekROiavpyiSJv0OLYzJZEO6aHfsZRE
uqWX4Al9BMSk/US8qng27CPyTcs0JmcJlkl4rWm0RI/rdoK3jt1dXVF0acj0/n8sznOZLv4B
1FaWd4MNPF6lwd5z5gEn38O8L8n+BQcF0gdHrHMGAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
icons
iconDown
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAA40lEQVR4XuXYOw6DMAwG4PQo
bD0JUjfETKcelqWVEAxcoLdopbAUqQOPJMTG9v9L2YziTxEP4/CDH/zgBz+/+JVlAqEK8w6A
eAungQ/Bh+BD8CH4EHyIasjcwIUJMtcVuQDdQhMtIaRcqP0eRbQbjTwJILeN+k8q4hrQzCsj
pAm4ZqC8afsMkDvlQ8JHrPEApI7cixTyf+wxDVUJ+zgOTB9R++BCpGKoFuvbWjTibMyp31Gi
EdwYUV+4ohHUGNGzh4phywQiF0bliKtidjeBMPcXxVlB7GFUxgQCP/jBD37wYz8Tzzh+NqYZ
v1gAAAAASUVORK5CYII=' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
icons
iconEye
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAACE0lEQVR4Xt2ZsU7DMBCGTWAp
SVOJDYkXQB2BhadgYeU5kBAqbYFCEYiJl0CoYmHiaRiYQEhsJG2DIxXJqnyxzz47MSfdUuWu
/ur77xyXCTbhfs8Ct1fuxcJvQ4WYCBB/fh4iSFsCUvo4RJgYgAlSMwkAc/efdqaHyLHC/QnI
U/oL98gHTAosYFARU1i69wYgtuYhAcCyj3xq5tkBwLIfUMOsWywm574j5NpdfFZbyaWaX2oi
4DWNvF0fZUb5q1XBfPkoM+oTgJdSg2D6xDCPVDCf3OdIzZwoWrfoicXufOtCdIWgzLIBUHQl
WdyeSSAE06oZptIiIGiOPJs1AoYhvxAqs2OC3KL1JDEfpjAZ8mx2ATyfGTYAo12JkDDQ0Lym
XJQqDkqyCgTOkDBDzUXp2D4Up5MIU9dthGZMh510LYUFTA482wGePyMCaemAFBWvsNSaMQXZ
1AXBamaKhLl0UVomvZ1KMyYgh6o4ChisZpxNeAqYH+TOOBuIFJrJDWBU9iCJeaM8a2GfhxrA
qYvjCRXM1HLOWENQwmBfzsYaObcpLwMoNJMoYArTo3sdmol9X9pRwMw8zJnGaqb0dxeX2xSa
yZBl5uxvwILg1IzVTL8JMAx5O5MaDs1GagZqAFfMoenCREjwGHmhQW5HChiMQUNzwAI075px
aZBmRiHCQGV2EyKM7OVsiwVqIswGC9w64k78AiNJVwwQEauRAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
icons
iconFill
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAADJElEQVR4XtWaO2hVMRjHY8EK
PoZbvO3twwsi4iCIIlRxEFxcBAdxcXDo6KoiLoLoUh0cHHWwKlprb31VqzgI4iJaURcXH3hF
RcG3iLY+rv/gFwgxOefkJrkn54Pfcm6Sk1/PSU7ypawgUQVjYBMrcHSDc6ABnoH1RZU4TxIN
SWZ53h3rAp0OEpwRizaCxAJwBVwGfU1KnAHlGCREh5Jk5DERtUSSTMUgMRKrhE4mSaIzZgnB
OOgHtSJJDNO7rl5/C/4UReIEKBEnU57S2ZglOqRyJeqsTuJSrANblWD0175oELme4TsThUSF
FoBJr9YEtRmtRJdmduKDvA5+5ynjKiEG9lIwlNeT8SExSr8xqnPcIFMtigRLkbkaQsZWYlRT
tqaRaKlMaImWyLRKIqiMjUTZMCZsJGSZIV8yNhI8FoI7Stkx+hA2EyWDzDUbGVsJEcvApAcJ
LzLNSohYAQZBj6eJxiRTo9+CSIiY4Xnq18n8BDtDSoQK3X7moS7vZNrZlSJK3C0BL6X+/WCa
fcK4YWHXEZFIlTKOon/TukJ9BplTYH4EEu00icjL/semwr2RyswC+8CUsp8ZTKpkkjmdk4yQ
mFb6cyvLnqWXkgF5y5gkHtD3KlPkLZMksTKt8jolk5GXjLPEK1pCz8kgMxxIxkliMbhPFX6B
PcoyI0mmHIvEXMq3yhU/gY1KuR5Dcs2XjJMEj+30FBqadcyiFsk4S/C0/uuEzN8RMDOwjLPE
bM0r9V75en4FGzR1TTK2x2TOEjw2U0flTm/VJA8mlFlMlrngIONFgtFGXm7gGGgDq9i/Axhx
/QtYa2ijWRlvEjw+Sw18AGvoOpc5qtxgR0I7tjJeJRhtFUUjT+lbIWKXcpO9KW11G2TUU9l2
3xI86soGZT+tJvmTuafcaCBDeyaZGmVXeLrogDKZOEvwOKzZzD8H75Trddpisowyuv9ceANe
sP/PQpwlxLJkkiWfIPEb77Zs1yTTCCEhYjW4a7gRn44PGqbetKhQ9mVK0y7f2d202U9kDb4M
OQSegO/gI7gBttDgbDbmgW3gNs2Q38AjGoveDj3/Ah04pbOkviVhAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
icons
iconLine
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAn0lEQVR4XuXasQ3AIAxEUcai
S8HsHoASMQoFsSUXUdJHOv5JV1E9YVdQRNO83bu85q2KiMs7vPtRU0TMF2Lnzcgjdo6ZPGLk
zkgjZp7zEXwEH8FH8BF8BB/BR/ARfAQfwUfwEXwEH8FH8BF8BB/BR/ARfAQfwUfwEXwEH8FH
8BF8xF+Jx/ahjoj0ExCRdQIiYuX7t0MOEamJWTlmTRFxA0sDV4TiKfijAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
icons
iconMerge
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAABG0lEQVR4XuWaXQrCQAyE15de
UHsJsdCzeAGPZStIEekxZPVFEH9qV2ZmVyaQxyb7bdpskm34IuNNI0izSCSqRCoyhARICUGF
+eRsSbS9UUAMos2iOhiEiaRDGR7FmWXP8vdsdJUhvZdr1B/EH8QfxB/EH8QfpMB+56gGebS3
IzRurQJkToVL6WeQICkNFBwGBcLuAg85QYKyOWOByNM3agEXYQp/G5Ucs6e7n+2Pzy/YUVG+
grNA5B8qckMic8JBSM9JIKjpIeOMSTrlUTBRUAq9yJoA0pAL00mbXSj76sC/OfMH8QfxB/EH
8QexB6lVIL04GmeU4V4YlVMQ3wxHEQTcT0MsIutQyN8TLK3Uo5q/g1ABZRHU4idT7BUX9dLt
HuT6kgAAAABJRU5ErkJggg==' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
icons
iconRectangle
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAsklEQVR4XuXYMQ6EIBBGYYu9
BdlwD++/9yDEW2yhQzK1CgTy65vkNRKKr7BgFptdpGTFpWP4ED6ED+FD+BA+hA/hQ/gQPuTR
kI8V/PtV0pCC+FnZz8+ShkRH3LkvD0l8CB/Ch/AhfAgfwofwIXwIH8KH8CGDy72QJFD2J23o
gUSRgi8bmiHKw4eozXcGpGZ51lJBrNY2GlKzPGutIP6jITXLsxlN+RH5ED6ED+FD+JB3Qg6y
PxpRcrzW+AAAAABJRU5ErkJggg==' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
icons
iconRedo
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAADAFBMVEUAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3
vkvWAAABAHRSTlMA////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASK5L
qwAAAHpJREFUeF7l1UEOgCAMRFH+/S/tho2JHfgmNkZnK49EaMt4QQAvrMEb0Ahv8AZvQCO8
wRiuoxZXhnU0OBu24wUaTIImPE0afsSfVriRXMmphopPqU6LzVIzrMpxf8KkhstdYqbluqnV
dE+n4t4X7j07LWT8n0jzHdKRA00SA1YHGO4SAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
icons
iconRename
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAB+klEQVR4XuWaO07DQBBArUhZ
GqeNRA8HIAegSaRUKdKkcHIJOINPADkHSJESGlqnpE0HXSJoaaDgM5Ym0sqy2e/sDvJIr3O8
+7z/nSTtj/ZH3BBA6oDQLKcLnFAIDIAceAAKYGvJChgqyroE7oE1MPHZAtfAAfjxxBPQbyhv
BDxLz74CMx8ipcSnR4mSPXCmIXHkzVVm0NAS3w58ADc1Y6VJwotMXnnZO3ALLIAMmFswBnqG
Ek4yAge2/KJSouN5EtGVsJZJcXaSu9MisoSVTIrTpSySMZAwlqkTmTORkKfmSSwRXxJH1qod
AIWIb4mSO9zOBBOhkHjB7UywrkUlMQo52KNK+BKJLuFDhIWEqwgbCRcRVhK2IufALoCEwPNM
n0pkhs9RSvTwPLPHk+aQQmTuUaSpO40rJ9aV6kIjpshfY6Jaxhbryk5ENbD/hYjO7MReRHeK
ZS1isk6wFTFd7IKITIEv4hU7iMgp8Igyqou6neW2I4jIUWaquKSb4XYm4SxCHe0Xab8IZ5GM
gUhmI0J9iW0Ti4pIoRKpSyssCdIKJtHBOsh12iQaCda6RM8ycUv02JBhmUusg1ynXOcLUKTe
XKjLRQ50m5MiGeqDsk5XJv1S4A/2jCQO+IGFzUC7wP64Sdz+MGBLgWXnJt1J1UJpJETS/mh/
xItfO5qbxasyDGoAAAAASUVORK5CYII=' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
icons
iconTrash
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAACVklEQVR4Xt2aP0hbURyFY2ql
llI6CEVbcOrgpCDtkqFjl66FZNDFQVcXV3XQwcEOLnYQin+yOGRxUHDQRRzcHJyUdBEcBCEq
KEnseXAEafPe+/1eYjzxwDd5333n8xnuuzemGph2sALujKzwGrm8AXsOkT1eI5dOsMWS1Rju
OLYzJZp+kCPZEO5/3v9YJTrAR9BbB8H1PUYaca+OWiJD4AQUW4QTdv4v044PqgrTtUQmW1Bk
8lmLTLWgyNSzfiIZ8BusgVVx1tg1E7aWtJEgafBCjHSNnqkomWGQF3wSeXZrs67wm8Kfi82w
Ff3fBI9wXVhknR1NWRIWWfK8QP4UFpn3iFgWx2swCwoRYyrgF6lEjCtwruuki2BYxg0T/gHd
3FtUQ8aUwGdyGTKmyjm6OWfcfcc9IiOGCYvcV2RjRL6QUoRIlnMVDfcd8Yj8AGWDyAfDE7GI
5DhXnEiZ3cz5Bm4ERW7YzZxMxN/0U4qUot6vamUAnAuKnLObOZ/AqaDIKbuZE5xQHAuKHLOb
OV3gUFDkkN3MeQv2BUX22c2cV2BbUGSb3Vwn6wVBkYL3BD/YgS0Liixbd4cPsyAospDkUHtG
UGQmiciEoMhEEpExQZHRJCK5mF1ds0UqHOfOd3ArJHLLTu58BVdCIlfs5M4guBDa6l6wkzt9
4KzOw4fLBh4+nLGTO70xv6FmHwcV2cmd9+BI6GDuiJ3ceQcOhEQO2Mmd12BXSGSHndx5CTaE
RDbYyZ00v1hREck/+MbKnUUhkcV6/j9lTkhkrh6RUcMZcDMox735/gVW3i2IcpR3XwAAAABJ
RU5ErkJggg==' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
icons
iconUndo
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAADAFBMVEUAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD3
vkvWAAABAHRSTlMA////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////AAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASK5L
qwAAAHpJREFUeF7l1UsKgDAQBNHU/S/tIrgQTCc1EBTtZcJbDMynPRXAC2mwBCxBEzTBErAE
TbCE+3gRIPN4cUUsp0AokBPhDdtNvZztZtLJuQ1CT62Z1Lnz57xK4owM/pbGymzL0V+a+lin
vAphtfhD0s0rSfs/8aR9htRyAE1pA1YICB5mAAAAAElFTkSuQmCC' readStream))
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
icons
iconUp
"This is an auto-generated method"
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAA4ElEQVR4XuXZPQ7CMAwF4HAU
Nk6CxIaYYeKwXUBCZeAC3AIks6OqrRvbdd57krc00aemP24Lf/jDH/7whz+JI38FgWgSIxMF
gWgCI8qCQKTESGVBIFJgxLggEKtgxLkgECEYCS4IhAtGVi4IhAlGu9hVMbaPwmgXOS54+31G
YDSTnype419ZIBeDfqT3hMw57WfDxuo+45jd0uvkMzLpwaFDvI2M72rvXN+BSfeOrW43MPZh
9SzZKvaoxV7fZOhTID4+8EP4IfwQfgg/hB8SAXmXRgLxf2QKwx/+8Ic//Ck/w45+NsEnigcA
AAAASUVORK5CYII=' readStream))
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
visual properties
createStateImagesFrom: anImage
createStateImagesFrom: anIconName

| unpressedColor hoveredColor pressedColor disabledColor image |

image := self class getIcon: anIconName.

| unpressedColor hoveredColor pressedColor disabledColor |
unpressedColor := UserInterfaceTheme current get: #titleTextColor for: MenuMorph.
hoveredColor := UserInterfaceTheme current get: #highlightTextColor for: SimpleHierarchicalListMorph.
pressedColor := UserInterfaceTheme current get: #errorColor for: TestRunner.
disabledColor := UserInterfaceTheme current get: #disabledTextColor for: MenuItemMorph.

self stateSprites at: 'unpressed' put: (self dyeSprite: anImage with: unpressedColor).
self stateSprites at: 'hovered' put: (self dyeSprite: anImage with: hoveredColor).
self stateSprites at: 'pressed' put: (self dyeSprite: anImage with: pressedColor).
self stateSprites at: 'disabled' put: (self dyeSprite: anImage with: disabledColor)
self stateSprites at: 'unpressed' put: (self dyeSprite: image with: unpressedColor).
self stateSprites at: 'hovered' put: (self dyeSprite: image with: hoveredColor).
self stateSprites at: 'pressed' put: (self dyeSprite: image with: pressedColor).
self stateSprites at: 'disabled' put: (self dyeSprite: image with: disabledColor)
Loading

0 comments on commit 205cecd

Please sign in to comment.