cOMS/ui/UICursor.h
Dennis Eichhorn 4f1cbd98f9
Some checks failed
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Has been cancelled
started templating
2025-03-21 01:08:09 +00:00

28 lines
612 B
C

#ifndef COMS_UI_CURSOR_H
#define COMS_UI_CURSOR_H
#include "../stdlib/Types.h"
#include "attribute/UIAttributeDimension.h"
#include "UILayout.h"
#include "UIElement.h"
struct UICursorState {
};
struct UICursor {
UIAttributeDimension dimension;
byte opacity; // 1 byte alpha channel
};
int32 ui_cursor_element_update(UILayout* layout, UIElement* element)
{
//UICursor* input = (UICursor *) (layout->data + element->style_types[element->style_new]);
//UICursorState* state = (UICursorState *) (layout->data + element->state);
(void *) layout;
(void *) element;
return 0;
}
#endif