From: Eric Petit Date: Fri, 18 Apr 2003 16:10:28 +0000 (+0000) Subject: beos/*: fixed fullscreen shortcuts X-Git-Tag: 0.6.0~541 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1a4cc4bc5b6e9d49ddb6a08cc93423c5bad4ae86;p=vlc beos/*: fixed fullscreen shortcuts --- diff --git a/modules/gui/beos/InterfaceWindow.cpp b/modules/gui/beos/InterfaceWindow.cpp index b60c059c22..60352ad479 100644 --- a/modules/gui/beos/InterfaceWindow.cpp +++ b/modules/gui/beos/InterfaceWindow.cpp @@ -2,7 +2,7 @@ * InterfaceWindow.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: InterfaceWindow.cpp,v 1.32 2003/04/18 15:25:50 titer Exp $ + * $Id: InterfaceWindow.cpp,v 1.33 2003/04/18 16:10:28 titer Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -214,9 +214,6 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name, screen_rect.top + 600 ); fMessagesWindow = new MessagesWindow( p_intf, window_rect, "Messages" ); - // set the title bar - SetName( "interface" ); - // the media control view p_mediaControl = new MediaControlView( BRect( 0.0, 0.0, 250.0, 50.0 ), p_intf ); diff --git a/modules/gui/beos/VideoOutput.cpp b/modules/gui/beos/VideoOutput.cpp index 0961449d6e..d1e61eedd5 100644 --- a/modules/gui/beos/VideoOutput.cpp +++ b/modules/gui/beos/VideoOutput.cpp @@ -2,7 +2,7 @@ * vout_beos.cpp: beos video output display method ***************************************************************************** * Copyright (C) 2000, 2001 VideoLAN - * $Id: VideoOutput.cpp,v 1.13 2003/03/12 23:15:03 titer Exp $ + * $Id: VideoOutput.cpp,v 1.14 2003/04/18 16:10:28 titer Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -112,7 +112,7 @@ beos_GetAppWindow(char *name) BWindow* get_interface_window() { - return beos_GetAppWindow(VOUT_TITLE); + return beos_GetAppWindow( "VLC " PACKAGE_VERSION ); } class BackgroundView : public BView @@ -1096,8 +1096,8 @@ VLCView::MouseDown(BPoint where) { if (clicks == 2 && !fIgnoreDoubleClick) Window()->Zoom(); - else - videoWindow->ToggleInterfaceShowing(); + /* else + videoWindow->ToggleInterfaceShowing(); */ fIgnoreDoubleClick = false; } else @@ -1251,6 +1251,8 @@ VLCView::KeyDown(const char *bytes, int32 numBytes) uint32 mods = modifiers(); switch (*bytes) { case B_TAB: + case 'f': + case 'F': // toggle window and full screen mode // not passing on the tab key to the default KeyDown() // implementation also avoids loosing the keyboard focus