From 36dec903dbaa88f90940b834ca0d29319ce3c37e Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Fri, 14 Jan 2005 10:13:23 +0000 Subject: [PATCH] Created 'down arrow' for pop-up prompt windows. (Stop abusing 'shrink' tool icon.) --- data/images/ui/popup_arrow.png | Bin 0 -> 677 bytes src/tuxpaint.c | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 data/images/ui/popup_arrow.png diff --git a/data/images/ui/popup_arrow.png b/data/images/ui/popup_arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..260197f56ea20341ebb8a30ec1effd976bc7425c GIT binary patch literal 677 zcmV;W0$TlvP)<0etm|Ej){wi zj){nqm6Dm1lANESpP-$otEjWJvb40fxU;gmz{0-3y~Dn|$jZmd$<5N#(a_b{*wfS7 z;N#!m-Q?%v=<4U|>Fw?B>+kjV^Y!ug^YQxp`Tqa>f}Edh00009a7bBm000XU000XU z0RWnu7ytkO2XskIMF-UZ4hRQ2)W&CW0000TbVXQnLvL+uWo~o;Lvm$dbY)~9cWHEJ zAXI2&AV*0}Q14_VZU6uQPf0{UR5;7U)eldCKo|ya5~K1e(o(bpDXfT!3hg-Yr0@T& zdO6fiC-v+#Fhw-&fjQ>?rIhArIi_E4_2_Yt8o(WW3<+EI%N=BnGC83NH zs6O7cKo!5f#YLkfj-h&vqN3A?q8F&1^g#6(hSbAyf$F}@gPNfVhJniPj*g)6{ab%9 z@YUi&<$12>_1(TlaiO|Vxu!-PD#z(`J6%f0ak@~o^+0ubMUA2+sG5|E<~&f@%beRb zRII@mJ7ugv;|!{kMUH7eWm(pd>W9>zGR>NKVA5Qp2`WR+Z)_kj`Y^H(tb_7C$7O+i7oSJ`%P00000 LNkvXXu0mjfs3J7I literal 0 HcmV?d00001 diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 18cf9ce80..9cc697367 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -1451,6 +1451,7 @@ static SDL_Surface * img_black, * img_grey; static SDL_Surface * img_yes, * img_no; static SDL_Surface * img_open, * img_erase, * img_back, * img_trash; static SDL_Surface * img_printer, * img_printer_wait, * img_save_over; +static SDL_Surface * img_popup_arrow; static SDL_Surface * img_cursor_up, * img_cursor_down; static SDL_Surface * img_cursor_starter_up, * img_cursor_starter_down; static SDL_Surface * img_scroll_up, * img_scroll_down; @@ -7016,8 +7017,11 @@ static void setup(int argc, char * argv[]) img_back = loadimage(DATA_PREFIX "images/ui/back.png"); img_trash = loadimage(DATA_PREFIX "images/ui/trash.png"); + img_popup_arrow = loadimage(DATA_PREFIX "images/ui/popup_arrow.png"); + img_printer = loadimage(DATA_PREFIX "images/ui/printer.png"); img_printer_wait = loadimage(DATA_PREFIX "images/ui/printer_wait.png"); + img_save_over = loadimage(DATA_PREFIX "images/ui/save_over.png"); img_grow = loadimage(DATA_PREFIX "images/ui/grow.png"); @@ -13304,7 +13308,7 @@ static int do_open(int want_new_tool) if (do_prompt_image(PROMPT_ERASE_TXT, PROMPT_ERASE_YES, PROMPT_ERASE_NO, thumbs[which], - img_shrink, + img_popup_arrow, img_trash)) { snprintf(fname, sizeof(fname), "saved/%s%s",