sum icons

This commit is contained in:
Rodrigo Gómez Maitret 2020-03-03 12:39:44 -06:00
parent 1d1085438d
commit a2f83fcfbb
62 changed files with 55 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

BIN
Icons/Regular.lnk Normal file

Binary file not shown.

BIN
Icons/Shiny.lnk Normal file

Binary file not shown.

View File

@ -7,3 +7,4 @@ boxes_spawn();
selected_set();
scr_window_resize();
button_create_persistents();
debug_export_buttons();

View File

@ -0,0 +1,54 @@
// Buttons
var w = sprite_get_width(spr_source) * 2 * 0.25;
var h = sprite_get_height(spr_source) * 2;
draw_set_font(global.font)
draw_set_halign(fa_center);
draw_set_valign(fa_middle);
var charstr = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZéÉ#-'!?():@_.% /♂♀+äöü";
for (var i=0; i<string_length(charstr); i++)
{
var surf = surface_create(w, h);
surface_set_target(surf);
draw_sprite_stretched(spr_source, src.black, 0, 0, w, h);
draw_text_transformed((w/2)+2, (h/2)-2, string_char_at(charstr, i), 3, 3, image_angle);
surface_reset_target();
var spr = sprite_create_from_surface(surf, 0, 0, w, h, false, true, 0, 0);
surface_free(surf);
sprite_save(spr, 0, working_directory+"Export/icon_button_"+string_char_at(charstr, i)+".png");
}
// Slots
var w = sprite_get_width(spr_slot);
var h = sprite_get_height(spr_slot);
for (var i=0; i<=4; i++)
{
var surf = surface_create(w, h);
surface_set_target(surf);
draw_set_color(get_color3(i, false));
draw_rectangle(1, 1, w-1, h-1, false);
draw_set_color(c_white);
draw_sprite_stretched(spr_slot, 0, 0, 0, w, h);
surface_reset_target();
var spr = sprite_create_from_surface(surf, 0, 0, w, h, false, true, 0, 0);
surface_free(surf);
sprite_save(spr, 0, working_directory+"Export/icon_slot_"+string(i)+".png");
}
draw_set_default();