Initial public release.
This commit is contained in:
parent
7b169e8116
commit
dac4af8d25
255 changed files with 68595 additions and 2 deletions
28
2020TPCApp1.cydsn/Menu/Menu.h
Normal file
28
2020TPCApp1.cydsn/Menu/Menu.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
#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
|
Loading…
Add table
Add a link
Reference in a new issue