Inline Function
HSWidgetSizeAdd
Add the given number of rows and columns to the specified size.
Declaration
static inline HSWidgetSize HSWidgetSizeAdd(HSWidgetSize size, NSInteger numRows, NSInteger numCols);
Parameters
-
size
size to add specified number of rows and columns to
-
numRows
number of grid rows to add.
-
numCols
number of grid columns to add.
Return Value
A new widget size with the specified number of rows and columns added.
Notes
The arguments passed in are signed so negative values can be passed in for subtraction. However, this function does not do any bounds checking so it'll underflow if too big of negative value is supplied.