GfxBoard Class Reference

#include <gfxboard.h>


Detailed Description

gfxboard is a wxWindow widget that draws a Scrabble board

Definition at line 34 of file gfxboard.h.

Public Types

enum  board_refresh_t { BOARD_REFRESH, BOARD_FORCE_REFRESH }

Public Member Functions

 GfxBoard (wxFrame *parent, Game &game)
 ~GfxBoard (void)
void OnPaint (wxPaintEvent &event)
 Window manager OnPaint event handler.
void OnSize (wxSizeEvent &event)
 Make new dimensions available for the next OnPaint event.
void Refresh (board_refresh_t force=BOARD_REFRESH)


Member Enumeration Documentation

enum GfxBoard::board_refresh_t
 

Enumerator:
BOARD_REFRESH 
BOARD_FORCE_REFRESH 

Definition at line 99 of file gfxboard.h.


Constructor & Destructor Documentation

GfxBoard::GfxBoard wxFrame *  parent,
Game game
 

GfxBoard::~GfxBoard void   ) 
 

Definition at line 80 of file gfxboard.cc.


Member Function Documentation

void GfxBoard::OnPaint wxPaintEvent &  event  ) 
 

Window manager OnPaint event handler.

Definition at line 194 of file gfxboard.cc.

References BOARD_FORCE_REFRESH, GFXDEBUG, and Refresh().

void GfxBoard::OnSize wxSizeEvent &  e  ) 
 

Make new dimensions available for the next OnPaint event.

The BMP is deleted if it exists.

Definition at line 95 of file gfxboard.cc.

References BOARD_SIZE, GFXDEBUG, and LINE_WIDTH.

void GfxBoard::Refresh board_refresh_t  force = BOARD_REFRESH  ) 
 

Referenced by OnPaint(), and BoardFrame::Refresh().


The documentation for this class was generated from the following files:
Generated on Thu Dec 29 02:01:15 2005 for Eliot by  doxygen 1.4.5