#include <confirm.h>
Public Member Functions | |
| bool | ask (bool initial=false, bool sound=true) throw (std::string const &) |
| ask for user confirmation | |
| confirm (SDL_Surface *scr, SDL_Surface *spr, Mix_Chunk *click=0) | |
| Default Constructor. | |
| ~confirm () | |
| Destructor. | |
Private Member Functions | |
| void | show (bool status) throw (std::string const &) |
| Shows the dialog box on the destination surface. | |
Private Attributes | |
| Mix_Chunk * | clickSFX |
| Click sound effect. | |
| SDL_Surface * | screen |
| Destination surface. | |
| SDL_Surface * | sprite |
| Sprites surface. | |
|
||||||||||||||||
|
Default Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
ask for user confirmation
|
|
|
Shows the dialog box on the destination surface.
|
|
|
Click sound effect.
|
|
|
Destination surface.
|
|
|
Sprites surface.
|