Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 50) sorted by relevance

12

/lvgl-latest/src/widgets/dropdown/
Dlv_dropdown.c179 void lv_dropdown_set_options(lv_obj_t * obj, const char * options) in lv_dropdown_set_options() argument
182 LV_ASSERT_NULL(options); in lv_dropdown_set_options()
189 for(i = 0; options[i] != '\0'; i++) { in lv_dropdown_set_options()
190 if(options[i] == '\n') dropdown->option_cnt++; in lv_dropdown_set_options()
198 size_t len = lv_strlen(options) + 1; in lv_dropdown_set_options()
200 size_t len = lv_text_ap_calc_bytes_count(options) + 1; in lv_dropdown_set_options()
203 if(dropdown->options != NULL && dropdown->static_txt == 0) { in lv_dropdown_set_options()
204 lv_free(dropdown->options); in lv_dropdown_set_options()
205 dropdown->options = NULL; in lv_dropdown_set_options()
208 dropdown->options = lv_malloc(len); in lv_dropdown_set_options()
[all …]
Dlv_dropdown.h83 void lv_dropdown_set_options(lv_obj_t * obj, const char * options);
91 void lv_dropdown_set_options_static(lv_obj_t * obj, const char * options);
Dlv_dropdown_private.h39 char * options; /**< Options in a '\n' separated list*/ member
/lvgl-latest/tests/unity/
Drun_test.erb16 <% if @options[:plugins].include?(:cexception) %>
19 <%= @options[:setup_name] %>();
25 <%= @options[:setup_name] %>();
31 <%= @options[:teardown_name] %>();
/lvgl-latest/docs/_ext/
Dlink_roles.py22 def link_to_translation(name, rawtext, text, lineno, inliner, options={}, content=[]): argument
24 node['expr'] = (rawtext, text, options)
36 rawtext, text, options = node['expr']
48 node.replace_self(nodes.reference(rawtext, link_text, refuri=url, **options))
Dlv_example.py63 excluded_languages = self.options.get('excluded_languages', [])
/lvgl-latest/docs/details/integration/os/yocto/
Dcore_components.rst41 To see a list of the options BitBake supports, use either of the
83 which special configuration options to apply, how to compile the source
113 into several areas that define machine configuration options,
114 distribution configuration options, compiler tuning options, general
115 common configuration options, and user configuration options in
/lvgl-latest/env_support/pikascript/
Dpika_lv_wegit.c194 void pika_lvgl_dropdown_set_options(PikaObj* self, char* options) { in pika_lvgl_dropdown_set_options() argument
196 lv_dropdown_set_options(lv_obj, options); in pika_lvgl_dropdown_set_options()
199 void pika_lvgl_dropdown_add_option(PikaObj *self, char* options, int pos){ in pika_lvgl_dropdown_add_option() argument
201 lv_dropdown_add_option(lv_obj, options, pos); in pika_lvgl_dropdown_add_option()
318 void pika_lvgl_roller_set_options(PikaObj* self, char* options, int mode) { in pika_lvgl_roller_set_options() argument
320 lv_roller_set_options(lv_obj, options, mode); in pika_lvgl_roller_set_options()
Dpika_lvgl.pyi215 def set_options(self, options: str): ...
245 def set_options(self, options: str, mode: int): ...
/lvgl-latest/src/widgets/roller/
Dlv_roller.c128 void lv_roller_set_options(lv_obj_t * obj, const char * options, lv_roller_mode_t mode) in lv_roller_set_options() argument
131 LV_ASSERT_NULL(options); in lv_roller_set_options()
142 for(cnt = 0; options[cnt] != '\0'; cnt++) { in lv_roller_set_options()
143 if(options[cnt] == '\n') roller->option_cnt++; in lv_roller_set_options()
149 lv_label_set_text(label, options); in lv_roller_set_options()
160 size_t opt_len = lv_strlen(options) + 1; /*+1 to add '\n' after option lists*/ in lv_roller_set_options()
170 lv_strcpy(&opt_extra[opt_len * i], options); in lv_roller_set_options()
225 const char * options = lv_roller_get_options(obj); in lv_roller_set_selected_str() local
226 size_t options_len = lv_strlen(options); in lv_roller_set_selected_str()
234 if(options[i] == '\n') { in lv_roller_set_selected_str()
[all …]
Dlv_roller.h73 void lv_roller_set_options(lv_obj_t * obj, const char * options, lv_roller_mode_t mode);
/lvgl-latest/docs/details/widgets/
Ddropdown.rst76 as the ``options`` argument to :cpp:expr:`lv_dropdown_set_options(dropdown, options)`.
84 To save memory the options can be set from a static (const) string as well
85 with :cpp:expr:`lv_dropdown_set_options_static(dropdown, options)`. In this case
86 the options string's contents must remain available for the life of the Drop-Down
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_settings.h78 const char * options);
Dlv_demo_smartwatch.h280 const char * options);
Dlv_demo_smartwatch_settings.c185 const char * options) in lv_demo_smartwatch_settings_add_dropdown() argument
207 lv_dropdown_set_options(dropdown, options); in lv_demo_smartwatch_settings_add_dropdown()
/lvgl-latest/docs/intro/add-lvgl-to-your-project/
Dconfiguration.rst32 options (e.g. ``-DLV_CONF_INCLUDE_SIMPLE`` for GCC compiler) and set the
45 options. For example ``"-DLV_COLOR_DEPTH=32 -DLV_USE_BUTTON=1"``. Unset
46 options will get a default value which is the same as the content of
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_settings.c162 static lv_obj_t * dropdown_create(lv_obj_t * parent, const char * title, const char * options, lv_s… in dropdown_create() argument
180 lv_dropdown_set_options(dd, options); in dropdown_create()
/lvgl-latest/docs/details/debugging/
Dvg_lite_tvg.rst26 …LITE_THORVG` and set :c:macro:`LV_DRAW_BUF_ALIGN` to 64. The rest of the options can remain defaul…
/lvgl-latest/src/libs/thorvg/rapidjson/
Dprettywriter.h85 PrettyWriter& SetFormatOptions(PrettyFormatOptions options) { in SetFormatOptions() argument
86 formatOptions_ = options; in SetFormatOptions()
/lvgl-latest/docs/
Dbuild.py443 options = {
448 dirsync.sync('.', temp_directory, 'update', **options)
/lvgl-latest/.github/
Dpull_request_template.md9 - If you added new options to `lv_conf_template.h` run [lv_conf_internal_gen.py](https://github.com…
/lvgl-latest/demos/flex_layout/
Dlv_demo_flex_layout_view_ctrl_pad.c85 static lv_obj_t * ddlist_create(lv_obj_t * par, const char * name, const char * options) in ddlist_create() argument
97 lv_dropdown_set_options_static(ddlist, options); in ddlist_create()
/lvgl-latest/docs/details/integration/driver/
DX11.rst31 2. Optional configuration options:
Dlibinput.rst51 …KB_KEY_MAP { .rules = NULL, .model = "pc101", .layout = "us", .variant = NULL, .options = NULL }
/lvgl-latest/tests/
DCMakeLists.txt25 set(options ${ARGN}) variable
26 foreach(option ${options})
152 message(FATAL_ERROR "Must provide a known options value (check main.py?).")

12