13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui/widgets/widget.h>
29 std::string font =
"Segoe UI";
30 float font_size = 9.f;
34 bool _editable =
false;
35 color _color_fill_editable;
38 color _color_dropdown;
39 color _color_dropdown_hot;
40 color _color_dropdown_arrow;
41 color _color_dropdown_arrow_hot;
43 float _corner_radius_x = 2.f;
44 float _corner_radius_y = 2.f;
45 std::vector<combobox_item> _items;
48 bool _force_numerical_sort =
false;
49 std::string _selected;
54 _rect.size({ 200.f, 25.f });
61 std::function<void(
const std::string&)> selection =
nullptr;
67 return _combobox_events;
86 std::string&
text()
override;
295 std::vector<combobox_item>&
items();
379#if defined(lecui_helper)
381#define get_combobox(path) liblec::lecui::widgets::combobox::get(*this, path)
RGBA color on a standard 0 to 255 scale. For the alpha channel 0 is transparent and 255 is opaque.
Definition: lecui.h:583
Page container.
Definition: page.h:32
Rectangle class.
Definition: lecui.h:158
Resize parameters.
Definition: lecui.h:363
image_quality
Image render quality. Used when resampling images.
Definition: lecui.h:916
@ high
High image quality, for best image quality possibly at the cost of rendering speed.
sort_options
Sort options.
Definition: lecui.h:679
@ ascending
Sort in ascending order.
Top level namespace for the liblec libraries.
Definition: appearance.h:19