mirror of
https://github.com/flipperdevices/flipperzero-firmware.git
synced 2025-12-13 13:29:50 +04:00
14 lines
316 B
C
14 lines
316 B
C
|
|
#pragma once
|
||
|
|
#include <stdint.h>
|
||
|
|
#include <gui/canvas.h>
|
||
|
|
|
||
|
|
typedef struct GuiElement GuiElement;
|
||
|
|
|
||
|
|
/** Allocate GuiElement element
|
||
|
|
* @param x - x coordinate
|
||
|
|
* @param y - y coordinate
|
||
|
|
* @param icon Icon instance
|
||
|
|
* @return GuiElement instance
|
||
|
|
*/
|
||
|
|
GuiElement* gui_icon_create(uint8_t x, uint8_t y, const Icon* icon);
|