13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui/widgets/widget.h>
37 float _corner_radius_x = 3.f;
38 float _corner_radius_y = 3.f;
39 float _max_image_size = 48.f;
40 color _color_text_description;
41 float _font_size_description = 8.5f;
42 int _png_resource = 0;
45 std::string _description;
46 icon_text_position _text_position = icon_text_position::right;
49 float _opacity = 100.f;
50 void* _p_special_pane_specs =
nullptr;
51 void* _p_image_specs =
nullptr;
56 _rect.size({ 160.f, 58.f });
76 std::string&
text()
override;
357#if defined(LECUI_EXPORTS)
365#if defined(lecui_helper)
367#define get_icon(path) liblec::lecui::widgets::icon::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
@ right
Align text to the right.
@ left
Align text to the left edge.
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.
@ bottom
Align paragraph to the bottom.
@ top
Align paragraph to the top.
Top level namespace for the liblec libraries.
Definition: appearance.h:19