22 #include <string_view>
29 class map_formula_callable;
void get_screen_size_variables(wfl::map_formula_callable &variable)
Gets a formula object with the screen size.
color_t decode_color(const std::string &color)
Converts a color string to a color.
t_string missing_widget(const std::string &id)
Returns a default error message if a mandatory widget is omitted.
std::string encode_ellipsize_mode(const PangoEllipsizeMode ellipsize_mode)
Converts a PangoEllipsizeMode to its string representation.
point get_mouse_position()
Returns the current mouse position.
std::string_view debug_truncate(std::string_view text)
Returns a truncated version of the text.
PangoWeight decode_text_weight(const std::string &weight)
Converts a text weight string to a PangoWeight.
font::pango_text::FONT_STYLE decode_font_style(const std::string &style)
Converts a font style string to a font style.
PangoAlignment decode_text_alignment(const std::string &alignment)
Converts a text alignment string to a text alignment.
PangoStyle decode_text_style(const std::string &style)
Converts a text style string to a PangoStyle.
std::string encode_text_alignment(const PangoAlignment alignment)
Converts a PangoAlignment to its string representation.
PangoEllipsizeMode decode_ellipsize_mode(const std::string &ellipsize_mode)
Converts a text ellipsize mode string to a PangoEllipsizeMode.
The basic class for representing 8-bit RGB or RGBA colour values.