Statistics
| Revision:

root / tags / v2_0_Build_1215 / install / launcher / izpack-launcher-1.3 / src / statusdialog.h @ 38152

History | View | Annotate | Download (774 Bytes)

1
#ifndef STATUSDIALOG_H
2
#define STATUSDIALOG_H
3

    
4
#include <wx/wx.h>
5
#include <wx/timer.h>
6

    
7
class StatusDialog : public wxFrame
8
{
9
private:
10

    
11
  wxBoxSizer* sizer;
12
  wxBoxSizer* sizerDesc;
13
  wxStaticBitmap* icon;
14
  wxStaticText* explanationText;
15
  wxStaticText* statusMsgText;
16
  wxString statusMsg;
17
  wxString appName;
18
  wxButton* cancelButton;
19
  wxTimer* myTimer;
20
  bool canceled;
21
  int count;
22
  void buildUI();
23

    
24
  
25
public:
26

    
27
  StatusDialog(const wxString &wxStringHeadline );
28

    
29
  virtual ~StatusDialog();
30

    
31
  virtual void showStatus(const wxString statusString);
32
  
33
  void OnTimer(wxTimerEvent& event);
34

    
35
  void OnCancel(wxEvent& event);
36
  
37
  void OnCancelButton(wxMouseEvent& event);
38

    
39
  bool IsCanceled();
40
  
41
  void DoNotCancel();
42
protected:
43
   DECLARE_EVENT_TABLE()
44

    
45
};
46

    
47

    
48

    
49
#endif