... <- Viewable <- Stamp <- Gadget <- ControlBarGadget <- MagicHat |
|
Class MagicHat defines no new operations.
Attributes
Get list of all attributes
|
AuthoringMode |
| Field | Type | |
|---|---|---|
| Viewable: | superview: | Viewable |
| relativeOrigin: | Dot | |
| contentSize: | Dot | |
| viewFlags: | Flags | |
| labelStyle: | TextStyle | |
| color: | Unsigned | |
| altColor: | Unsigned | |
| shadow: | Shadow | |
| sound: | Playable | |
| Stamp: | image: | Image |
| Gadget: | target: | Object |
| canSwallow: | Boolean | |
| pullOut: | Boolean | |
| pullOutCopy: | Boolean | |
| showOccupied: | Boolean | |
| useStarburst: | Boolean | |
| setTarget: | Boolean | |
| useScaledText: | Boolean | |
| acceptTools: | Boolean | |
| acceptStationery: | Boolean | |
| ControlBarGadget: | preferredSlot: | Unsigned |
| MagicHat: | images: | ObjectList |
instance MagicHat tag; relativeOrigin: <0.0,0.0>; contentSize: <0.0,0.0>; viewFlags: 0x00000000; labelStyle: nilObject; color: 0; altColor: 0; shadow: nilObject; sound: nilObject; image: nilObject; target: nilObject; canSwallow: false; pullOut: false; pullOutCopy: false; showOccupied: false; useStarburst: false; setTarget: false; useScaledText: false; acceptTools: false; acceptStationery: false; preferredSlot: 0; images: nilObject; end instance;
Define Class MagicHat; inherits from ControlBarGadget; field images: ObjectList; // list of two images, one for normal mode and one for authoring mode overrides SetAuthoringMode; // if authoring mode is turning on, sets self's image to be 2nd image in images list; // else sets self's image to be 1st image in images list end class;