2020TPC-SW/2020TPCApp1.cydsn/Menu/Menu.h
2025-02-01 19:52:04 -06:00

28 lines
740 B
C

#ifndef MENU_H
#define MENU_H
#include <stdbool.h>
#include <stdint.h>
typedef struct MenuItem_S
{
// Performs the actions required when this MenuItem receives focus.
void (*OnFocus)(bool IncludeDetails);
// Performs the actions required when this MenuItem receives focus.
struct MenuItem_S const * (*OnSelect)(void);
void (*OnIncrement)(void);
void (*OnDecrement)(void);
} MenuItem_T;
MenuItem_T const * const RootMenu;
#include "GameSettings/GameMenuItem.h"
#include "GameSettings/PlayerIDMenuItem.h"
#include "GameSettings/TeamIDMenuItem.h"
#include "HardwareSettings/HardwareMenuItem.h"
#include "HardwareSettings/VolumeMenuItem.h"
#include "HardwareSettings/HandedMenuItem.h"
#endif // MENU_H