DragonView

Undocumented in source.

Constructors

this
this(string ID)
Undocumented in source.

Members

Functions

drawBackground
void drawBackground()
Undocumented in source. Be warned that the author may not have intended to support it.
drawClient
void drawClient(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
drawCurve
void drawCurve()
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(Point pt1, Point pt2, uint color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLines
void drawLines()
Undocumented in source. Be warned that the author may not have intended to support it.
drawSegment
void drawSegment(Point currentPoint, int currentDir, int n, uint color, int mirror)
Undocumented in source. Be warned that the author may not have intended to support it.
fullContentSize
Point fullContentSize()

calculate full content size in pixels

getDirectionDelta
int getDirectionDelta(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
getPartVisible
bool getPartVisible(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

repaint
void repaint()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int dx, int dy)
Undocumented in source. Be warned that the author may not have intended to support it.
setPartVisible
void setPartVisible(int n, bool flgVisible)
Undocumented in source. Be warned that the author may not have intended to support it.
setVectors
void setVectors()
Undocumented in source. Be warned that the author may not have intended to support it.
setVectors
void setVectors(int straightLen, int roundLen)
Undocumented in source. Be warned that the author may not have intended to support it.
setVectors
void setVectors(Point[8] vectors)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

length
int length [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
int length [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
int rotation [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
int rotation [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
roundLen
int roundLen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
roundLen
int roundLen [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
straightLen
int straightLen [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
straightLen
int straightLen [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_drawBuf
ColorDrawBuf _drawBuf;
Undocumented in source.

Inherited Members

From ScrollWidget

_contentWidget
Widget _contentWidget;
Undocumented in source.
contentWidget
Widget contentWidget [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
contentWidget
Widget contentWidget [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
fullContentSize
Point fullContentSize()

calculate full content size in pixels

updateScrollBars
void updateScrollBars()

update scrollbar positions

drawClient
void drawClient(DrawBuf buf)
Undocumented in source. Be warned that the author may not have intended to support it.
scrollPos
Point scrollPos [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scrollTo
void scrollTo(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onHScroll
bool onHScroll(ScrollEvent event)

process horizontal scrollbar event

onVScroll
bool onVScroll(ScrollEvent event)

process vertical scrollbar event

makeWidgetVisible
void makeWidgetVisible(Widget widget, bool alignHorizontally, bool alignVertically)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta