Raspberry Pi Weighting Control System
This project serves as a simple weighting control system, that was realized as a Bachelor Thesis
|
This is a special element, that doesn't wrap any ImGui function. This is used to render ImGui directly through calling a function. More...
#include <gui_direct.h>
Public Member Functions | |
gui_direct (void(*func)()) | |
Construct a new gui direct object. More... | |
void | render_element () |
![]() | |
void | set_refresh_screen (bool *refresh_flag) |
Additional Inherited Members | |
![]() | |
int | index = -1 |
![]() | |
int | width = -1 |
int | x = -1 |
int | y = -1 |
bool * | refresh_screen = nullptr |
This is a special element, that doesn't wrap any ImGui function. This is used to render ImGui directly through calling a function.
Definition at line 12 of file gui_direct.h.
gui_direct::gui_direct | ( | void(*)() | func | ) |
Construct a new gui direct object.
func | that has ImGui logic |
Definition at line 5 of file gui_direct.cpp.
|
virtual |
Override of parent function, that is required, because it does the actual rendering of the element
Reimplemented from gui_element.
Definition at line 9 of file gui_direct.cpp.