-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAlgorithmDocumentFrame.h
More file actions
40 lines (32 loc) · 886 Bytes
/
AlgorithmDocumentFrame.h
File metadata and controls
40 lines (32 loc) · 886 Bytes
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
#pragma once
#ifndef ALGORITHMDOCUMENTFRAME_H_
#define ALGORITHMDOCUMENTFRAME_H_
#include<string>
#include"wx/wx.h"
#include "DocumentFrame.h"
#include "AlgoDocView.h"
class MainFrame;
class AlgorithmDocument;
// control class for new algorithm document interface
class AlgorithmDocumentFrame: public DocumentFrame
{
public:
AlgorithmDocumentFrame(MainFrame *parent);
virtual ~AlgorithmDocumentFrame(void);
enum IDs{ID_Submit, ID_Save, ID_Close};
void OnSave(wxCommandEvent &event);
void OnSubmit(wxCommandEvent &event);
void OnClose(wxCommandEvent &event);
virtual void CreateInterface();
virtual void CreateDocument();
void AddButtonBarTo(wxBoxSizer *verticalSizer);
DECLARE_EVENT_TABLE()
private:
AlgorithmDocumentFrame();
AlgorithmDocumentFrame(AlgorithmDocumentFrame &);
wxButton *_save;
wxButton *_submit;
wxButton *_close;
wxTextCtrl *_textbox;
};
#endif