Wardrobe 2.0 - Colour Picker
This commit is contained in:
parent
15258bf596
commit
9c29c1392d
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_bar.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_bar.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_outline.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_outline.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch_circular.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch_circular.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch_empty.png
(Stored with Git LFS)
Normal file
BIN
game/gui/creamy_pumpkin_pie/colorpicker/colorpicker_swatch_empty.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -34,10 +34,10 @@ init python:
|
||||
def crop_whitespace_surface(displayable):
|
||||
surf = renpy.render_to_surface(displayable, width=1010, height=1200)
|
||||
size = surf.get_size()
|
||||
box = tuple(surf.get_bounding_rect())
|
||||
box = (int(i) for i in surf.get_bounding_rect())
|
||||
if size[0] != 1010:
|
||||
ratio = size[0]/1010
|
||||
box = tuple(v//ratio for v in box)
|
||||
box = tuple(int(v//ratio) for v in box)
|
||||
return box
|
||||
|
||||
def crop_image_zoom(path, xsize, ysize, grayscale=False):
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user