Commit 4815c251 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* modules/gui/macosx/misc.?

  - 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
parent ff328a8e
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{CLASS = VLBrushedMetalImageView; LANGUAGE = ObjC; SUPERCLASS = NSImageView; },
{CLASS = VLCApplication; LANGUAGE = ObjC; SUPERCLASS = NSApplication; },
{
ACTIONS = {
......
......@@ -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>
......
......@@ -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>
*
......@@ -21,6 +21,18 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
/*****************************************************************************
* VLBrushedMetalImageView
*****************************************************************************/
@interface VLBrushedMetalImageView : NSImageView
{
}
@end
/*****************************************************************************
* MPSlider
*****************************************************************************/
......
......@@ -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>
*
......@@ -25,6 +25,20 @@
#include "misc.h"
/*****************************************************************************
* VLBrushedMetalImageView
*****************************************************************************/
@implementation VLBrushedMetalImageView
- (BOOL)mouseDownCanMoveWindow
{
return YES;
}
@end
/*****************************************************************************
* MPSlider
*****************************************************************************/
......
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