]> git.sesse.net Git - vlc/commitdiff
* modules/gui/macosx/misc.?
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 13 Mar 2003 22:24:17 +0000 (22:24 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 13 Mar 2003 22:24:17 +0000 (22:24 +0000)
  - added VLBrushedMetalImageView. This imageview does not respond to
    mousedrage, so we can still move our window by it's background.
* extras/MacOSX/Resources/English.lproj/MainMenu.nib/*
  - Changed the container of our background image to the new
    VLBrushedMetalImageView.
    This fixes #390

extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
modules/gui/macosx/misc.h
modules/gui/macosx/misc.m

index 46fa025f1ced044f4d8ea1547bacf8fce6ee44d6..7f00cbfb6af1b2db3560a8b5092b3e8ddb00d833 100644 (file)
@@ -1,6 +1,7 @@
 {
     IBClasses = (
         {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
+        {CLASS = VLBrushedMetalImageView; LANGUAGE = ObjC; SUPERCLASS = NSImageView; }, 
         {CLASS = VLCApplication; LANGUAGE = ObjC; SUPERCLASS = NSApplication; }, 
         {
             ACTIONS = {
index 4f7956f9be638c1aab7b63bd64d821701db3e626..9733b4b559edf55a2bc07595fb584ed3c49abfaa 100644 (file)
@@ -23,8 +23,8 @@
        </array>
        <key>IBOpenObjects</key>
        <array>
-               <integer>21</integer>
                <integer>1194</integer>
+               <integer>21</integer>
                <integer>29</integer>
        </array>
        <key>IBSystem Version</key>
index fadbaa1dac41f8a6fc3e4186f50867b6fda6223e..633183bdc794584860f0fd77bddb50a44573aa36 100644 (file)
Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib differ
index 8fdd3e89b8edb8fa673f7396083b1f8b9596e8e4..6c1ca219630f99f4f0823932828586c395f52fba 100644 (file)
@@ -2,7 +2,7 @@
  * misc.h: code not specific to vlc
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: misc.h,v 1.1 2003/01/21 00:47:43 jlj Exp $
+ * $Id: misc.h,v 1.2 2003/03/13 22:24:17 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
+/*****************************************************************************
+ * VLBrushedMetalImageView
+ *****************************************************************************/
+
+@interface VLBrushedMetalImageView : NSImageView
+{
+
+}
+
+@end
+
+
 /*****************************************************************************
  * MPSlider
  *****************************************************************************/
index 4bc23d6b9e725b7cf34ff2fb461f2b48c97b55ca..67196e9bb267a690cb4be3846eca693eac92050c 100644 (file)
@@ -2,7 +2,7 @@
  * misc.m: code not specific to vlc
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: misc.m,v 1.1 2003/01/21 00:47:43 jlj Exp $
+ * $Id: misc.m,v 1.2 2003/03/13 22:24:17 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *
 
 #include "misc.h"
 
+/*****************************************************************************
+ * VLBrushedMetalImageView
+ *****************************************************************************/
+
+@implementation VLBrushedMetalImageView
+
+- (BOOL)mouseDownCanMoveWindow
+{
+    return YES;
+}
+
+@end
+
+
 /*****************************************************************************
  * MPSlider
  *****************************************************************************/