Inline Function
SpacesForWidgetSize
Return number of grid positions that the specified size would occupy.
Declaration
static inline NSUInteger SpacesForWidgetSize(HSWidgetSize size);
Parameters
-
size
size to get the number of occupied spaces of
Return Value
Number of grid positions the size will occupy by multiplying number of rows with number of columns.