company logo

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

Implementation details

  1. Get control size
    odabagui::Size ControlContext  :: size (  )

    The function returns the size of the outer control area in pixel.

  2. to list
  3. 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.

  4. to list