Merge branch 'master' of github.com:3dsfug/Anemone3DS
This commit is contained in:
@@ -206,7 +206,7 @@ void draw_theme_interface(Theme_s * themes_list, int theme_count, int selected_t
|
|||||||
pp2d_draw_wtext(200, 180, 0.6, 0.6, COLOR_WHITE, L"\uE001 Queue Shuffle");
|
pp2d_draw_wtext(200, 180, 0.6, 0.6, COLOR_WHITE, L"\uE001 Queue Shuffle");
|
||||||
pp2d_draw_wtext(20, 210, 0.6, 0.6, COLOR_WHITE, L"\uE002 Install BGM");
|
pp2d_draw_wtext(20, 210, 0.6, 0.6, COLOR_WHITE, L"\uE002 Install BGM");
|
||||||
pp2d_draw_wtext(200, 210, 0.6, 0.6, COLOR_WHITE, L"\uE003 Preview Theme");
|
pp2d_draw_wtext(200, 210, 0.6, 0.6, COLOR_WHITE, L"\uE003 Preview Theme");
|
||||||
|
pp2d_draw_wtext(130, 120, 0.6, 0.6, COLOR_WHITE, L"\uE005 Scan QRCode");
|
||||||
pp2d_draw_on(GFX_BOTTOM);
|
pp2d_draw_on(GFX_BOTTOM);
|
||||||
|
|
||||||
// Scroll the menu up or down if the selected theme is out of its bounds
|
// Scroll the menu up or down if the selected theme is out of its bounds
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ int main(void)
|
|||||||
{
|
{
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
u32 kDown = hidKeysDown();
|
u32 kDown = hidKeysDown();
|
||||||
|
u32 kHeld = hidKeysHeld();
|
||||||
|
|
||||||
if (qr_mode)
|
if (qr_mode)
|
||||||
{
|
{
|
||||||
@@ -266,6 +267,37 @@ int main(void)
|
|||||||
if (selected_theme >= theme_count) selected_theme = theme_count-1;
|
if (selected_theme >= theme_count) selected_theme = theme_count-1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Fast scroll using circle pad
|
||||||
|
else if (kHeld & KEY_CPAD_UP)
|
||||||
|
{
|
||||||
|
svcSleepThread(100000000);
|
||||||
|
|
||||||
|
if (splash_mode)
|
||||||
|
{
|
||||||
|
selected_splash--;
|
||||||
|
if (selected_splash < 0)
|
||||||
|
selected_splash = splash_count - 1;
|
||||||
|
} else {
|
||||||
|
selected_theme--;
|
||||||
|
if (selected_theme < 0)
|
||||||
|
selected_theme = theme_count - 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (kHeld & KEY_CPAD_DOWN)
|
||||||
|
{
|
||||||
|
svcSleepThread(100000000);
|
||||||
|
|
||||||
|
if (splash_mode)
|
||||||
|
{
|
||||||
|
selected_splash++;
|
||||||
|
if (selected_splash >= splash_count)
|
||||||
|
selected_splash = 0;
|
||||||
|
} else {
|
||||||
|
selected_theme++;
|
||||||
|
if (selected_theme >= theme_count)
|
||||||
|
selected_theme = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!splash_mode && selected_theme != previously_selected)
|
if (!splash_mode && selected_theme != previously_selected)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user