]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIButton.h
This one only took me maybe a half hour to find.
[iphone-api.git] / UIKit / UIButton.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 UIFont, UIImageView, UILabel;
10
11 @interface UIButton : UIControl <NSCoding>
12 {
13 struct __CFDictionary *_contentLookup;
14 UIFont *_font;
15 CDAnonymousStruct2 _contentEdgeInsets;
16 CDAnonymousStruct2 _titleEdgeInsets;
17 CDAnonymousStruct2 _imageEdgeInsets;
18 struct CGSize _titleShadowOffset;
19 int _lineBreakMode;
20 UIImageView *_backgroundView;
21 UIImageView *_imageView;
22 UILabel *_titleView;
23 struct {
24 unsigned int reversesTitleShadowWhenHighlighted:1;
25 unsigned int adjustsImageWhenHighlighted:1;
26 unsigned int adjustsImageWhenDisabled:1;
27 unsigned int autosizeToFit:1;
28 unsigned int disabledDimsImage:1;
29 unsigned int showsTouchWhenHighlighted:1;
30 unsigned int buttonType:8;
31 } _buttonFlags;
32 }
33
34 + (id)_defaultContentForType:(int)fp8 andState:(unsigned int)fp12;
35 + (id)buttonWithType:(int)fp8;
36 - (id)initWithFrame:(struct CGRect)fp8;
37 - (id)initWithCoder:(id)fp8;
38 - (void)_populateArchivedSubviews:(id)fp8;
39 - (void)encodeWithCoder:(id)fp8;
40 - (void)dealloc;
41 - (int)buttonType;
42 - (void)setFrame:(struct CGRect)fp8;
43 - (void)setBounds:(struct CGRect)fp8;
44 - (void)setSelected:(BOOL)fp8;
45 - (void)setEnabled:(BOOL)fp8;
46 - (void)setHighlighted:(BOOL)fp8;
47 - (id)font;
48 - (void)setFont:(id)fp8;
49 - (int)lineBreakMode;
50 - (void)setLineBreakMode:(int)fp8;
51 - (CDAnonymousStruct2)contentEdgeInsets;
52 - (void)setContentEdgeInsets:(CDAnonymousStruct2)fp8;
53 - (CDAnonymousStruct2)titleEdgeInsets;
54 - (void)setTitleEdgeInsets:(CDAnonymousStruct2)fp8;
55 - (struct CGSize)titleShadowOffset;
56 - (void)setTitleShadowOffset:(struct CGSize)fp8;
57 - (BOOL)reversesTitleShadowWhenHighlighted;
58 - (BOOL)reversesTitleShadowOnHighlight;
59 - (void)setReversesTitleShadowWhenHighlighted:(BOOL)fp8;
60 - (void)setReversesTitleShadowOnHighlight:(BOOL)fp8;
61 - (BOOL)adjustsImageWhenHighlighted;
62 - (void)setAdjustsImageWhenHighlighted:(BOOL)fp8;
63 - (BOOL)adjustsImageWhenDisabled;
64 - (void)setAdjustsImageWhenDisabled:(BOOL)fp8;
65 - (BOOL)showsTouchWhenHighlighted;
66 - (void)setShowsTouchWhenHighlighted:(BOOL)fp8;
67 - (CDAnonymousStruct2)imageEdgeInsets;
68 - (void)setImageEdgeInsets:(CDAnonymousStruct2)fp8;
69 - (void)setTitle:(id)fp8 forState:(unsigned int)fp12;
70 - (void)setTitleColor:(id)fp8 forState:(unsigned int)fp12;
71 - (void)setTitleShadowColor:(id)fp8 forState:(unsigned int)fp12;
72 - (void)setImage:(id)fp8 forState:(unsigned int)fp12;
73 - (void)setBackgroundImage:(id)fp8 forState:(unsigned int)fp12;
74 - (id)titleForState:(unsigned int)fp8;
75 - (id)titleColorForState:(unsigned int)fp8;
76 - (id)titleShadowColorForState:(unsigned int)fp8;
77 - (id)imageForState:(unsigned int)fp8;
78 - (id)backgroundImageForState:(unsigned int)fp8;
79 - (id)currentTitle;
80 - (id)currentTitleColor;
81 - (id)currentTitleShadowColor;
82 - (id)currentImage;
83 - (id)currentBackgroundImage;
84 - (struct CGRect)backgroundRectForBounds:(struct CGRect)fp8;
85 - (struct CGRect)contentRectForBounds:(struct CGRect)fp8;
86 - (struct CGRect)titleRectForContentRect:(struct CGRect)fp8;
87 - (struct CGRect)imageRectForContentRect:(struct CGRect)fp8;
88 - (struct CGSize)sizeThatFits:(struct CGSize)fp8;
89 - (void)layoutSubviews;
90
91 @end
92