Position the overlay in the top right corner of the listview.

This commit is contained in:
Dave Davenport
2017-06-12 08:17:28 +02:00
parent c53e6cc20c
commit 26d9da7263
5 changed files with 53 additions and 18 deletions

View File

@@ -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