Add virtual navigation buttons to game launcher
- Display < PREV and NEXT > buttons at bottom of screen when multiple pages exist - Buttons are touchable and respond to taps - Button dimensions: 150x40 at y=235 - PREV button: x=30, NEXT button: x=200 - Updated instructions to show 'Touch buttons or KEY0/KEY1' - Both KEY0/KEY1 and touch button presses navigate pages - Updated lib/ and emulator/ versions
This commit is contained in:
@@ -102,6 +102,11 @@ private:
|
||||
static const int MENU_ITEM_HEIGHT = 40;
|
||||
static const int MENU_PADDING = 10;
|
||||
static const int GAMES_PER_PAGE = 4;
|
||||
static const int NAV_BUTTON_Y = 235; // Bottom navigation buttons
|
||||
static const int PREV_BUTTON_X = 30;
|
||||
static const int NEXT_BUTTON_X = 200;
|
||||
static const int BUTTON_WIDTH = 150;
|
||||
static const int BUTTON_HEIGHT = 40;
|
||||
|
||||
// Helper functions for pagination
|
||||
int get_total_pages() const;
|
||||
|
||||
Reference in New Issue
Block a user