TileLayerEditor

Undocumented in source.

Constructors

this
this(Editor e)
Undocumented in source.

Members

Variables

attributes
BitmapAttrib attributes;
Undocumented in source.
button_Add
Button button_Add;
Undocumented in source.
button_down
Button button_down;
Undocumented in source.
button_imp
Button button_imp;
Undocumented in source.
button_next
Button button_next;
Undocumented in source.
button_prev
Button button_prev;
Undocumented in source.
button_rem
Button button_rem;
Undocumented in source.
button_rep
Button button_rep;
Undocumented in source.
button_res
Button button_res;
Undocumented in source.
button_rrem
Button button_rrem;
Undocumented in source.
button_up
Button button_up;
Undocumented in source.
checkBox_hm
CheckBox checkBox_hm;
Undocumented in source.
checkBox_overwrite
CheckBox checkBox_overwrite;
Undocumented in source.
checkBox_solo
CheckBox checkBox_solo;
Undocumented in source.
checkBox_vis
CheckBox checkBox_vis;
Undocumented in source.
checkBox_vm
CheckBox checkBox_vm;
Undocumented in source.
checkBox_warp
CheckBox checkBox_warp;
Undocumented in source.
edi
Editor edi;
Undocumented in source.
label1
Label label1;
Undocumented in source.
label2
Label label2;
Undocumented in source.
label3
Label label3;
Undocumented in source.
label4
Label label4;
Undocumented in source.
label5
Label label5;
Undocumented in source.
label6
Label label6;
Undocumented in source.
layerName
TextBox layerName;
Undocumented in source.
sXOffset
TextBox sXOffset;
Undocumented in source.
sXRate
TextBox sXRate;
Undocumented in source.
sYOffset
TextBox sYOffset;
Undocumented in source.
sYRate
TextBox sYRate;
Undocumented in source.
selectedLayer
int selectedLayer;
Undocumented in source.
textBox_pri
TextBox textBox_pri;
Undocumented in source.
tileList
ListBox tileList;
Undocumented in source.

Inherited Members

From Window

elements
WindowElement[] elements;
mouseC
WindowElement[] mouseC;
keyboardC
WindowElement[] keyboardC;
scrollC
WindowElement[] scrollC;
Undocumented in source.
title
dstring title;
Undocumented in source.
draggedElement
WindowElement draggedElement;
Undocumented in source.
parent
IWindowHandler parent;
Undocumented in source.
output
BitmapDrawer output;
Undocumented in source.
header
int header;
Undocumented in source.
moveX
int moveX;
moveY
int moveY;
Undocumented in source.
fullUpdate
bool fullUpdate;
isActive
bool isActive;
Undocumented in source.
extraButtons
string[] extraButtons;
Undocumented in source.
position
Coordinate position;
Undocumented in source.
customStyle
StyleSheet customStyle;
Undocumented in source.
defaultStyle
StyleSheet defaultStyle;
Undocumented in source.
onDrawUpdate
void delegate() onDrawUpdate;
Undocumented in source.
getStyleSheet
StyleSheet getStyleSheet()

If the current window doesn't contain a custom StyleSheet, it gets from it's parent.

drawUpdate
void drawUpdate(WindowElement sender)

Updates the output of the elements.

addElement
void addElement(WindowElement we, int eventProperties)

Adds a new WindowElement with the given event properties.

removeElement
void removeElement(WindowElement we)

Removes the WindowElement if 'we' is found within its ranges, does nothing otherwise.

draw
void draw(bool drawHeaderOnly)

Draws the window. Intended to be used by the WindowHandler.

drawHeader
void drawHeader()

Draws the header.

active
bool active [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
active
bool active [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
setTitle
void setTitle(dstring s)
Undocumented in source. Be warned that the author may not have intended to support it.
getTitle
dstring getTitle()
Undocumented in source. Be warned that the author may not have intended to support it.
passMouseEvent
void passMouseEvent(int x, int y, int state, ubyte button)

Detects where the mouse is clicked, then it either passes to an element, or tests whether the close button, an extra button was clicked, also tests for the header, which creates a drag event for moving the window.

passMouseDragEvent
void passMouseDragEvent(int x, int y, int relX, int relY, ubyte button)

Passes a mouseDragEvent if the user clicked on an element, held down the button, and moved the mouse.

passMouseMotionEvent
void passMouseMotionEvent(int x, int y, int relX, int relY, ubyte button)

Passes a mouseMotionEvent if the user moved the mouse.

close
void close()

Closes the window by calling the WindowHandler's closeWindow function.

passScrollEvent
void passScrollEvent(int wX, int wY, int x, int y)

Passes the scroll event to the element where the mouse pointer currently stands.

extraButtonEvent
void extraButtonEvent(int num, ubyte button, int state)

Called if an extra button was pressed.

passKeyboardEvent
void passKeyboardEvent(wchar c, int type, int x, int y)

Passes a keyboard event.

addParent
void addParent(IWindowHandler wh)

Adds a WindowHandler to the window.

getFocus
void getFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
dropFocus
void dropFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
getAbsolutePosition
Coordinate getAbsolutePosition(WindowElement sender)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(int x, int y)

Moves the window to the exact location.

relMove
void relMove(int x, int y)

Moves the window by the given values.

setHeight
void setHeight(int y)

Sets the height of the window, also issues a redraw.

setWidth
void setWidth(int x)

Sets the width of the window, also issues a redraw.

setSize
void setSize(int x, int y)

Sets the size of the window, also issues a redraw.

getOutput
ABitmap getOutput [@property getter]

Returns the outputted bitmap. Can be overridden for 32 bit outputs.

clearArea
void clearArea(WindowElement sender)

Clears the background where the element is being drawn.

Meta