Move some of gpu_config_panel.h to a .cc.
[dcpomatic.git] / src / wx / gpu_config_panel.h
1 #include "config_dialog.h"
2
3
4 #pragma once
5
6
7 class CheckBox;
8 class GPUList;
9 class wxTextCtrl;
10
11
12 class GPUPage : public Page
13 {
14 public:
15         GPUPage(wxSize panel_size, int border);
16
17         wxString GetName() const override;
18
19 #ifdef DCPOMATIC_OSX
20         wxBitmap GetLargeIcon() const override;
21 #endif
22
23 private:
24         void setup() override;
25         void config_changed() override;
26         void enable_gpu_changed();
27         void binary_location_changed();
28         void server_changed();
29         void port_changed();
30         void license_changed();
31
32         CheckBox* _enable_gpu;
33         wxDirPickerCtrl* _binary_location;
34         GPUList* _gpu_list_control;
35         wxTextCtrl* _server;
36         wxSpinCtrl* _port;
37         PasswordEntry* _license;
38 };