2015-06-16 00:23:57 +08:00
|
|
|
//
|
|
|
|
// debug_hud.h
|
|
|
|
// imguiex
|
|
|
|
|
2015-07-08 11:35:09 +08:00
|
|
|
#pragma once
|
2015-06-16 00:23:57 +08:00
|
|
|
|
|
|
|
typedef struct DebugHUD
|
|
|
|
{
|
2017-12-25 01:16:22 +08:00
|
|
|
bool show_demo_window;
|
2018-01-31 07:16:44 +08:00
|
|
|
bool show_another_window;
|
2015-06-16 00:23:57 +08:00
|
|
|
float rotation_speed;
|
|
|
|
float cubeColor1[4];
|
|
|
|
float cubeColor2[4];
|
|
|
|
} DebugHUD;
|
|
|
|
|
|
|
|
#if __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2018-01-31 07:16:44 +08:00
|
|
|
void DebugHUD_InitDefaults(DebugHUD *hud);
|
|
|
|
void DebugHUD_DoInterface(DebugHUD *hud);
|
2015-06-16 00:23:57 +08:00
|
|
|
|
|
|
|
#if __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|