]> git.saurik.com Git - iphone-api.git/blob - UIKit/UISegmentedControl.h
Added UISystemFont*.
[iphone-api.git] / UIKit / UISegmentedControl.h
1 /*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7 #import <UIKit/UIControl.h>
8
9 @class NSMutableArray, UIColor, UIView;
10
11 @interface UISegmentedControl : UIControl <NSCoding>
12 {
13 NSMutableArray *_segments;
14 int _selectedSegment;
15 int _highlightedSegment;
16 UIView *_selectionIndicator;
17 UIView *_highlightIndicator;
18 id _delegate;
19 UIColor *_tintColor;
20 struct {
21 unsigned int style:3;
22 unsigned int size:2;
23 unsigned int showsDisclosure:1;
24 unsigned int delegateSelectedSegmentChanged:1;
25 unsigned int delegateDisclosureButtonClicked:1;
26 unsigned int delegateAlwaysNotifiesDelegateOfSegmentClicks:1;
27 unsigned int momentaryClick:1;
28 unsigned int dontAlwaysToggleForTwoSegments:1;
29 unsigned int tracking:1;
30 unsigned int mouseInside:1;
31 unsigned int autosizeToFitSegments:1;
32 unsigned int isSizingToFit:1;
33 } _segmentedControlFlags;
34 }
35
36 + (float)defaultHeightForStyle:(int)fp8 size:(int)fp12;
37 + (float)defaultHeightForStyle:(int)fp8;
38 - (void)_commonSegmentedControlInit;
39 - (id)initWithFrame:(struct CGRect)fp8;
40 - (id)initWithItems:(id)fp8;
41 - (id)initWithCoder:(id)fp8;
42 - (void)_populateArchivedSubviews:(id)fp8;
43 - (void)encodeWithCoder:(id)fp8;
44 - (void)dealloc;
45 - (int)segmentedControlStyle;
46 - (void)setSegmentedControlStyle:(int)fp8;
47 - (int)controlSize;
48 - (void)setControlSize:(int)fp8;
49 - (int)segmentControlStyle;
50 - (void)setSegmentControlStyle:(int)fp8;
51 - (BOOL)isMomentary;
52 - (void)setMomentary:(BOOL)fp8;
53 - (void)setAlwaysToggleForTwoSegments:(BOOL)fp8;
54 - (void)setTintColor:(id)fp8;
55 - (void)insertSegmentWithTitle:(id)fp8 atIndex:(unsigned int)fp12 animated:(BOOL)fp16;
56 - (void)insertSegmentWithImage:(id)fp8 atIndex:(unsigned int)fp12 animated:(BOOL)fp16;
57 - (void)removeSegmentAtIndex:(unsigned int)fp8 animated:(BOOL)fp12;
58 - (void)removeAllSegments;
59 - (void)setTitle:(id)fp8 forSegmentAtIndex:(unsigned int)fp12;
60 - (id)titleForSegmentAtIndex:(unsigned int)fp8;
61 - (void)setImage:(id)fp8 forSegmentAtIndex:(unsigned int)fp12;
62 - (id)imageForSegmentAtIndex:(unsigned int)fp8;
63 - (void)setWidth:(float)fp8 forSegmentAtIndex:(unsigned int)fp12;
64 - (float)widthForSegmentAtIndex:(unsigned int)fp8;
65 - (void)setContentOffset:(struct CGSize)fp8 forSegmentAtIndex:(unsigned int)fp16;
66 - (struct CGSize)contentOffsetForSegmentAtIndex:(unsigned int)fp8;
67 - (void)setEnabled:(BOOL)fp8 forSegmentAtIndex:(unsigned int)fp12;
68 - (BOOL)isEnabledForSegmentAtIndex:(unsigned int)fp8;
69 - (unsigned int)numberOfSegments;
70 - (int)selectedSegmentIndex;
71 - (void)setSelectedSegmentIndex:(int)fp8;
72 - (void)sizeToFit;
73 - (void)setFrame:(struct CGRect)fp8;
74 - (void)drawRect:(struct CGRect)fp8;
75 - (struct CGSize)sizeThatFits:(struct CGSize)fp8;
76 - (void)layoutSubviews;
77 - (BOOL)shouldTrack;
78 - (void)updateHighlight;
79 - (void)highlightSegment:(int)fp8;
80 - (void)mouseDown:(struct __GSEvent *)fp8;
81 - (BOOL)pointMostlyInside:(struct CGPoint)fp8 withEvent:(id)fp16;
82 - (BOOL)pointMostlyInside:(struct CGPoint)fp8 forEvent:(struct __GSEvent *)fp16;
83 - (void)mouseDragged:(struct __GSEvent *)fp8;
84 - (void)mouseUp:(struct __GSEvent *)fp8;
85 - (void)touchesBegan:(id)fp8 withEvent:(id)fp12;
86 - (void)touchesMoved:(id)fp8 withEvent:(id)fp12;
87 - (void)touchesEnded:(id)fp8 withEvent:(id)fp12;
88 - (id)tintColor;
89
90 @end
91