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 6051 jmvivo
#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 8427 jmvivo
  wxString appName;
18 6051 jmvivo
  wxButton* cancelButton;
19 6066 jmvivo
  wxTimer* myTimer;
20 6051 jmvivo
  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 6707 jmvivo
37
  void OnCancelButton(wxMouseEvent& event);
38 6051 jmvivo
39
  bool IsCanceled();
40 6707 jmvivo
41
  void DoNotCancel();
42 6051 jmvivo
protected:
43
   DECLARE_EVENT_TABLE()
44
45
};
46
47
48
49
#endif