#include <Tetris.h>
Inheritance diagram for NewGameButton:
Public Member Functions | |
NewGameButton (Float_t xlow, Float_t ylow, Float_t xup, Float_t yup) | |
~NewGameButton () | |
void | SetPressed (Bool_t state) |
Bool_t | IsPressed () |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Private Attributes | |
Bool_t | fPressed |
Definition at line 280 of file Tetris.h.
Definition at line 763 of file Tetris.cxx.
References TPad::SetBorderSize(), TAttFill::SetFillColor(), and TAttText::SetTextSize().
void NewGameButton::SetPressed | ( | Bool_t | state | ) | [inline] |
Definition at line 289 of file Tetris.h.
References fPressed, kTRUE, TPad::Modified(), TButton::SetBorderMode(), and TPad::Update().
Referenced by Tetris::NewGame(), and Tetris::StopGame().
Bool_t NewGameButton::IsPressed | ( | ) | [inline] |
Reimplemented from TButton.
Definition at line 773 of file Tetris.cxx.
References gTetris, kButton1Up, kTRUE, TPad::Modified(), and Tetris::NewGame().
Bool_t NewGameButton::fPressed [private] |