From f7de221dc8fbc13e12b010ec81a0d4ca1a90e93a Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 17 Mar 2012 08:19:55 +0100 Subject: [PATCH] choice_large icon --- data/images/design/choice_large.png | Bin 0 -> 2047 bytes source/Prompts/prompt_device.cpp | 2 +- source/Tools/theme.cpp | 2 ++ source/Tools/theme.h | 1 + source/filelist.h | 3 +++ 5 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 data/images/design/choice_large.png diff --git a/data/images/design/choice_large.png b/data/images/design/choice_large.png new file mode 100644 index 0000000000000000000000000000000000000000..3c015b1da5d24fd32f63fc24d9224582dd56af0d GIT binary patch literal 2047 zcmZ`)c{tQ-8y*H@r;zN-sp+%CU}VXjVJ4L&dk15gpC&YnVXT>voMI$PWhoRIrOS-*WsAZVduK4x=6HJmNWv zqEue?K(MhBok+7x%z>$n68n1%C&;pLP{4 z_n;q24sx(9T9qnh@S`!s+{FN3Gsw*F1vPVIYYrm*DBx9^RaP2P8UsXF(u_`q*>>dE zVN?re&29=fQN-co>+9~|CvD(K>-w?ir=SvBp#k7U!v{WwhfIOw0bZCDCqxd!rI1U^+(o>Osh#u zGI8@~JeH6g@w2zX6<1#XgQToMZQ@F}j%#!Cjw!gQe>kRDxT zn0-XvGaOAIyv=G-JZhXDm`2WO!;`h>dCo*$Q9di<%HCIloRs*vXCEZ+_f!pT_g8wF zcYD|%<2tQ6gNU>MJfg10;A!$YPsKTPb2gBNKR)(FbkR~61O6!ybzI5p*AkNcdL~-) zhT;1oVsUeeMSV8Am*ZAtT6czu)&}yOPFEq)F#wS9R(q8|pY;(1aK-6mXQ-Z^?k6&h z+|}2)*?uw6zucaUP%i_N2%#-`P2ma6AA`!1-LsPEnAV>obEod=cb!qKm6U;L6`pM2 zeL3e~aa8N`*N-ccRT9Q>63#NFy9wV*E*YP&6uPIEC3j1hm=VDo=+H5IL!FcR{w|CL zd!HfV{Frnz4;i|rs-dh`wJ$w#q1Fi*uNK6L5D`azs7F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Mjs8BHD!=rz?}4e<^~6xW2SaBpio3D0ttscBr+vwFR;Jet$e%zVYU zh+uxFM1tAmq&9`gCIJs%=B6NCa2XsHUt6PMUyl&GbA)n4?2tX&*y30Nlzx>RQex|@u1?NuPG{4@Dwz$K`%jgKe?*u} z>C&-1KFma=&#=(jBd@(g!6TcqX1=HkEW^qFxC)3!Z`LArWd_MQE1*{{E$Mk0x@|Du zs1WY_R9FUc5B%g-Jhnf_=?;Hc9wj1uh@nA5tVIX`%O{W#+|cMa-1xYmsR!KD0)enF zGS-C~TEO9HvQ+N>7$WhZI3VHw8`jPu(0qf^{txHz0Fe|#z=G^T@xfS4bYxH%)*TxZ Vnh^Z~Ysqf{p^@htYV9#;{{q)z#GC*C literal 0 HcmV?d00001 diff --git a/source/Prompts/prompt_device.cpp b/source/Prompts/prompt_device.cpp index 38ca8a3..57f0518 100644 --- a/source/Prompts/prompt_device.cpp +++ b/source/Prompts/prompt_device.cpp @@ -31,7 +31,7 @@ int devicePrompt() trigB.SetButtonOnlyTrigger(-1, WPAD_BUTTON_B | WPAD_CLASSIC_BUTTON_B, PAD_BUTTON_B); // Hintergrund - GuiImageData dialogBox(Theme.choice); + GuiImageData dialogBox(Theme.choice_large); GuiImage dialogBoxImg(&dialogBox); // button data diff --git a/source/Tools/theme.cpp b/source/Tools/theme.cpp index 8ca8639..04d228a 100644 --- a/source/Tools/theme.cpp +++ b/source/Tools/theme.cpp @@ -37,6 +37,7 @@ DefaultTheme() Theme.dialog_background = dialog_background_png; Theme.throbber = throbber_png; Theme.choice = choice_png; + Theme.choice_large = choice_large_png; Theme.sd_active = sd_active_png; Theme.sd_inactive = sd_inactive_png; Theme.usb_active = usb_active_png; @@ -185,6 +186,7 @@ void theme(string path) Theme.dialog_background = load_data(Theme.dialog_background , path + "dialog_background.png"); Theme.throbber = load_data(Theme.throbber , path + "throbber.png"); Theme.choice = load_data(Theme.choice , path + "choice.png"); + Theme.choice = load_data(Theme.choice ,path + "choice_large.png"); Theme.sd_active = load_data(Theme.sd_active , path + "sd_active.png"); Theme.sd_inactive = load_data(Theme.sd_inactive , path + "sd_inactive.png"); Theme.usb_active = load_data(Theme.usb_active , path + "usb_active.png"); diff --git a/source/Tools/theme.h b/source/Tools/theme.h index 75e1e0c..11c3919 100644 --- a/source/Tools/theme.h +++ b/source/Tools/theme.h @@ -32,6 +32,7 @@ struct STheme const u8* dialog_background; const u8* throbber; const u8* choice; + const u8* choice_large; const u8* sd_active; const u8* sd_inactive; const u8* usb_active; diff --git a/source/filelist.h b/source/filelist.h index ca4bf12..f20fa6e 100644 --- a/source/filelist.h +++ b/source/filelist.h @@ -170,6 +170,9 @@ extern const u32 throbber_png_size; extern const u8 choice_png[]; extern const u32 choice_png_size; +extern const u8 choice_large_png[]; +extern const u32 choice_large_png_size; + extern const u8 sd_active_png[]; extern const u32 sd_active_png_size;