Function flipper0::ffi::widget_add_text_scroll_element
source · pub unsafe extern "C" fn widget_add_text_scroll_element(
widget: *mut Widget,
x: u8,
y: u8,
width: u8,
height: u8,
text: *const i8
)
Expand description
Add Text Scroll Element
@param widget Widget instance @param x x coordinate @param y y coordinate @param width width to fit text @param height height to fit text @param[in] text Formatted text. Default format: align left, Secondary font. The following formats are available: “\e#Bold text” - sets bold font before until next ‘\n’ symbol “\ecCenter-aligned text” - sets center horizontal align until the next ‘\n’ symbol “\erRight-aligned text” - sets right horizontal align until the next ‘\n’ symbol