Commit 66bf046e authored by Jérome Decoodt's avatar Jérome Decoodt

Work on MacOS preferences. Need to be completed, improved, and debugged...

parent b68c1a2b
......@@ -27,6 +27,7 @@
int i_object_id;
VLCTreeItem *o_parent;
NSMutableArray *o_children;
int i_object_category;
}
+ (VLCTreeItem *)rootItem;
......@@ -35,6 +36,7 @@
- (int)getObjectID;
- (NSString *)getName;
- (BOOL)hasPrefs:(NSString *)o_module_name;
- (NSView *)showView:(NSScrollView *)o_prefs_view;
@end
......
This diff is collapsed.
......@@ -22,16 +22,18 @@
*****************************************************************************/
@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;
......@@ -114,6 +116,7 @@
- (void)textfieldChanged:(NSNotification *)o_notification;
@end
#if 0
@interface FloatConfigControl : VLCConfigControl
{
......@@ -142,3 +145,4 @@
}
@end
#endif
\ No newline at end of file
This diff is collapsed.
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