projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework canvas zoom, add 3 plugins from 7.2, tweak cwdw boundry, vdevicex11 dupl close...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
cwindow.C
diff --git
a/cinelerra-5.1/cinelerra/cwindow.C
b/cinelerra-5.1/cinelerra/cwindow.C
index d60617582f2e29312972737450bc096416c0c875..d4047e3564bd3c006bcdf3c2b15dc7004d731723 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cwindow.C
+++ b/
cinelerra-5.1/cinelerra/cwindow.C
@@
-228,7
+228,7
@@
void CWindow::update(int dir, int overlays, int tool_window, int operation, int
gui->timebar->update(1);
double zoom = !mwindow->edl->session->cwindow_scrollbars ?
gui->timebar->update(1);
double zoom = !mwindow->edl->session->cwindow_scrollbars ?
- 0 :mwindow->edl->session->cwindow_zoom;
+ 0 :
mwindow->edl->session->cwindow_zoom;
gui->zoom_panel->update(zoom);
gui->canvas->update_zoom(mwindow->edl->session->cwindow_xscroll,
gui->zoom_panel->update(zoom);
gui->canvas->update_zoom(mwindow->edl->session->cwindow_xscroll,
@@
-328,10
+328,7
@@
int CWindowRemoteHandler::remote_process_key(RemoteControl *remote_control, int
break;
case 'f': {
Canvas *canvas = mwindow_gui->mwindow->cwindow->gui->canvas;
break;
case 'f': {
Canvas *canvas = mwindow_gui->mwindow->cwindow->gui->canvas;
- if( !canvas->get_fullscreen() )
- canvas->start_fullscreen();
- else
- canvas->stop_fullscreen();
+ canvas->use_fullscreen(canvas->get_fullscreen() ? 0 : 1);
return 1; }
default:
return -1;
return 1; }
default:
return -1;