BoardWidget

Undocumented in source.

Constructors

this
this(int rows, int cols, int depth, bool playFirst)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

doDraw
void doDraw(DrawBuf buf, Rect _rc)
Undocumented in source. Be warned that the author may not have intended to support it.
drawText
void drawText(DrawBuf buf, Rect rc, dstring text)
Undocumented in source. Be warned that the author may not have intended to support it.
measuredContent
void measuredContent(int parentWidth, int parentHeight, int contentWidth, int contentHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
shrinkToBoard
Rect shrinkToBoard(Rect rc)
Undocumented in source. Be warned that the author may not have intended to support it.
valid
auto valid(RC rc)
Undocumented in source. Be warned that the author may not have intended to support it.
xy2rc
auto xy2rc(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

RC
struct RC
Undocumented in source.

Variables

_agentDone
bool _agentDone;
Undocumented in source.
_isPlayerTurn
bool _isPlayerTurn;
Undocumented in source.
agentTid
Tid agentTid;
Undocumented in source.
board
Board board;
cols
int cols;
Undocumented in source.
isBlack
bool isBlack;
Undocumented in source.
lineWidth
float lineWidth;
Undocumented in source.
margin
int margin;
Undocumented in source.
rows
int rows;
Undocumented in source.

Meta