summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index 90ccac8e..ad7ce168 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -110,6 +110,8 @@ enum iWidgetFlag {
110#define dragged_WidgetFlag iBit64(54) 110#define dragged_WidgetFlag iBit64(54)
111#define hittable_WidgetFlag iBit64(55) 111#define hittable_WidgetFlag iBit64(55)
112#define safePadding_WidgetFlag iBit64(56) /* padded using safe area insets */ 112#define safePadding_WidgetFlag iBit64(56) /* padded using safe area insets */
113#define moveToParentBottomEdge_WidgetFlag iBit64(57)
114#define parentCannotResizeHeight_WidgetFlag iBit64(58)
113 115
114enum iWidgetAddPos { 116enum iWidgetAddPos {
115 back_WidgetAddPos, 117 back_WidgetAddPos,
@@ -165,6 +167,7 @@ const iString *id_Widget (const iWidget *);
165int64_t flags_Widget (const iWidget *); 167int64_t flags_Widget (const iWidget *);
166iRect bounds_Widget (const iWidget *); /* outer bounds */ 168iRect bounds_Widget (const iWidget *); /* outer bounds */
167iRect innerBounds_Widget (const iWidget *); 169iRect innerBounds_Widget (const iWidget *);
170iRect boundsWithoutVisualOffset_Widget(const iWidget *);
168iInt2 localCoord_Widget (const iWidget *, iInt2 coord); 171iInt2 localCoord_Widget (const iWidget *, iInt2 coord);
169iBool contains_Widget (const iWidget *, iInt2 coord); 172iBool contains_Widget (const iWidget *, iInt2 coord);
170iBool containsExpanded_Widget (const iWidget *, iInt2 coord, int expand); 173iBool containsExpanded_Widget (const iWidget *, iInt2 coord, int expand);