Carbon


Theme Size Box Direction Constants

Header: Appearance.h

enum {
    kThemeGrowLeft = 1,
    kThemeGrowRight = 2,
    kThemeGrowUp = 4,
    kThemeGrowDown = 8
};

Constant descriptions

kThemeGrowLeft

If the bit specified by this mask is set, the object can grow to the left.

kThemeGrowRight

If the bit specified by this mask is set, the object can grow to the right.

kThemeGrowUp

If the bit specified by this mask is set, the object can grow upward. Note: This functionality is not available with Appearance Manager 1.1 or prior versions of Appearance.

kThemeGrowDown

If the bit specified by this mask is set, the object can grow downward.

The ThemeGrowDirection enumeration defines masks your application can use to specify the directions in which a window may be resized. You may use constants of type ThemeGrowDirection with the function DrawThemeStandaloneGrowBox to draw a size box and with the function GetThemeStandaloneGrowBoxBounds to obtain the bounding rectangle of a size box. The constants may be combined to set more than one direction of growth. The ThemeGrowDirection constants are available with Appearance Manager 1.1 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)