6 Managing Orientation Styles
Q3OrientationStyle_New
function to create a new orientation style object.
TQ3StyleObject Q3OrientationStyle_New (
TQ3OrientationStyle frontFacingDirection);
frontFacingDirection
An orientation style value.
Q3OrientationStyle_New
function returns, as its function result, a new style object having the orientation style specified by the frontFacingDirection
parameter. The frontFacingDirection
parameter should be one of these values:
kQ3OrientationStyleCounterClockwise kQ3OrientationStyleClockwiseIf a new style object could not be created,
Q3OrientationStyle_New
returns the value NULL
.
To change the current orientation style, you must actually draw the style object. You can call Q3Style_Submit
to draw the style in retained mode or Q3OrientationStyle_Submit
(described next) to draw the style in immediate mode.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker