Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gowidget.cpp File Reference

#include "gowidget.h"
#include <opie2/odebug.h>
#include <opie2/oresource.h>
#include <qpe/config.h>
#include <qpainter.h>
#include <qtoolbar.h>
#include <qmenubar.h>
#include <qaction.h>
#include <qapplication.h>
#include <qlabel.h>

Include dependency graph for gowidget.cpp:

Go to the source code of this file.

Functions

void removestone (short x, short y)
void placestone (enum bVal c, short x, short y)
void intrMoveReport (enum bVal c, char *coord, char *reason)
void intrPrisonerReport (short blackcnt, short whitecnt)

Variables

static const enum bVal computer_color = BLACK
static int current_handicap = 1
static QBrush * goBrush
static QPixmap * newBlackStone
static QPixmap * blackStone
static QPixmap * whiteStone
static bool smallStones = FALSE


Function Documentation

void intrMoveReport enum bVal  c,
char *  coord,
char *  reason
 

Definition at line 442 of file gowidget.cpp.

References odebug, and oendl.

void intrPrisonerReport short  blackcnt,
short  whitecnt
 

Definition at line 447 of file gowidget.cpp.

References GoWidget::reportPrisoners().

void placestone enum bVal  c,
short  x,
short  y
 

Definition at line 437 of file gowidget.cpp.

References GoWidget::placeStone().

void removestone short  x,
short  y
 

Definition at line 432 of file gowidget.cpp.

References GoWidget::removeStone().


Variable Documentation

QPixmap* blackStone [static]
 

Definition at line 43 of file gowidget.cpp.

Referenced by GoWidget::doComputerMove(), GoWidget::doMove(), GoWidget::GoWidget(), GoWidget::init(), GoWidget::paintEvent(), GoWidget::readConfig(), and GoWidget::resizeEvent().

const enum bVal computer_color = BLACK [static]
 

Definition at line 37 of file gowidget.cpp.

Referenced by GoWidget::doComputerMove().

int current_handicap = 1 [static]
 

Definition at line 39 of file gowidget.cpp.

Referenced by GoWidget::init(), and GoWidget::setHandicap().

QBrush* goBrush [static]
 

Definition at line 41 of file gowidget.cpp.

Referenced by GoWidget::GoWidget(), and GoWidget::paintEvent().

QPixmap* newBlackStone [static]
 

Definition at line 42 of file gowidget.cpp.

Referenced by GoWidget::GoWidget(), GoWidget::paintEvent(), and GoWidget::resizeEvent().

bool smallStones = FALSE [static]
 

Definition at line 46 of file gowidget.cpp.

Referenced by GoWidget::resizeEvent().

QPixmap* whiteStone [static]
 

Definition at line 44 of file gowidget.cpp.

Referenced by GoWidget::doMove(), GoWidget::GoWidget(), GoWidget::init(), GoWidget::paintEvent(), GoWidget::readConfig(), and GoWidget::resizeEvent().


Generated on Sat Nov 5 16:54:53 2005 for OPIE by  doxygen 1.4.2