diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-06-12 08:17:28 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-06-12 08:17:28 +0200 |
commit | 26d9da7263ce4aed3a787d4e68153bc5fb41dd5c (patch) | |
tree | 1fedb43cf3f2153aee39e2e02a37d9250f8a151a /include | |
parent | c53e6cc20ca0c41a47f834306f453a55b7c117c4 (diff) |
Position the overlay in the top right corner of the listview.
Diffstat (limited to 'include')
-rw-r--r-- | include/widgets/widget.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/widgets/widget.h b/include/widgets/widget.h index 9807aada..28e3a8b1 100644 --- a/include/widgets/widget.h +++ b/include/widgets/widget.h @@ -306,5 +306,21 @@ int widget_get_desired_height ( widget *wid ); * @returns the desired width of the widget in pixels. */ int widget_get_desired_width ( widget *wid ); +/** + * @param wid The widget handle + * + * Get the absolute x-position on the root widget.. + * + * @returns the absolute x-position of widget of the widget in pixels. + */ +int widget_get_absolute_xpos ( widget *wid ); +/** + * @param wid The widget handle + * + * Get the absolute y-position on the root widget.. + * + * @returns the absolute y-position of widget of the widget in pixels. + */ +int widget_get_absolute_ypos ( widget *wid ); /*@}*/ #endif // ROFI_WIDGET_H |