Commit 1a4cc4bc authored by Eric Petit's avatar Eric Petit

beos/*: fixed fullscreen shortcuts

parent 7671dda5
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* InterfaceWindow.cpp: beos interface * InterfaceWindow.cpp: beos interface
***************************************************************************** *****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN * 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 <polux@via.ecp.fr> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -214,9 +214,6 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name, ...@@ -214,9 +214,6 @@ InterfaceWindow::InterfaceWindow( BRect frame, const char* name,
screen_rect.top + 600 ); screen_rect.top + 600 );
fMessagesWindow = new MessagesWindow( p_intf, window_rect, "Messages" ); fMessagesWindow = new MessagesWindow( p_intf, window_rect, "Messages" );
// set the title bar
SetName( "interface" );
// the media control view // the media control view
p_mediaControl = new MediaControlView( BRect( 0.0, 0.0, 250.0, 50.0 ), p_mediaControl = new MediaControlView( BRect( 0.0, 0.0, 250.0, 50.0 ),
p_intf ); p_intf );
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout_beos.cpp: beos video output display method * vout_beos.cpp: beos video output display method
***************************************************************************** *****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN * 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 <polux@via.ecp.fr> * Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -112,7 +112,7 @@ beos_GetAppWindow(char *name) ...@@ -112,7 +112,7 @@ beos_GetAppWindow(char *name)
BWindow* BWindow*
get_interface_window() get_interface_window()
{ {
return beos_GetAppWindow(VOUT_TITLE); return beos_GetAppWindow( "VLC " PACKAGE_VERSION );
} }
class BackgroundView : public BView class BackgroundView : public BView
...@@ -1096,8 +1096,8 @@ VLCView::MouseDown(BPoint where) ...@@ -1096,8 +1096,8 @@ VLCView::MouseDown(BPoint where)
{ {
if (clicks == 2 && !fIgnoreDoubleClick) if (clicks == 2 && !fIgnoreDoubleClick)
Window()->Zoom(); Window()->Zoom();
else /* else
videoWindow->ToggleInterfaceShowing(); videoWindow->ToggleInterfaceShowing(); */
fIgnoreDoubleClick = false; fIgnoreDoubleClick = false;
} }
else else
...@@ -1251,6 +1251,8 @@ VLCView::KeyDown(const char *bytes, int32 numBytes) ...@@ -1251,6 +1251,8 @@ VLCView::KeyDown(const char *bytes, int32 numBytes)
uint32 mods = modifiers(); uint32 mods = modifiers();
switch (*bytes) { switch (*bytes) {
case B_TAB: case B_TAB:
case 'f':
case 'F':
// toggle window and full screen mode // toggle window and full screen mode
// not passing on the tab key to the default KeyDown() // not passing on the tab key to the default KeyDown()
// implementation also avoids loosing the keyboard focus // implementation also avoids loosing the keyboard focus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment