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

Public Member Functions | |
| ~UI () | |
| void | restart_timer () |
| void | kill_timer () |
| void | initialize (int *argc, char **argv) |
| void | make_mainwin () |
| void | make_windows () |
| void | popup_dialog (int dialog) |
| void | set_cursor (int cursor) |
| void | load_cursors () |
| void | graph_init () |
| void | clear () |
| void | refresh () |
| void | draw (Picture picture, int x, int y) |
| void | draw_centered (Picture picture) |
| void | draw_line (int x1, int y1, int x2, int y2) |
| void | draw_str (char *str, int x, int y) |
| void | set_pausebutton (int action) |
| int | MainLoop () |
| void | update_scorebox (int level, int score) |
| void | update_hsbox (char *str) |
Private Attributes | |
| MCursor | defaultcursor |
| MCursor | downcursor |
| QPEApplication * | app |
| QTimer * | timer |
| Field * | field |
| KBill * | main |
| QPixmap * | pix |
| QPainter | paint |
| QString | scorestr |
| QString | highscorestr |
|
|
|
|
|
Definition at line 125 of file UI.cpp. Referenced by Game::main(), and Game::update(). |
|
||||||||||||||||
|
Definition at line 135 of file UI.cpp. References paint. Referenced by Computer::draw(), Cable::draw(), Bucket::draw(), Monster::draw_at(), draw_centered(), Monster::draw_std(), and Monster::draw_stray(). |
|
|
Definition at line 139 of file UI.cpp. References draw(), field, Picture::height, and Picture::width. Referenced by Game::main(), and Game::update(). |
|
||||||||||||||||||||
|
Definition at line 143 of file UI.cpp. References paint. Referenced by Cable::draw(). |
|
||||||||||||||||
|
Definition at line 148 of file UI.cpp. References paint. Referenced by Game::update_info(). |
|
|
Definition at line 54 of file UI.cpp. References Qt::black, field, paint, pix, Game::scrheight, and Game::scrwidth. Referenced by Game::main(). |
|
||||||||||||
|
Definition at line 47 of file UI.cpp. References app. Referenced by Game::main(). |
|
|
Definition at line 39 of file UI.cpp. References field, and Field::stopTimer(). Referenced by popup_dialog(), and Game::update(). |
|
|
Definition at line 119 of file UI.cpp. References MCursor::cursor, defaultcursor, downcursor, field, MCursor::load(), and MCursor::SEP_MASK. Referenced by Game::main(). |
|
|
Definition at line 162 of file UI.cpp. References app, and QPEApplication::exec(). Referenced by Game::main(). |
|
|
Definition at line 60 of file UI.cpp. References app, field, KBill::getField(), main, and QPEApplication::showMainWidget(). Referenced by Game::main(). |
|
|
Definition at line 40 of file UI.h. Referenced by Game::main(). |
|
|
Definition at line 67 of file UI.cpp. References Game::ENDGAME, endgamestr, Game::ENTERNAME, enternamestr, InputBox::getText(), Game::HIGHSCORE, kill_timer(), main, message, restart_timer(), Game::SCORE, scorestr, and str. Referenced by Game::update(). |
|
|
Definition at line 129 of file UI.cpp. References FALSE, field, paint, pix, and Field::setPixmap(). Referenced by Game::main(), and Game::update(). |
|
|
Definition at line 35 of file UI.cpp. References field, and Field::startTimer(). Referenced by popup_dialog(), and Game::start(). |
|
|
Definition at line 101 of file UI.cpp. References bucket, Game::BUCKETC, Library::cursor, MCursor::cursor, Bucket::cursor, Game::DEFAULTC, defaultcursor, Game::DOWNC, downcursor, field, and OS. Referenced by Game::button_press(), Game::button_release(), and Game::setup_level(). |
|
|
Definition at line 157 of file UI.cpp. References KBill::file, main, and KBill::pauseid. Referenced by Game::main(), Game::start(), and Game::update(). |
|
|
Definition at line 166 of file UI.cpp. References highscorestr. |
|
||||||||||||
|
Definition at line 170 of file UI.cpp. References scorestr, and QString::sprintf(). Referenced by Game::update(). |
|
|
Definition at line 61 of file UI.h. Referenced by initialize(), MainLoop(), and make_mainwin(). |
|
|
Definition at line 59 of file UI.h. Referenced by load_cursors(), and set_cursor(). |
|
|
Definition at line 59 of file UI.h. Referenced by load_cursors(), and set_cursor(). |
|
|
Definition at line 64 of file UI.h. Referenced by clear(), draw_centered(), graph_init(), kill_timer(), load_cursors(), make_mainwin(), refresh(), restart_timer(), and set_cursor(). |
|
|
Definition at line 70 of file UI.h. Referenced by update_hsbox(). |
|
|
Definition at line 65 of file UI.h. Referenced by make_mainwin(), popup_dialog(), and set_pausebutton(). |
|
|
Definition at line 68 of file UI.h. Referenced by clear(), draw(), draw_line(), draw_str(), graph_init(), refresh(), and ~UI(). |
|
|
Definition at line 67 of file UI.h. Referenced by graph_init(), refresh(), and ~UI(). |
|
|
Definition at line 70 of file UI.h. Referenced by popup_dialog(), and update_scorebox(). |
|
|
|
1.4.2