shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
shEngineUI.h
Go to the documentation of this file.
1/**
2 * @file shEngineUI.h
3 *
4 * @brief Declares functions related to setting up the graphical user interface (GUI) for the `shengine` module.
5 */
6
7#ifndef SH_ENGINE_GUI_H
8#define SH_ENGINE_GUI_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif//__cplusplus
13
14
15
16#include <shgui/shgui.h>
17
18
19
20typedef struct ShEngine ShEngine;
21
22
23
24/**
25 * @brief Sets up the graphical user interface for the `shengine` module.
26 *
27 * @param p_engine Valid pointer to a @ref ShEngine structure.
28 * @return Integer status code indicating the success or failure of the operation.
29 */
30extern uint8_t shEngineGuiSetup(
31 ShEngine* p_engine
32);
33
34/**
35 * @brief Releases the graphical user interface and frees gui-related memory.
36 *
37 * @param p_engine Valid pointer to a @ref ShEngine structure.
38 * @return Integer status code indicating the success or failure of the operation.
39 */
40extern uint8_t shEngineGuiRelease(
41 ShEngine* p_engine
42);
43
44
45
46#ifdef __cplusplus
47}
48#endif//__cplusplus
49
50#endif//SH_ENGINE_GUI_H
uint8_t shEngineGuiRelease(ShEngine *p_engine)
Releases the graphical user interface and frees gui-related memory.
Definition shEngineUI.c:71
uint8_t shEngineGuiSetup(ShEngine *p_engine)
Sets up the graphical user interface for the shengine module.
Definition shEngineUI.c:19
Represents the ShEngine structure, which is the main instance of the engine.
Definition shEngine.h:78