forked from mia/Aegisub
Implement the overscan mask command
Originally committed to SVN as r5268.
This commit is contained in:
parent
95c45b3102
commit
b3562eb917
1 changed files with 1 additions and 3 deletions
|
@ -513,9 +513,7 @@ struct video_show_overscan : public Command {
|
||||||
STR_HELP("Show a mask over the video, indicating areas that might get cropped off by overscan on televisions.")
|
STR_HELP("Show a mask over the video, indicating areas that might get cropped off by overscan on televisions.")
|
||||||
|
|
||||||
void operator()(agi::Context *c) {
|
void operator()(agi::Context *c) {
|
||||||
//XXX: Fix to not require using an event. (maybe)
|
OPT_SET("Video/Overscan Mask")->SetBool(!OPT_GET("Video/Overscan Mask")->GetBool());
|
||||||
// OPT_SET("Video/Overscan Mask")->SetBool(event.IsChecked());
|
|
||||||
c->videoController->Stop();
|
|
||||||
c->videoBox->videoDisplay->Render();
|
c->videoBox->videoDisplay->Render();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue