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

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.