mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 07:39:19 +02:00
extcam camera: separate preview and recording
This commit is contained in:
@@ -46,6 +46,16 @@ void ui::cameraview_panel::render()
|
||||
ui_panel::render();
|
||||
}
|
||||
|
||||
bool ui::cameraview_panel::set_state(state_e e)
|
||||
{
|
||||
if (state != e) {
|
||||
state = e;
|
||||
is_open = (state != IDLE);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void ui::cameraview_panel::render_contents()
|
||||
{
|
||||
if (exit_thread) {
|
||||
|
||||
Reference in New Issue
Block a user