Beginning input refactor
This commit is contained in:
@@ -9,9 +9,31 @@
|
||||
#include "error/error.h"
|
||||
#include "display/camera.h"
|
||||
|
||||
extern camera_t UI_CAMERA;
|
||||
typedef struct {
|
||||
camera_t camera;
|
||||
float_t scale;
|
||||
} ui_t;
|
||||
|
||||
extern ui_t UI;
|
||||
|
||||
/**
|
||||
* Initializes the UI system.
|
||||
*
|
||||
* @return An errorret_t indicating success or failure.
|
||||
*/
|
||||
errorret_t uiInit(void);
|
||||
|
||||
/**
|
||||
* Updates the UI system. Will not render anything.
|
||||
*/
|
||||
void uiUpdate(void);
|
||||
|
||||
/**
|
||||
* Renders the UI system.
|
||||
*/
|
||||
void uiRender(void);
|
||||
|
||||
/**
|
||||
* Disposes of the UI system.
|
||||
*/
|
||||
void uiDispose(void);
|
Reference in New Issue
Block a user