1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00
Files
unleashed-firmware/applications/services/gui/modules/widget_elements/widget_element.h

25 lines
372 B
C
Raw Normal View History

/**
* @file widget_element_i.h
* GUI: internal Widget Element API
*/
#pragma once
#include <input/input.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
GuiButtonTypeLeft,
GuiButtonTypeCenter,
GuiButtonTypeRight,
} GuiButtonType;
typedef void (*ButtonCallback)(GuiButtonType result, InputType type, void* context);
#ifdef __cplusplus
}
#endif