-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreferencesdialog.h
More file actions
32 lines (26 loc) · 882 Bytes
/
preferencesdialog.h
File metadata and controls
32 lines (26 loc) · 882 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
/////////////////////////////////////////////////////////////////////////////
// Name: preferencesdialog.h
// Purpose: Header file for preferencesdialog.cpp
// Author: Jan Buchholz
// Created: 2025-11-12
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include <wx/wx.h>
#include <wx/filepicker.h>
#include "jbtypes.h"
class PreferencesDialog {
public:
explicit PreferencesDialog(wxFrame* parent);
~PreferencesDialog();
int showDialog(mo_app_settings preferences);
mo_app_settings getPreferences();
private:
wxDialog* m_dialog;
wxFrame* m_parent;
wxFilePickerCtrl* m_filePicker;
wxTextCtrl* m_inp_exclusion;
mo_app_settings m_prefs;
std::vector<wxCheckBox*> m_extensionBoxes;
void onOkClicked(wxCommandEvent& event);
void onCancelClicked(wxCommandEvent& event);
};