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