]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/misc.h
macosx: re-written the 'Open Disc' tab in the open panel
[vlc] / modules / gui / macosx / misc.h
index 8569d27cd3ce86821012c5c76ab945c578d35cee..26154ffc5e4eb2726c240231219fe3d343e45836 100644 (file)
@@ -1,10 +1,11 @@
 /*****************************************************************************
  * misc.h: code not specific to vlc
  *****************************************************************************
- * Copyright (C) 2003-2007 the VideoLAN team
+ * Copyright (C) 2003-2011 the VideoLAN team
  * $Id$
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
+ *          Felix Paul Kühne <fkuehne at videolan dot org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 
 @end
 
+/*****************************************************************************
+ * TimeLineSlider
+ *****************************************************************************/
+
+@interface TimeLineSlider : NSSlider
+{
+}
+
+- (void)drawRect:(NSRect)rect;
+- (void)drawKnobInRect:(NSRect)knobRect;
+
+@end
+
 /*****************************************************************************
  * ITSlider
  *****************************************************************************/
 {
 }
 
+- (void)drawRect:(NSRect)rect;
+- (void)drawKnobInRect:(NSRect)knobRect;
+
 @end
 
 /*****************************************************************************
- * ITSliderCell
+ * VLCTimeField interface
+ *****************************************************************************
+ * we need the implementation to catch our click-event in the controller window
  *****************************************************************************/
 
-@interface ITSliderCell : NSSliderCell
+@interface VLCTimeField : NSTextField
 {
-    NSImage *_knobOff;
-    NSImage *_knobOn;
-    BOOL b_mouse_down;
 }
-
 @end