Sim GUI: Add option to disable outputs on DS disable

This commit is contained in:
Peter Johnson
2019-10-21 00:33:51 -07:00
parent 2d3dac99f0
commit acf960f729
6 changed files with 40 additions and 7 deletions

View File

@@ -23,6 +23,7 @@ void HALSIMGUI_SetWindowVisibility(const char* name, int32_t visibility);
void HALSIMGUI_SetDefaultWindowPos(const char* name, float x, float y);
void HALSIMGUI_SetDefaultWindowSize(const char* name, float width,
float height);
int HALSIMGUI_AreOutputsDisabled(void);
} // extern "C"
@@ -125,6 +126,13 @@ class HALSimGui {
* @param height height
*/
static void SetDefaultWindowSize(const char* name, float width, float height);
/**
* Returns true if outputs are disabled.
*
* @return true if outputs are disabled, false otherwise.
*/
static bool AreOutputsDisabled();
};
} // namespace halsimgui