-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.h
More file actions
33 lines (26 loc) · 789 Bytes
/
Main.h
File metadata and controls
33 lines (26 loc) · 789 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
#pragma once
#include <wx/filepicker.h>
#include "img.h"
#include "xml.h"
class Main : public wxFrame {
public:
Main();
img* imagefile = nullptr;
xml* xmlfile = nullptr;
private:
wxFileDialog* file = nullptr;
wxFileDialog* code = nullptr;
wxRadioBox* inputbox = nullptr;
wxRadioBox* langbox = nullptr;
int lang_sel = 0, inp_sel = 0; // language and input type selected
wxString filepath; // path to input file
wxString codepath; // path to output file
void OnMenuQuit(wxCommandEvent& evt);
void OnGuidelines(wxCommandEvent& evt);
void OnCreateCode(wxCommandEvent& evt);
void OnChooseInp(wxCommandEvent& evt);
void OnChooseCode(wxCommandEvent& evt);
void OnInputbox(wxCommandEvent& evt);
void OnLangbox(wxCommandEvent& evt);
wxDECLARE_EVENT_TABLE();
};