mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-11 09:18:30 +12:00
Add camera settings window and save camera config
This commit is contained in:
parent
791e358bf7
commit
b9000bd667
10 changed files with 284 additions and 59 deletions
22
src/gui/CameraSettingsWindow.h
Normal file
22
src/gui/CameraSettingsWindow.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/timer.h>
|
||||
#include <wx/choice.h>
|
||||
#include <wx/bmpbuttn.h>
|
||||
|
||||
class CameraSettingsWindow : public wxDialog
|
||||
{
|
||||
wxChoice* m_cameraChoice;
|
||||
wxButton* m_refreshButton;
|
||||
wxWindow* m_imageWindow;
|
||||
wxBitmap m_imageBitmap;
|
||||
wxTimer m_imageUpdateTimer;
|
||||
std::vector<uint8> m_imageBuffer;
|
||||
public:
|
||||
explicit CameraSettingsWindow(wxWindow* parent);
|
||||
void OnSelectCameraChoice(wxCommandEvent&);
|
||||
void OnRefreshPressed(wxCommandEvent&);
|
||||
void UpdateImage(const wxTimerEvent&);
|
||||
void OnClose(wxCloseEvent& event);
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue