mirror of
https://github.com/risingPhil/PokeMe64.git
synced 2026-09-07 00:05:31 -05:00
Feature/scroll indication (#3)
Add scroll arrows when there are more items in the list than the list can show at a time. These arrows can be shown in the main menu (although there aren't enough items in there to have them shown) or in the various DistributionEventPokemonListScene menus. I also did provisions to support the same for the ScrollWidget in the about screen. Although I haven't implemented that (yet?)
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
|
||||
#include <libdragon.h>
|
||||
|
||||
enum class UINavigationKey
|
||||
enum class UINavigationDirection
|
||||
{
|
||||
NONE,
|
||||
UP,
|
||||
RIGHT,
|
||||
DOWN,
|
||||
LEFT
|
||||
LEFT,
|
||||
MAX
|
||||
};
|
||||
|
||||
enum class NavigationInputSourceType
|
||||
@@ -24,6 +24,6 @@ enum class NavigationInputSourceType
|
||||
* This function determines whether the joypad_inputs_t has analog or dpad positions/presses that could be considered for UI navigation.
|
||||
* If so, it will return the most prominent direction.
|
||||
*/
|
||||
const UINavigationKey determineUINavigationKey(joypad_inputs_t inputs, NavigationInputSourceType sourceType);
|
||||
const UINavigationDirection determineUINavigationDirection(joypad_inputs_t inputs, NavigationInputSourceType sourceType);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user