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

beos/*: fixed fullscreen shortcuts

parent 7671dda5
......@@ -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 <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
......@@ -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 );
......
......@@ -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 <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
......@@ -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
......
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