mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsWindow: add member doCenter()
Allows centering of window on screen, mostly senseful for window objects without parent
This commit is contained in:
@@ -89,6 +89,8 @@ class CComponentsWindow : public CComponentsForm
|
||||
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
||||
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0,
|
||||
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
|
||||
///allow centering of window on screen, mostly senseful for window object without parent
|
||||
void doCenter();
|
||||
|
||||
public:
|
||||
enum
|
||||
|
Reference in New Issue
Block a user