summaryrefslogtreecommitdiff
path: root/support/dktools/wxdkclock.h
blob: 59714b4793062b4f90c2fff228a53a12a9396f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123

#ifndef H_INCLUDED_wxdkclock
/**	Include file only once.
*/
#define	H_INCLUDED_wxdkclock 1

#ifdef	DK3_USE_WX
#undef	DK3_USE_WX
#endif
/**	Use wxWidgets libraries to build GUI programs.
*/
#define	DK3_USE_WX	1

#include <dk3all.h>

#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/arrstr.h>
#include <wx/config.h>
#include <wx/filename.h>
#include <wx/gbsizer.h>
#include <wx/thread.h>
#include <wx/gauge.h>
#include <wx/help.h>
#include <wx/fs_zip.h>
#include <wx/cmdline.h>
#include <wx/dir.h>
#include <wx/spinctrl.h>
#include <wx/checkbox.h>
#include <wx/taskbar.h>
#include <wx/colordlg.h>

/*	__CHANGE__ 018:	Add futher wxWidgets header files.
*/

#include <dk3wxs.h>

#include <DkWxAppHelper.h>
#include <DkWxFrame.h>
#include <DkWxCommunicator.h>
#include <DkWxProgressDialog.h>
#include <DkWxHelpController.h>
#include <DkWxColorView.h>
#include <DkWxBufferedControl.h>
#include <DkWxProcessingController.h>
#include <DkWxProcessingIdleController.h>

#include "DkClockData.h"
#include "DkClockView.h"
#include "DkClockTaskbarIcon.h"
#include "DkClockOptionsDialog.h"
#include "DkClockApp.h"
#include "DkClockFrame.h"

/*	__CHANGE__ 018:	Add header files for further classes and modules.
*/

/**	@defgroup	wxdkclockwxids	wxWidgets IDs.
*/
/**@{*/
/**	Exit application.
*/
#define	DkClockFrame_Quit		(wxID_EXIT)

/**	Main window ID.
*/
#define	DkClockFrame_MainWindow	((wxID_HIGHEST) + 1)

/**	Show version dialog box.
*/
#define	DkClockFrame_Help_About	((DkClockFrame_MainWindow) + 1)

/**	Open table of contents for online help.
*/
#define	DkClockFrame_Help_Contents	((DkClockFrame_Help_About) + 1)

/**	Menu item Edit Options.
*/
#define	DkClockFrame_Edit_Options	((DkClockFrame_Help_Contents) + 1)

/**	Check box to enable or disable alert.
*/
#define	DkClockOptions_Enable		((DkClockFrame_Edit_Options) + 1)

/**	Timer ID.
*/
#define	DkClockFrame_Timer		((DkClockOptions_Enable) + 1)

/**	ID of task bar icon.
*/
#define	DkClockFrame_TaskBarIcon	((DkClockFrame_Timer) + 1)

/**	Task bar icon popup menu item: Restore.
*/
#define	DkClockTaskBar_Restore		((DkClockFrame_TaskBarIcon) + 1)

/**	Task bar icon popup menu item: Exit application.
*/
#define	DkClockTaskBar_Exit		((DkClockTaskBar_Restore) + 1)

/**	Menu item: Hide.
*/
#define	DkClockFrame_Hide		((DkClockTaskBar_Exit) + 1)

/**	Menu item: Set clock colour.
*/
#define	DkClockFrame_NormalColour	((DkClockFrame_Hide) + 1)

/**	Menu item: Set alert colour.
*/
#define	DkClockFrame_AlertColour	((DkClockFrame_NormalColour) + 1)

/*	__CHANGE__ 017:	Add further IDs here as needed.
*/
/**@}*/

#endif