13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui/form.h>
92 const std::string& font,
const float font_size,
104 const std::string& font,
const float font_size,
Manipulate a form's controls.
Definition: controls.h:23
controls(form &fm)
Class constructor.
controls & start_hidden(bool hidden)
Whether to keep the form hidden after its creation.
controls & allow_resize(bool enable)
Whether to allow a form to be resizable.
controls & allow_minimize(bool enable)
Whether to add a minimize control button to the form.
~controls()
Class destructor.
controls & make_top_most(bool enable)
Whether to make this a top most form.
Manipulate a form's dimensions.
Definition: controls.h:74
lecui::rect working_area()
Get the working area of the screen. This is the part of the screen that excludes the operating system...
~dimensions()
Class destructor.
lecui::rect measure_label(const std::string &formatted_text, const std::string &font, const float font_size, text_alignment alignment, paragraph_alignment paragraph_alignment, const lecui::rect max_rect)
Measure how much space a label will take.
lecui::rect cursor_rect()
Get the position of the mouse cursor.
lecui::rect measure_html_widget(const std::string &formatted_text, const std::string &font, const float font_size, text_alignment alignment, const bool editor, const lecui::rect max_rect)
Measure how much space an html widget will take.
dimensions(form &fm)
Class constructor.
const lecui::point get_position()
Get the form's position.
dimensions & set_minimum(const lecui::size &size)
Set the form's minimum size.
const lecui::size get_design_size()
Get the form's design size.
dimensions & set_size(const lecui::size &size)
Set the form's size.
const lecui::size get_size()
Get the form's size.
const lecui::size & get_minimum()
Get the form's minimum size.
A point.
Definition: lecui.h:76
Rectangle class.
Definition: lecui.h:158
Size of a rectangular structure.
Definition: lecui.h:117
text_alignment
Text alignment.
Definition: lecui.h:951
paragraph_alignment
Paragraph alignment.
Definition: lecui.h:966
Top level namespace for the liblec libraries.
Definition: appearance.h:19