Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
static.h File Reference

Static text field (single-line label) widget type definition. More...

#include "framework.h"
#include "text_layout.h"

Go to the source code of this file.

Data Structures

struct  ui_static_s
 Static text field widget struct. More...

Typedefs

typedef struct ui_static_s ui_static_t
 Static text field widget struct.

Enumerations

enum  ui_static_frame_kind_e { UI_STATIC_FRAME_KIND_NONE , UI_STATIC_FRAME_KIND_OUTLINE , UI_STATIC_FRAME_KIND_SUNKEN , UI_STATIC_FRAME_KIND_RAISED }
 Kinds of outer frame style. More...

Functions

static unsigned int ui_static_style_options (enum ui_text_layout_e layout, enum ui_static_frame_kind_e frame_type)
 Format the ui_static_t::style_options value.

Detailed Description

Static text field (single-line label) widget type definition.

Enumeration Type Documentation

◆ ui_static_frame_kind_e

Kinds of outer frame style.

Enumerator
UI_STATIC_FRAME_KIND_NONE 

No frame.

UI_STATIC_FRAME_KIND_OUTLINE 

Draw the outline with the default outline color.

Todo
Link to the system color struct when that is done.
UI_STATIC_FRAME_KIND_SUNKEN 

Sunken look.

UI_STATIC_FRAME_KIND_RAISED 

Raised look.

Function Documentation

◆ ui_static_style_options()

unsigned int ui_static_style_options ( enum ui_text_layout_e layout,
enum ui_static_frame_kind_e frame_type )
inlinestatic

Format the ui_static_t::style_options value.

Parameters
layoutThe layout type.
frame_typeThe frame type.
Returns
The formatted value.