ISolpackGame::RecalcLayout Method
Informs the game that an engine property, such as card or window dimensions, has changed.
Syntax:
HRESULT RecalcLayout();
Return Value:
Returns S_OK if successful, or an error value otherwise.
Remarks:
Games should position piles based on ISolpackApp properties such as
CardWidth, WindowWidth, and
SpacingX. If one of these properties changes, this method is called; the game
should reposition piles as necessary based on the new property values.
|