Function flipperzero_sys::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 c_char
)Expand description
Add Text Scroll Element
Arguments
widget- Widget instancex- x coordinatey- y coordinatewidth- width to fit textheight- height to fit texttext- [Direction: In] Formatted text. Default format: align left, Secondary font. The following formats are available:-
- text“* - sets bold font before until next ‘\n’ symbol
- text\e*“* - sets monospaced font before until next ‘\n’ symbol
- text“* - sets center horizontal align until the next ‘\n’ symbol
- text“* - sets right horizontal align until the next ‘\n’ symbol
-