-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWindowBase.h
More file actions
205 lines (168 loc) · 6.5 KB
/
WindowBase.h
File metadata and controls
205 lines (168 loc) · 6.5 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/srchctrl.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/menu.h>
#include <wx/frame.h>
#include <wx/textctrl.h>
#include <wx/checkbox.h>
#include <wx/panel.h>
#include <wx/dataview.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class WindowBase
///////////////////////////////////////////////////////////////////////////////
class WindowBase : public wxFrame
{
private:
protected:
wxStaticText* baseFolderLabel;
wxSearchCtrl* m_searchCtrl2;
wxButton* ExtractedFilesBTN;
wxBoxSizer* middleSizer;
wxButton* addCustomBTN;
wxButton* addCustomZipBTN;
wxMenuBar* menuBar;
wxMenu* fileMenu;
wxMenuItem* addCustomMI;
wxMenuItem* addCustomZipMI;
wxMenuItem* updateManuallyMI;
wxMenu* windowsMenu;
wxMenuItem* openTrackTextViewer;
wxMenu* toolsMenu;
wxMenuItem* applyPatchFileMI;
wxMenuItem* exportSelectedTracksMI;
wxMenuItem* renameToUppercaseMI;
wxMenuItem* automaticRenamingToggleMI;
wxMenu* backupRestoreMenu;
// Virtual event handlers, override them in your derived class
virtual void OnCloseEvent( wxCloseEvent& event ) = 0;
virtual void OnSearch( wxCommandEvent& event ) = 0;
virtual void OpenExtractedFiles( wxCommandEvent& event ) = 0;
virtual void AddCustom( wxCommandEvent& event ) = 0;
virtual void AddCustomZip( wxCommandEvent& event ) = 0;
virtual void ManualUpdate( wxCommandEvent& event ) = 0;
virtual void OpenTrackisting( wxCommandEvent& event ) = 0;
virtual void OpenTrackText( wxCommandEvent& event ) = 0;
virtual void ApplyPatchFile( wxCommandEvent& event ) = 0;
virtual void TracksToCustoms( wxCommandEvent& event ) = 0;
virtual void ToUpper( wxCommandEvent& event ) = 0;
virtual void ToggleAutomaticRenaming( wxCommandEvent& event ) = 0;
virtual void SetBackupFolder( wxCommandEvent& event ) = 0;
virtual void ManualBackup( wxCommandEvent& event ) = 0;
public:
WindowBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("DJHCPP"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 640,480 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~WindowBase();
};
///////////////////////////////////////////////////////////////////////////////
/// Class TracklistingGen
///////////////////////////////////////////////////////////////////////////////
class TracklistingGen : public wxFrame
{
private:
protected:
wxPanel* songInfoPanel;
wxStaticText* GeneralInfoTag;
wxStaticText* spacer1;
wxStaticText* idLabel;
wxTextCtrl* m_textID;
wxStaticText* bpmLabel;
wxTextCtrl* m_textBPM;
wxStaticText* artist1Label;
wxTextCtrl* m_textArtist1;
wxStaticText* song1Label;
wxTextCtrl* m_textSong1;
wxStaticText* artist2Label;
wxTextCtrl* m_textArtist2;
wxStaticText* song2Label;
wxTextCtrl* m_textSong2;
wxStaticText* mixedByLabel;
wxTextCtrl* m_textMixedBy;
wxStaticText* mixerPresentsLabel;
wxTextCtrl* m_textMixerPresents;
wxStaticText* DifficultiesTag;
wxStaticText* spacer2;
wxStaticText* generalDiffLabel;
wxTextCtrl* m_textDiffGeneral;
wxStaticText* tapDifficultyLabel;
wxTextCtrl* m_textDiffTap;
wxStaticText* scratchDifficultyLAbel;
wxTextCtrl* m_textDiffScratch;
wxStaticText* crossfadeDifficultyLabel;
wxTextCtrl* m_textDiffCrossfade;
wxStaticText* ExtraTag;
wxStaticText* spacer3;
wxStaticText* deckSpeedLabel;
wxTextCtrl* m_textSpeed;
wxStaticText* songDurationLabel;
wxTextCtrl* m_textDuration;
wxStaticText* isVocalMixLabel;
wxCheckBox* m_checkBoxIsVocal;
wxStaticText* includeMixInMenuLabel;
wxCheckBox* m_checkBoxIsMenuMusic;
wxTextCtrl* xmlOutput;
wxTextCtrl* csvOutput;
wxButton* GenerateTracklisting;
wxButton* CreateBaseFolder;
// Virtual event handlers, override them in your derived class
virtual void GenTracklisting( wxCommandEvent& event ) = 0;
virtual void GenBaseFolder( wxCommandEvent& event ) = 0;
public:
TracklistingGen( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Tracklisting Generator"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 766,723 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~TracklistingGen();
};
///////////////////////////////////////////////////////////////////////////////
/// Class TrackInfoBase
///////////////////////////////////////////////////////////////////////////////
class TrackInfoBase : public wxFrame
{
private:
protected:
wxStaticText* label;
wxTextCtrl* xmlInfo;
wxButton* deleteButton;
wxButton* updateTrackButton;
// Virtual event handlers, override them in your derived class
virtual void onDeleteTrack( wxCommandEvent& event ) = 0;
virtual void onUpdateTrack( wxCommandEvent& event ) = 0;
public:
TrackInfoBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Track Info Viewer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~TrackInfoBase();
};
///////////////////////////////////////////////////////////////////////////////
/// Class TrackTextViewer
///////////////////////////////////////////////////////////////////////////////
class TrackTextViewer : public wxFrame
{
private:
protected:
wxSearchCtrl* m_searchCtrl2;
wxDataViewListCtrl* table;
wxDataViewColumn* m_dataViewListColumn1;
wxDataViewColumn* m_dataViewListColumn2;
wxButton* updateBTN;
// Virtual event handlers, override them in your derived class
virtual void OnTextChange( wxCommandEvent& event ) { event.Skip(); }
virtual void OnEditingDone( wxDataViewEvent& event ) { event.Skip(); }
virtual void onFinalize( wxCommandEvent& event ) { event.Skip(); }
public:
TrackTextViewer( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Track Text Viewer"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
~TrackTextViewer();
};