forked from treellama/atque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atque.h
71 lines (57 loc) · 1.75 KB
/
atque.h
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
// -*- C++ -*- generated by wxGlade 0.6.3 on Sat Sep 6 18:07:53 2008
#include <wx/wx.h>
#include <wx/image.h>
#ifdef wxUSE_DRAG_AND_DROP
#include <wx/dnd.h>
#endif
// begin wxGlade: ::dependencies
// end wxGlade
#ifndef ATQUE_H
#define ATQUE_H
// begin wxGlade: ::extracode
// end wxGlade
#ifndef _P_WAIT /* just in case */
# define _P_WAIT 0
#endif
class AtqueWindow: public wxFrame {
public:
// begin wxGlade: AtqueWindow::ids
enum {
MENU_Split = wxID_HIGHEST + 1000,
MENU_Merge = wxID_HIGHEST + 1001,
};
// end wxGlade
AtqueWindow(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);
private:
// begin wxGlade: AtqueWindow::methods
void set_properties();
void do_layout();
// end wxGlade
protected:
// begin wxGlade: AtqueWindow::attributes
wxMenu* fileMenu;
wxMenuBar* menuBar;
wxStaticText* instructions;
wxPanel* panel_1;
// end wxGlade
DECLARE_EVENT_TABLE();
public:
virtual void OnAbout(wxCommandEvent &event); // wxGlade: <event_handler>
virtual void OnMerge(wxCommandEvent &event); // wxGlade: <event_handler>
virtual void OnSplit(wxCommandEvent &event); // wxGlade: <event_handler>
virtual void OnExit(wxCommandEvent &event); // wxGlade: <event_handler>
virtual void Split(const wxString& file);
virtual void Merge(const wxString& folder);
}; // wxGlade: end class
#if wxUSE_DRAG_AND_DROP
class AtqueDnD : public wxFileDropTarget
{
public:
AtqueDnD(AtqueWindow *window) { window_ = window; }
virtual bool OnDropFiles(wxCoord x, wxCoord y,
const wxArrayString& filenames);
private:
AtqueWindow* window_;
};
#endif
#endif // ATQUE_H