Color Picker
* Added history * Added reset button * Added icon * Added dev functions
This commit is contained in:
parent
d98c4e2bb9
commit
d5aefe24c4
BIN
game/interface/wardrobe/icons/brush.webp
(Stored with Git LFS)
Normal file
BIN
game/interface/wardrobe/icons/brush.webp
(Stored with Git LFS)
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -559,23 +559,13 @@ screen wardrobe_menuitem(xx, yy):
|
||||
xanchor 1.0
|
||||
pos (552, 61)
|
||||
|
||||
for i in xrange(current_item.layers):
|
||||
button:
|
||||
focus_mask None
|
||||
xysize (32, 32)
|
||||
background Fixed(icon_transparent, Color(tuple(current_item.color[i])))
|
||||
tooltip "Change colour ("+str(i+1)+")"
|
||||
action Return(["setcolor", i])
|
||||
add icon_frame
|
||||
# Reset Button
|
||||
# Colour picker
|
||||
button:
|
||||
focus_mask None
|
||||
xysize (32, 32)
|
||||
background "#d3d3d3"
|
||||
tooltip "Reset all colours"
|
||||
action Return(["resetcolor"])
|
||||
text "R" align (0.5, 0.5)
|
||||
add icon_frame
|
||||
tooltip "Dye clothing"
|
||||
action Return(["setcolor", 0])
|
||||
add "interface/wardrobe/icons/brush.webp":
|
||||
xysize (32, 32)
|
||||
|
||||
# Subcategory icons
|
||||
hbox:
|
||||
|
Loading…
Reference in New Issue
Block a user