]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/misc.h
macosx: Use input_ItemHasErrorWhenReading to display a small icon if there was an...
[vlc] / modules / gui / macosx / misc.h
index 6a636d81c21d30ff66241e4a8946d17bd07cefab..a27f87cc529a7763bfbc3ef0eea13067d4466c31 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * misc.h: code not specific to vlc
  *****************************************************************************
- * Copyright (C) 2003 the VideoLAN team
+ * Copyright (C) 2003-2007 the VideoLAN team
  * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#import <Cocoa/Cocoa.h>
 #import <ApplicationServices/ApplicationServices.h>
 
+/*****************************************************************************
+ * NSImage (VLCAddition)
+ *****************************************************************************/
+
+@interface NSImage (VLCAdditions)
++ (id)imageWithWarningIcon;
++ (id)imageWithErrorIcon;
+@end
+
 /*****************************************************************************
  * NSAnimation (VLCAddition)
  *****************************************************************************/
@@ -42,6 +52,7 @@
 
 + (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID;
 - (BOOL)isMainScreen;
+- (BOOL)isScreen: (NSScreen*)screen;
 - (CGDirectDisplayID)displayID;
 - (void)blackoutOtherScreens;
 + (void)unblackoutScreens;
 @end
 
 /*****************************************************************************
- * ITSliderCell
+ * ITSlider
  *****************************************************************************/
+
 @interface ITSlider : NSSlider
 {
 }
 /*****************************************************************************
  * ITSliderCell
  *****************************************************************************/
+
 @interface ITSliderCell : NSSliderCell
 {
     NSImage *_knobOff;
     NSImage *_knobOn;
     BOOL b_mouse_down;
 }
+- (void)controlTintChanged;
 
 @end