The Window class is an enhanced window class.
Properties
- top
- left
- bottom
- right
- color
- back
- priority
- window
- type
- title
- brTop
- brLeft
- brBottom
- brRight
- underBits
Methods
-
void doit() |
In the Window class, this is just
a place holder method. It is here so that it can be specified
by the window instance.
|
-
void dispose() |
Discards with window.
|
-
void open(number
theType, number thePriority) |
Opens the window with theType
as it's type and thePriority as it's priority. See kernel NewWindow()
for more information.
|
-
bool handleEvent() |
In the Window class, this is just
a place holder method. It is here so that it can be specified
by the window instance.
It just returns FALSE.
|
-
number setMapSet() |
Returns a map set bitmask. If
the color property is not -1, it sets bit 0 of the bitmask.
If the priority property is not -1, it sets bit 1 of the bitmask.
|
-
void move(number
theX, number theY) |
Moves the window theX pixels horizontally,
and theY pixels vertically.
|
-
void moveTo(number
theX, number theY) |
Moves the window to coordinates
theX,theY.
|
-
void draw([number
theColor, number thePriority]) |
Draws the window. If specified,
it sets the color to theColor and the priority to thePriority.
|
-
void save() |
Saves the pixels in the window's
bounds and stores their handle in underBits.
|
-
void restore() |
Restores the pixels in the saved
previously and pointed to by underBits.
|
-
void inset(number
theX, number theY) |
Shrinks the window by theX and
theY.
|
-
void show() |
Shows the window.
|
-
void erase() |
Erases the window.
|
-
void center() |
Centers the window on the screen.
|
|