gui/widgets/region.h file

Base widget class for Region's.

Contents

Functions

void region_widget_setup(RegionWidget* self, Region* region)
Sets up the RegionWidget.
auto region_widget_is_resize_l(RegionWidget* self, int x) -> int
Returns if the current position is for resizing L.
auto region_widget_is_resize_r(RegionWidget* self, int x) -> int
Returns if the current position is for resizing R.
void region_widget_draw_name(RegionWidget* self, cairo_t* cr)
Draws the name of the Region.
void region_widget_delete(RegionWidget* self)
Destroys the widget completely.
auto region_widget_get_private(RegionWidget* self) -> RegionWidgetPrivate*
Returns the private struct.