| 1005 | #endif |
| 1006 | |
| 1007 | void 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 | |
| 1017 | void PageInput::OnUpdateVideoAreaFields() { |
| 1018 | switch(GetVideoArea()) { |
nothing calls this directly
no test coverage detected