23 #ifndef BAGEL_DIALOGS_QUIT_DIALOG_H 24 #define BAGEL_DIALOGS_QUIT_DIALOG_H 26 #include "bagel/boflib/gui/dialog.h" 27 #include "bagel/boflib/gui/button.h" 31 #define NUM_QUIT_BUTTONS 3 33 class CBagQuitDialog :
public CBofDialog {
37 virtual void onInitDialog();
40 virtual void onPaint(CBofRect *pRect);
41 virtual void onClose();
42 virtual void onBofButton(CBofObject *pObject,
int nState);
44 virtual void onKeyHit(uint32 lKey, uint32 lRepCount);
47 CBofBmpButton *_pButtons[NUM_QUIT_BUTTONS];