Commit 41857c81 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: simplify prefs widgets header

parent 42100a2f
/*****************************************************************************
* prefs_widgets.h: Preferences controls
*****************************************************************************
* Copyright (C) 2002-2007 VLC authors and VideoLAN
* Copyright (C) 2002-2012 VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <hartman at videolan.org>
* Felix Paul Khne <fkuehne at videolan.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
......@@ -38,23 +39,26 @@ static NSMenu *o_keys_menu = nil;
bool b_advanced;
}
@property (readonly) NSString * name;
@property (readonly) int type;
@property (readonly) int viewType;
@property (readonly) BOOL advanced;
@property (readonly) int intValue;
@property (readonly) float floatValue;
@property (readonly) char * stringValue;
@property (readonly) int labelSize;
+ (VLCConfigControl *)newControl: (module_config_t *)_p_item
withView: (NSView *)o_parent_view;
+ (int)calcVerticalMargin: (int)i_curItem lastItem:(int)i_lastItem;
- (id)initWithFrame: (NSRect)frame item: (module_config_t *)p_item;
- (NSString *)name;
- (int)type;
- (int)viewType;
- (BOOL)isAdvanced;
- (void)setYPos:(int)i_yPos;
- (int)intValue;
- (float)floatValue;
- (char *)stringValue;
- (void)alignWithXPosition:(int)i_xPos;
- (void)applyChanges;
- (void)resetValues;
- (int)labelSize;
- (void) alignWithXPosition:(int)i_xPos;
+ (int)calcVerticalMargin: (int)i_curItem lastItem:(int)i_lastItem;
@end
......
......@@ -894,7 +894,7 @@ o_textfield = [[[NSSecureTextField alloc] initWithFrame: s_rc] retain]; \
return i_view_type;
}
- (BOOL)isAdvanced
- (BOOL)advanced
{
return b_advanced;
}
......
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