summaryrefslogtreecommitdiff
path: root/src/wx/gpu_config_panel.h
blob: 375b5487e69a9d3eff25dd711c666e53d26ad428 (plain)
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
#include "config_dialog.h"


#pragma once


class CheckBox;
class GPUList;
class wxTextCtrl;


class GPUPage : public Page
{
public:
	GPUPage(wxSize panel_size, int border);

	wxString GetName() const override;

#ifdef DCPOMATIC_OSX
	wxBitmap GetLargeIcon() const override;
#endif

private:
	void setup() override;
	void config_changed() override;
	void enable_gpu_changed();
	void binary_location_changed();
	void server_changed();
	void port_changed();
	void license_changed();

	CheckBox* _enable_gpu;
	wxDirPickerCtrl* _binary_location;
	GPUList* _gpu_list_control;
	wxTextCtrl* _server;
	wxSpinCtrl* _port;
	PasswordEntry* _license;
};