]> git.saurik.com Git - iphone-api.git/blob - UIKit/UIPushButton.h
Added some SpringBoardServices work from ashikase.
[iphone-api.git] / UIKit / UIPushButton.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 NSString, UIFont;
10
11 /*XXX:*/typedef struct {
12 struct CGRect left;
13 struct CGRect middle;
14 struct CGRect right;
15 } CDAnonymousStruct10;
16
17 @interface UIPushButton : UIControl
18 {
19 NSString *_title;
20 UIFont *_font;
21 struct CGSize _shadowOffset;
22 struct CGSize _imageOffset;
23 struct CGSize _titlePadding;
24 struct __CFDictionary *_info;
25 struct {
26 unsigned int selected:1;
27 unsigned int drawShadow:1;
28 unsigned int disableAutosizeToFit:1;
29 unsigned int drawContentsCentered:1;
30 unsigned int reverseShadowDirectionWhenHighlighted:1;
31 unsigned int stretchBackground:1;
32 unsigned int showPressFeedback:1;
33 unsigned int disabledDimsImage:1;
34 unsigned int reserved:24;
35 } _pushButtonFlags;
36 }
37
38 + (id)defaultFont;
39 - (id)initWithFrame:(struct CGRect)fp8;
40 - (id)initWithTitle:(id)fp8;
41 - (id)initWithTitle:(id)fp8 autosizesToFit:(BOOL)fp12;
42 - (id)initWithImage:(id)fp8;
43 - (void)dealloc;
44 - (unsigned int)state;
45 - (void)setEnabled:(BOOL)fp8;
46 - (BOOL)isPressed;
47 - (void)setSelected:(BOOL)fp8;
48 - (BOOL)isSelected;
49 - (void)setTitle:(id)fp8;
50 - (id)title;
51 - (void)setTitleFont:(id)fp8;
52 - (id)titleFont;
53 - (void)setAutosizesToFit:(BOOL)fp8;
54 - (BOOL)autosizesToFit;
55 - (void)sizeToFit;
56 - (struct CGPoint)pressFeedbackPosition;
57 - (void)setHighlighted:(BOOL)fp8;
58 - (void)setTitlePadding:(struct CGSize)fp8;
59 - (void)setImageOffset:(struct CGSize)fp8;
60 - (void)setDrawsShadow:(BOOL)fp8;
61 - (void)setShadowOffset:(float)fp8;
62 - (void)setReverseShadowDirectionWhenHighlighted:(BOOL)fp8;
63 - (void)setStretchBackground:(BOOL)fp8;
64 - (void)setDrawContentsCentered:(BOOL)fp8;
65 - (void)setShowPressFeedback:(BOOL)fp8;
66 - (BOOL)drawsShadow;
67 - (struct CGSize)shadowOffset;
68 - (struct CGSize)imageOffset;
69 - (BOOL)drawContentsCentered;
70 - (void)setImage:(id)fp8 forState:(unsigned int)fp12;
71 - (void)setTitleColor:(id)fp8 forState:(unsigned int)fp12;
72 - (void)setShadowColor:(id)fp8 forState:(unsigned int)fp12;
73 - (void)setBackground:(id)fp8 forState:(unsigned int)fp12;
74 - (void)setDisabledDimsImage:(BOOL)fp8;
75 - (id)imageForState:(unsigned int)fp8;
76 - (id)titleColorForState:(unsigned int)fp8;
77 - (id)shadowColorForState:(unsigned int)fp8;
78 - (id)backgroundForState:(unsigned int)fp8;
79 - (id)currentImage;
80 - (id)currentTitleColor;
81 - (id)currentShadowColor;
82 - (id)currentBackground;
83 - (void)setFrame:(struct CGRect)fp8;
84 - (CDAnonymousStruct10)_backgroundSlices:(struct CGSize)fp8;
85 - (void)_drawBezelPartInRect:(struct CGRect)fp8;
86 - (void)drawImageAtPoint:(struct CGPoint)fp8 fraction:(float)fp16;
87 - (void)drawTitleAtPoint:(struct CGPoint)fp8 width:(float)fp16;
88 - (void)_drawImageAndTextPartInRect:(struct CGRect)fp8;
89 - (void)drawButtonPart:(int)fp8 inRect:(struct CGRect)fp12;
90 - (void)drawRect:(struct CGRect)fp8;
91 - (void)setNeedsDisplay;
92
93 @end
94