forked from mia/Aegisub
Increase the maximum zoom to 300%.
Originally committed to SVN as r3634.
This commit is contained in:
parent
1f27582b50
commit
37ec7ad62c
2 changed files with 2 additions and 2 deletions
|
@ -268,7 +268,7 @@ void FrameMain::InitToolbar () {
|
|||
Toolbar->AddTool(Menu_Video_Zoom_In,_("Zoom in"),GETIMAGE(zoom_in_button_24),wxNullBitmap,wxITEM_NORMAL,_("Zoom video in"));
|
||||
Toolbar->AddTool(Menu_Video_Zoom_Out,_("Zoom out"),GETIMAGE(zoom_out_button_24),wxNullBitmap,wxITEM_NORMAL,_("Zoom video out"));
|
||||
wxArrayString choices;
|
||||
for (int i=1;i<=16;i++) {
|
||||
for (int i=1;i<=24;i++) {
|
||||
wxString toAdd = wxString::Format(_T("%i"),int(i*12.5));
|
||||
if (i%2) toAdd += _T(".5");
|
||||
toAdd += _T("%");
|
||||
|
|
|
@ -531,7 +531,7 @@ void VideoDisplay::SetZoom(double value) {
|
|||
/// @param value The new zoom position
|
||||
void VideoDisplay::SetZoomPos(int value) {
|
||||
if (value < 0) value = 0;
|
||||
if (value > 15) value = 15;
|
||||
if (value > 23) value = 23;
|
||||
SetZoom(double(value+1)/8.0);
|
||||
if (zoomBox->GetSelection() != value) zoomBox->SetSelection(value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue