]> git.sesse.net Git - vlc/commitdiff
beos/*: fixed fullscreen shortcuts
authorEric Petit <titer@videolan.org>
Fri, 18 Apr 2003 16:10:28 +0000 (16:10 +0000)
committerEric Petit <titer@videolan.org>
Fri, 18 Apr 2003 16:10:28 +0000 (16:10 +0000)
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/VideoOutput.cpp

index b60c059c2245289e457f3ebb07561c5828992598..60352ad479f28b1a17ec6697b83ecaea80c72498 100644 (file)
@@ -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 );
index 0961449d6e185eb8c930e2af63ac84e59a78bf91..d1e61eedd565280b9adbfabc3a300e5130f15201 100644 (file)
@@ -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