1
0
forked from me/IronOS

Format headers

This commit is contained in:
Ben V. Brown
2021-01-17 10:53:49 +11:00
parent f786901da0
commit bf5055edaa
173 changed files with 42831 additions and 47623 deletions

View File

@@ -7,28 +7,28 @@
#ifndef GUI_HPP_
#define GUI_HPP_
#include "Translation.h"
#include "Settings.h"
#include "BSP.h"
#include "Settings.h"
#include "Translation.h"
#define PRESS_ACCEL_STEP 30
#define PRESS_ACCEL_INTERVAL_MIN 100
#define PRESS_ACCEL_INTERVAL_MAX 300
#define PRESS_ACCEL_STEP 30
#define PRESS_ACCEL_INTERVAL_MIN 100
#define PRESS_ACCEL_INTERVAL_MAX 300
//GUI holds the menu structure and all its methods for the menu itself
// GUI holds the menu structure and all its methods for the menu itself
//Declarations for all the methods for the settings menu (at end of this file)
// Declarations for all the methods for the settings menu (at end of this file)
//Struct for holding the function pointers and descriptions
// Struct for holding the function pointers and descriptions
typedef struct {
const char *description;
// return true if increment reached the maximum value
bool (* const incrementHandler)(void);
void (* const draw)(void);
const char *description;
// return true if increment reached the maximum value
bool (*const incrementHandler)(void);
void (*const draw)(void);
} menuitem;
void enterSettingsMenu();
void GUIDelay();
void enterSettingsMenu();
void GUIDelay();
extern const menuitem rootSettingsMenu[];
#endif /* GUI_HPP_ */