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
-
HSWidgetSizeZero
A size constant with dimension containg 0 width and height.
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
-
HSWidgetSizeEqualsSize
Return whether two sizes are equal.
Getting Occupied Spaces
-
SpacesForWidgetSize
Return number of grid positions that the specified size would occupy.