-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFCMToolBar.cpp
60 lines (55 loc) · 1.44 KB
/
FCMToolBar.cpp
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
/******************************************************************************
** (C) Chris Oldwood
**
** MODULE: FCMTOOLBAR.CPP
** COMPONENT: The Application.
** DESCRIPTION: CFCMToolBar class definition.
**
*******************************************************************************
*/
#include "Common.hpp"
#include "FCMToolBar.hpp"
/******************************************************************************
** Method: Constructor.
**
** Description: .
**
** Parameters: None.
**
** Returns: Nothing.
**
*******************************************************************************
*/
CFCMToolBar::CFCMToolBar(WCL::IMsgThread& thread, WCL::ICmdController& controller)
: CToolBar(thread, controller)
{
// Define the toolbar.
DEFINE_TOOLBAR
TBCTL(&m_NewBtn, ID_FILE_NEW)
TBCTL(&m_OpenBtn, ID_FILE_OPEN)
TBCTL(&m_SaveBtn, ID_FILE_SAVE)
TBGAP()
TBCTL(&m_AddBtn, ID_OPTIONS_POPUP+1)
TBCTL(&m_EditBtn, ID_OPTIONS_POPUP+2)
TBCTL(&m_DeleteBtn, ID_OPTIONS_POPUP+3)
TBCTL(&m_PrintBtn, ID_OPTIONS_POPUP+5)
TBCTL(&m_ImportBtn, ID_OPTIONS_POPUP+6)
TBCTL(&m_ExportBtn, ID_OPTIONS_POPUP+7)
TBGAP()
TBCTL(&m_AboutBtn, ID_HELP_ABOUT)
END_TOOLBAR
}
/******************************************************************************
** Method: Destructor.
**
** Description: .
**
** Parameters: None.
**
** Returns: Nothing.
**
*******************************************************************************
*/
CFCMToolBar::~CFCMToolBar()
{
}