MCPcopy Create free account
hub / github.com/MaartenBaert/ssr / OnUpdateRecordingFrame

Method OnUpdateRecordingFrame

src/GUI/PageInput.cpp:1007–1015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1005#endif
1006
1007void PageInput::OnUpdateRecordingFrame() {
1008 if(m_spinbox_video_x->hasFocus() || m_spinbox_video_y->hasFocus() || m_spinbox_video_w->hasFocus() || m_spinbox_video_h->hasFocus()) {
1009 if(m_recording_frame == NULL)
1010 m_recording_frame.reset(new RecordingFrameWindow(this, false));
1011 m_recording_frame->SetRectangle(QRect(GetVideoX(), GetVideoY(), GetVideoW(), GetVideoH()));
1012 } else {
1013 m_recording_frame.reset();
1014 }
1015}
1016
1017void PageInput::OnUpdateVideoAreaFields() {
1018 switch(GetVideoArea()) {

Callers

nothing calls this directly

Calls 1

SetRectangleMethod · 0.80

Tested by

no test coverage detected