Muteki
EABI code execution on Besta® RTOS devices.
Toggle main menu visibility
Loading...
Searching...
No Matches
component.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024-present dogtopus
3
* SPDX-License-Identifier: MIT
4
*/
5
11
12
#ifndef __MUTEKI_UI_FRAMEWORK_COMPONENT_H__
13
#define __MUTEKI_UI_FRAMEWORK_COMPONENT_H__
14
15
#include "
../types/framework.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
27
void
PVIEW_draw
(
ui_component_t
*self);
28
35
void
PVIEW_EraseBackGround
(
ui_component_t
*self);
36
44
void
PVIEW_handleEvent
(
ui_component_t
*self,
ui_event_t
*e);
45
53
void
PVIEW_setState
(
ui_component_t
*self,
unsigned
short
mask,
bool
set);
54
55
#ifdef __cplusplus
56
}
// extern "C"
57
#endif
58
59
#endif
// __MUTEKI_UI_FRAMEWORK_COMPONENT_H__
PVIEW_draw
void PVIEW_draw(ui_component_t *self)
Draw a component.
PVIEW_setState
void PVIEW_setState(ui_component_t *self, unsigned short mask, bool set)
Change the object state bitmask.
PVIEW_EraseBackGround
void PVIEW_EraseBackGround(ui_component_t *self)
Signal the parent container to restore pixels that were obstructed by this component.
PVIEW_handleEvent
void PVIEW_handleEvent(ui_component_t *self, ui_event_t *e)
Handle incoming events.
framework.h
UI framework type (component, group, event) definitions.
ui_event_t
struct ui_event_std_s ui_event_t
ui_event_std_s
Definition
framework.h:96
ui_component_t
struct ui_component_s ui_component_t
ui_component_s
Definition
framework.h:71
include
muteki
ui
framework
component.h
Generated by
1.18.0