mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-26 20:53:07 +00:00
22 lines
345 B
C
22 lines
345 B
C
|
/**
|
||
|
* @file widget_element_i.h
|
||
|
* GUI: internal Widget Element API
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
typedef enum {
|
||
|
GuiButtonTypeLeft,
|
||
|
GuiButtonTypeCenter,
|
||
|
GuiButtonTypeRight,
|
||
|
} GuiButtonType;
|
||
|
|
||
|
typedef void (*ButtonCallback)(GuiButtonType result, InputType type, void* context);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|