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

Text layout common constants. More...

Go to the source code of this file.

Enumerations

enum  ui_text_layout_e {
  UI_TEXT_LAYOUT_CENTER_CENTER = 0 , UI_TEXT_LAYOUT_LEFT_TOP , UI_TEXT_LAYOUT_LEFT_BOTTOM , UI_TEXT_LAYOUT_LEFT_CENTER ,
  UI_TEXT_LAYOUT_RIGHT_TOP , UI_TEXT_LAYOUT_RIGHT_BOTTOM , UI_TEXT_LAYOUT_RIGHT_CENTER , UI_TEXT_LAYOUT_CENTER_TOP ,
  UI_TEXT_LAYOUT_CENTER_BOTTOM
}
 Text layout types. More...

Detailed Description

Text layout common constants.

Enumeration Type Documentation

◆ ui_text_layout_e

Text layout types.

Used by several widgets to indicate the text layout.

Enumerator
UI_TEXT_LAYOUT_CENTER_CENTER 

Render the text at the center of the widget.

UI_TEXT_LAYOUT_LEFT_TOP 

Render the text at the top-left of the widget.

UI_TEXT_LAYOUT_LEFT_BOTTOM 

Render the text at the bottom-left of the widget.

UI_TEXT_LAYOUT_LEFT_CENTER 

Render the text at the left of the widget.

UI_TEXT_LAYOUT_RIGHT_TOP 

Render the text at the top-right of the widget.

UI_TEXT_LAYOUT_RIGHT_BOTTOM 

Render the text at the bottom-left of the widget.

UI_TEXT_LAYOUT_RIGHT_CENTER 

Render the text at the right of the widget.

UI_TEXT_LAYOUT_CENTER_TOP 

Render the text at the top of the widget.

UI_TEXT_LAYOUT_CENTER_BOTTOM 

Render the text at the bottom of the widget.