Structure

HSWidgetSize

A structure that contains dimensions in grid positions.


Declaration


typedef struct HSWidgetSize {
	...
} HSWidgetSize;

Overview

Sizes have a width/height that represent the number of grid positions in rows/columns it would occupy. These sizes are represented using (number of rows, number of columns) format.

Topics


Constants


Member Fields


Creating Size

  • HSWidgetSizeMake

    Make a widget size using the specified number of rows and columns.


Arithmetic

  • HSWidgetSizeAdd

    Add the given number of rows and columns to the specified size.


Checking Characteristics


Getting Occupied Spaces