From 5d77674c04a695b0daf630e85f38cc47f0a19cc9 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 17 Mar 2012 18:54:18 +0100 Subject: [PATCH] support code for new icons + NEWS --- source/Tools/theme.cpp | 4 ++++ source/Tools/theme.h | 2 ++ source/filelist.h | 6 ++++++ updates | 10 +++++++++- 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/source/Tools/theme.cpp b/source/Tools/theme.cpp index 04d228a..4e60e55 100644 --- a/source/Tools/theme.cpp +++ b/source/Tools/theme.cpp @@ -54,6 +54,8 @@ DefaultTheme() Theme.gc_inactive = gc_inactive_png; Theme.wii_gc_active = wii_gc_active_png; Theme.wii_gc_inactive = wii_gc_inactive_png; + Theme.loader_active = loader_active_png; + Theme.loader_inactive = loader_inactive_png; Theme.power_active = power_active_png; Theme.power_inactive = power_inactive_png; Theme.settings_active = settings_active_png; @@ -197,6 +199,8 @@ void theme(string path) Theme.dvd_inactive = load_data(Theme.dvd_inactive , path + "dvd_inactive.png"); Theme.all_active = load_data(Theme.all_active , path + "all_active.png"); Theme.all_inactive = load_data(Theme.all_inactive , path + "all_inactive.png"); + Theme.loader_active = load_data(Theme.loader_active , path + "loader_active.png"); + Theme.loader_inactive = load_data(Theme.loader_inactive , path + "loader_inactive.png"); Theme.wii_active = load_data(Theme.wii_active , path + "wii_active.png"); Theme.wii_inactive = load_data(Theme.wii_inactive , path + "wii_inactive.png"); Theme.gc_active = load_data(Theme.gc_active , path + "gc_active.png"); diff --git a/source/Tools/theme.h b/source/Tools/theme.h index 11c3919..f045c6e 100644 --- a/source/Tools/theme.h +++ b/source/Tools/theme.h @@ -43,6 +43,8 @@ struct STheme const u8* dvd_inactive; const u8* all_active; const u8* all_inactive; + const u8* loader_active; + const u8* loader_inactive; const u8* wii_active; const u8* wii_inactive; const u8* gc_active; diff --git a/source/filelist.h b/source/filelist.h index f20fa6e..73e2796 100644 --- a/source/filelist.h +++ b/source/filelist.h @@ -203,6 +203,12 @@ extern const u32 dvd_inactive_png_size; extern const u8 all_inactive_png[]; extern const u32 all_inactive_png_size; +extern const u8 loader_active_png[]; +extern const u32 loader_active_png_size; + +extern const u8 loader_inactive_png[]; +extern const u32 loader_inactive_png_size; + extern const u8 wii_active_png[]; extern const u32 wii_active_png_size; diff --git a/updates b/updates index 0dcdae0..6a93211 100644 --- a/updates +++ b/updates @@ -8,8 +8,16 @@ - Basic (= non-working) support for Homebew on DVD - No longer show the HBC if it's installed - changing pages in an empty category no longer crashes -- compiled with devkitppc 25-1 and libogc 1.8.10 - Accessing devices formatted as EXT2/3/4 should now be noticeably faster +- compiled with devkitppc 25-1 and libogc 1.8.10 (support for latest WiiMotes) +- For theme-creators: the following new icons have been added: +* choice_large (device menu) +* dvd_active (device menu) +* dvd_inactive (device menu) +* all_active (device menu) +* all_inactive (device menu) +* loader_active (loader menu) +* loader_inactive (loader menu) //rev36: - HBF is now OpenSource!