float tref = get_param(); int16_t dec = (int16_t)tref; if (dec >= 0 && dec < 100) { lv_label_set_text_fmt(LabelTRef, "#ffffff %d", dec); int16_t dot = (tref * 10) - (dec * 10); if (dot < 10) lv_label_set_text_fmt(LabelTRefRes, "#ffffff .%d", dot); ...
* - lv_label_t : Text set to "Text", else empty string. * */ #define LV_WIDGETS_HAS_DEFAULT_VALUE 1 #define LV_USE_ANIMIMG 1 #define LV_USE_ARC 1 #define LV_USE_BAR 1 #define LV_USE_BUTTON 1 #define LV_USE_BUTTONMATRIX 1 #define LV_USE_CALENDAR 1 #if LV_USE_CALENDAR ...
* - lv_dropdown_t : Options set to "Option 1", "Option 2", "Option 3", else no values are set. * - lv_roller_t : Options set to "Option 1", "Option 2", "Option 3", "Option 4", "Option 5", else no values are set. * - lv_label_t : Text set to "Text", else ...
#define LV_USE_DROPDOWN 1 /*Requires: lv_label*/ #define LV_USE_IMAGE 1 /*Requires: lv_label*/ #define LV_USE_IMAGEBUTTON 1 #define LV_USE_KEYBOARD 1 #define LV_USE_LABEL 1 #if LV_USE_LABEL #define LV_LABEL_TEXT_SELECTION 1 /*Enable selecting text of the label*/ #...
#if LV_USE_LABEL #define LV_LABEL_TEXT_SELECTION 1 /*Enable selecting text of the label*/ #define LV_LABEL_LONG_TXT_HINT 1 /*Store some extra info in labels to speed up drawing of very long texts*/ #define LV_LABEL_WAIT_CHAR_COUNT 3 /*The count of wait chart*/ #endif ...
#define LV_USE_LABEL CONFIG_LV_USE_LABEL #else #define LV_USE_LABEL 0 #endif #else #define LV_USE_LABEL 1 #endif #endif #if LV_USE_LABEL #ifndef LV_LABEL_TEXT_SELECTION #ifdef _LV_KCONFIG_PRESENT #ifdef CONFIG_LV_LABEL_TEXT_SELECTION ...
#if LV_USE_LABEL # define LV_LABEL_TEXT_SELECTION 1 /*Enable selecting text of the label*/ # define LV_LABEL_LONG_TXT_HINT 1 /*Store some extra info in labels to speed up drawing of very long texts*/ #endif #define LV_USE_LINE 1 #define LV_USE_ROLLER 1 /*Requires: lv...
/*A line text can contain maximum num of span descriptor */ #define LV_SPAN_SNIPPET_STACK_SIZE 64 #endif #define LV_USE_SPINBOX 1 #define LV_USE_SPINNER 1 #define LV_USE_SWITCH 1 #define LV_USE_TEXTAREA 1 /*Requires: lv_label*/ #if LV_USE_TEXTAREA != 0 #define ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...