#include </home/clem/local/src/opie/noncore/games/mindbreaker/mindbreaker.h>
Collaboration diagram for MindBreakerBoard:

Public Slots | |
| void | clear () |
| void | resetScore () |
Signals | |
| void | scoreChanged (int, int) |
Public Member Functions | |
| MindBreakerBoard (QWidget *parent=0, const char *name=0, int wFlags=0) | |
| ~MindBreakerBoard () | |
| void | getScore (int *, int *) |
| void | resizeEvent (QResizeEvent *) |
| void | fixSize () |
Protected Member Functions | |
| void | contentsMousePressEvent (QMouseEvent *) |
| void | contentsMouseMoveEvent (QMouseEvent *) |
| void | contentsMouseReleaseEvent (QMouseEvent *) |
Private Slots | |
| void | doFixSize () |
Private Member Functions | |
| void | readConfig () |
| void | writeConfig () |
| void | drawBackground () |
| void | checkGuess () |
| void | checkScores () |
| void | placeGuessPeg (int pos, int pegId) |
Private Attributes | |
| QCanvas | cnv |
| QImage | panelImage |
| QImage | titleImage |
| Peg * | moving |
| Peg * | current_highlight |
| QPoint | moving_pos |
| int | answer [4] |
| int | current_guess [4] |
| int | past_guesses [4 *9] |
| int | current_go |
| int | null_press |
| QPoint | null_point |
| bool | copy_press |
| Peg * | copy_peg |
| bool | game_over |
| int | total_turns |
| int | total_games |
| QTimer * | widthTimer |
|
||||||||||||||||
|
Definition at line 334 of file mindbreaker.cpp. References cnv, current_go, current_highlight, doFixSize(), qApp, setupBoardSize(), and widthTimer. |
|
|
Definition at line 413 of file mindbreaker.cpp. References answer, current_go, current_guess, game_over, i, and writeConfig(). |
|
|
Definition at line 597 of file mindbreaker.cpp. References adjusted_answerpeg_xdiff, adjusted_answerpeg_ydiff, adjusted_answerpegx, adjusted_answerpegy, adjusted_board_height, adjusted_first_peg_x_diff, adjusted_first_peg_y_diff, adjusted_panel_height, adjusted_peg_spacing, answer, current_go, current_guess, current_highlight, game_over, i, p, past_guesses, scoreChanged(), Peg::setPlaced(), total_games, total_turns, TRUE, Opie::MM::x, and Opie::MM::y. Referenced by contentsMouseReleaseEvent(), and readConfig(). |
|
|
Definition at line 935 of file mindbreaker.cpp. References Peg::eggLevel, g, total_games, and total_turns. Referenced by clear(), and readConfig(). |
|
|
Definition at line 704 of file mindbreaker.cpp. References adjusted_board_height, adjusted_panel_height, answer, checkScores(), current_go, current_guess, current_highlight, drawBackground(), FALSE, game_over, i, list, scoreChanged(), total_games, and total_turns. Referenced by contentsMouseReleaseEvent(), and doFixSize(). |
|
|
Definition at line 824 of file mindbreaker.cpp. References moving, and moving_pos. |
|
|
Definition at line 754 of file mindbreaker.cpp. References adjusted_board_height, adjusted_panel_width, adjusted_peg_size, bin(), copy_peg, copy_press, current_go, FALSE, game_over, Peg::hit(), l, moving, moving_pos, null_point, null_press, Peg::pegGo(), pegRTTI, Peg::placed(), TRUE, and Peg::type(). |
|
|
Definition at line 835 of file mindbreaker.cpp. References adjusted_board_height, adjusted_first_peg_x_diff, adjusted_first_peg_y_diff, adjusted_panel_height, adjusted_peg_size, adjusted_peg_spacing, checkGuess(), clear(), copy_peg, copy_press, current_go, current_guess, current_highlight, FALSE, game_over, l, moving, null_point, Peg::pegPos(), pegRTTI, pos, Peg::setPegPos(), TRUE, Opie::MM::x, and Opie::MM::y. |
|
|
Definition at line 464 of file mindbreaker.cpp. References adjusted_board_height, adjusted_panel_height, adjusted_panel_width, adjusted_title_height, adjusted_title_width, Peg::buildImages(), clear(), current_go, current_highlight, image, Opie::Core::OResource::loadImage(), panel_height, panel_width, panelImage, readConfig(), s, Peg::setPlaced(), setupBoardSize(), size, title_height, title_width, titleImage, TRUE, writeConfig(), Opie::MM::x, and Opie::MM::y. Referenced by MindBreakerBoard(). |
|
|
Definition at line 536 of file mindbreaker.cpp. References adjusted_bin_margin, adjusted_board_height, adjusted_panel_height, adjusted_panel_width, adjusted_peg_size, adjusted_title_height, background, height, i, Peg::imageForType(), panelImage, titleImage, width, and Opie::MM::x. Referenced by clear(), and resetScore(). |
|
|
Definition at line 457 of file mindbreaker.cpp. References height, TRUE, and widthTimer. Referenced by resizeEvent(), and MindBreaker::resizeEvent(). |
|
||||||||||||
|
Definition at line 450 of file mindbreaker.cpp. References total_games, and total_turns. |
|
||||||||||||
|
Definition at line 521 of file mindbreaker.cpp. References adjusted_board_height, adjusted_first_peg_x_diff, adjusted_first_peg_y_diff, adjusted_panel_height, adjusted_peg_spacing, current_go, Peg::setPegPos(), Peg::setPlaced(), TRUE, Opie::MM::x, and Opie::MM::y. Referenced by readConfig(). |
|
|
Definition at line 362 of file mindbreaker.cpp. References answer, checkGuess(), checkScores(), current_go, current_guess, FALSE, game_over, i, placeGuessPeg(), Config::readNumEntry(), Config::setGroup(), total_games, total_turns, and Config::User. Referenced by doFixSize(). |
|
|
Definition at line 736 of file mindbreaker.cpp. References drawBackground(), Peg::eggLevel, scoreChanged(), total_games, total_turns, and tr. |
|
|
Definition at line 927 of file mindbreaker.cpp. References fixSize(). |
|
||||||||||||
|
Referenced by checkGuess(), clear(), and resetScore(). |
|
|
Definition at line 427 of file mindbreaker.cpp. References answer, Config::clearGroup(), current_go, current_guess, i, past_guesses, Config::setGroup(), total_games, total_turns, Config::User, and Config::writeEntry(). Referenced by doFixSize(), and ~MindBreakerBoard(). |
|
|
Definition at line 102 of file mindbreaker.h. Referenced by checkGuess(), clear(), readConfig(), writeConfig(), and ~MindBreakerBoard(). |
|
|
Definition at line 84 of file mindbreaker.h. Referenced by MindBreakerBoard(). |
|
|
Definition at line 110 of file mindbreaker.h. Referenced by contentsMousePressEvent(), and contentsMouseReleaseEvent(). |
|
|
Definition at line 109 of file mindbreaker.h. Referenced by contentsMousePressEvent(), and contentsMouseReleaseEvent(). |
|
|
Definition at line 105 of file mindbreaker.h. Referenced by checkGuess(), clear(), contentsMousePressEvent(), contentsMouseReleaseEvent(), doFixSize(), MindBreakerBoard(), placeGuessPeg(), readConfig(), writeConfig(), and ~MindBreakerBoard(). |
|
|
Definition at line 103 of file mindbreaker.h. Referenced by checkGuess(), clear(), contentsMouseReleaseEvent(), readConfig(), writeConfig(), and ~MindBreakerBoard(). |
|
|
Definition at line 98 of file mindbreaker.h. Referenced by checkGuess(), clear(), contentsMouseReleaseEvent(), doFixSize(), and MindBreakerBoard(). |
|
|
Definition at line 111 of file mindbreaker.h. Referenced by checkGuess(), clear(), contentsMousePressEvent(), contentsMouseReleaseEvent(), readConfig(), and ~MindBreakerBoard(). |
|
|
Definition at line 97 of file mindbreaker.h. Referenced by contentsMouseMoveEvent(), contentsMousePressEvent(), and contentsMouseReleaseEvent(). |
|
|
Definition at line 99 of file mindbreaker.h. Referenced by contentsMouseMoveEvent(), and contentsMousePressEvent(). |
|
|
Definition at line 108 of file mindbreaker.h. Referenced by contentsMousePressEvent(), and contentsMouseReleaseEvent(). |
|
|
Definition at line 107 of file mindbreaker.h. Referenced by contentsMousePressEvent(). |
|
|
Definition at line 94 of file mindbreaker.h. Referenced by doFixSize(), and drawBackground(). |
|
|
Definition at line 104 of file mindbreaker.h. Referenced by checkGuess(), and writeConfig(). |
|
|
Definition at line 95 of file mindbreaker.h. Referenced by doFixSize(), and drawBackground(). |
|
|
Definition at line 114 of file mindbreaker.h. Referenced by checkGuess(), checkScores(), clear(), getScore(), readConfig(), resetScore(), and writeConfig(). |
|
|
Definition at line 113 of file mindbreaker.h. Referenced by checkGuess(), checkScores(), clear(), getScore(), readConfig(), resetScore(), and writeConfig(). |
|
|
Definition at line 116 of file mindbreaker.h. Referenced by fixSize(), and MindBreakerBoard(). |
1.4.2