]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/prefs_widgets.h
Work on MacOS preferences. Need to be completed, improved, and debugged...
[vlc] / modules / gui / macosx / prefs_widgets.h
index 725b069d7b0b2a0d98d827b55a2e3167df2d5ba0..617e4c5345e948b8aa58cbe8f2bc543ad876eac7 100644 (file)
  *****************************************************************************/
 
 
-@interface VLCConfigControl : NSBox
+@interface VLCConfigControl : NSView
 {
     vlc_object_t    *p_this;
+    module_config_t *p_item;
     char            *psz_name;
     NSTextField     *o_label;
     int             i_type;
     vlc_bool_t      b_advanced;
+    NSView          *contentView;
 }
 
-+ (VLCConfigControl *)newControl: (module_config_t *)p_item withView: (NSView *)o_parent_view withObject: (vlc_object_t *)p_this;
++ (VLCConfigControl *)newControl: (module_config_t *)p_item withView: (NSView *)o_parent_view withObject: (vlc_object_t *)p_this offset:(NSPoint) offset;
 - (id)initWithFrame: (NSRect)frame item: (module_config_t *)p_item withObject: (vlc_object_t *)_p_this;
 - (NSString *)getName;
 - (int)getType;
@@ -50,6 +52,7 @@
 }
 
 @end
+#if 0
 
 @interface ModuleConfigControl : VLCConfigControl
 {
@@ -57,7 +60,7 @@
 }
 
 @end
-
+#endif
 @interface StringConfigControl : VLCConfigControl
 {
     NSTextField     *o_textfield;
@@ -71,7 +74,6 @@
 }
 
 @end
-
 @interface FileConfigControl : VLCConfigControl
 {
     NSTextField     *o_textfield;
 - (void)textfieldChanged:(NSNotification *)o_notification;
 
 @end
+#if 0
 
 @interface FloatConfigControl : VLCConfigControl
 {
 }
 
 @end
+#endif
\ No newline at end of file