X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fmisc.h;h=a27f87cc529a7763bfbc3ef0eea13067d4466c31;hb=8a5d95d032dd1d3773858ece1d5efe2f970d6bab;hp=6a636d81c21d30ff66241e4a8946d17bd07cefab;hpb=144e4cc2d6cca2f7cdfd44ddd035b1faf9d79248;p=vlc diff --git a/modules/gui/macosx/misc.h b/modules/gui/macosx/misc.h index 6a636d81c2..a27f87cc52 100644 --- a/modules/gui/macosx/misc.h +++ b/modules/gui/macosx/misc.h @@ -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 @@ -21,8 +21,18 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ +#import #import +/***************************************************************************** + * 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; @@ -120,9 +131,9 @@ @end /***************************************************************************** - * ITSliderCell + * ITSlider *****************************************************************************/ - + @interface ITSlider : NSSlider { } @@ -132,12 +143,13 @@ /***************************************************************************** * ITSliderCell *****************************************************************************/ - + @interface ITSliderCell : NSSliderCell { NSImage *_knobOff; NSImage *_knobOn; BOOL b_mouse_down; } +- (void)controlTintChanged; @end