ControlContext :: size - Control size
The control size property provides the current control size in pixels, which is the size for the complete control regardles on parts of the control, which are not visible.
Return value: Size of rectangle ( odabagui::Size )
Size is usually defined in pixel width and pixel height.
Implementation overview
- Get control size
ControlContext :: size (  ) - Change control size
ControlContext :: size ( cSize )
Implementation details
-
Get control size
odabagui::Size ControlContext  :: size (  )
The function returns the size of the outer control area in pixel.
to list
-
Change control size
odabagui::Size ControlContext  :: size ( odabagui::Size &cSize )
Changing the control size for visible GUI elements becomes imediately visible.
- cSize
- Size of rectangle
Size is usually defined in pixel width and pixel height.
to list
- cSize
- Size of rectangle