forked from phildow/Journler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNSThemeFrame.h
207 lines (201 loc) · 7.82 KB
/
NSThemeFrame.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/*
* Generated by class-dump 3.1.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2005 by Steve Nygard.
*/
#import "NSTitledFrame.h"
@class NSButton, NSImage, NSString;
@interface NSThemeFrame : NSTitledFrame
{
NSButton *toolbarButton;
int toolbarVisibleStatus;
NSImage *showToolbarTransitionImage;
struct _NSSize showToolbarPreWindowSize;
NSButton *modeButton;
int leftGroupTrackingTagNum;
int rightGroupTrackingTagNum;
BOOL mouseInsideLeftGroup;
BOOL mouseInsideRightGroup;
int widgetState;
NSString *displayName;
}
+ (void)initialize;
+ (void)drawBevel:(struct _NSRect)fp8 inFrame:(struct _NSRect)fp24 topCornerRounded:(BOOL)fp40;
+ (float)_windowBorderThickness:(NSUInteger)fp8;
+ (float)_minXWindowBorderWidth:(NSUInteger)fp8;
+ (float)_maxXWindowBorderWidth:(NSUInteger)fp8;
+ (float)_minYWindowBorderHeight:(NSUInteger)fp8;
+ (float)_windowTitlebarButtonSpacingWidth:(NSUInteger)fp8;
+ (float)_windowFileButtonSpacingWidth:(NSUInteger)fp8;
+ (float)_minXTitlebarWidgetInset:(NSUInteger)fp8;
+ (float)_maxXTitlebarWidgetInset:(NSUInteger)fp8;
+ (float)minFrameWidthWithTitle:(id)fp8 styleMask:(NSUInteger)fp12;
+ (float)_windowSideTitlebarTitleMinWidth:(NSUInteger)fp8;
+ (float)_windowTitlebarTitleMinHeight:(NSUInteger)fp8;
+ (float)_sideTitlebarWidth:(NSUInteger)fp8;
+ (float)_titlebarHeight:(NSUInteger)fp8;
+ (float)_resizeHeight:(NSUInteger)fp8;
+ (BOOL)_resizeFromEdge;
+ (struct _NSSize)sizeOfTitlebarButtons:(NSUInteger)fp8;
+ (float)_contentToFrameMinXWidth:(NSUInteger)fp8;
+ (float)_contentToFrameMaxXWidth:(NSUInteger)fp8;
+ (float)_contentToFrameMinYHeight:(NSUInteger)fp8;
+ (float)_contentToFrameMaxYHeight:(NSUInteger)fp8;
+ (NSUInteger)_validateStyleMask:(NSUInteger)fp8;
- (struct _NSSize)_topCornerSize;
- (struct _NSSize)_bottomCornerSize;
- (void *)_createWindowOpaqueShape;
- (void)shapeWindow;
- (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(BOOL)fp24 rectIsVisibleRectForView:(id)fp28 topView:(BOOL)fp32;
- (void *)_regionForOpaqueDescendants:(struct _NSRect)fp8 forMove:(BOOL)fp24;
- (void)_drawFrameInterior:(struct _NSRect *)fp8 clip:(struct _NSRect)fp12;
- (void)_setTextShadow:(BOOL)fp8;
- (BOOL)_isOnePieceTitleAndToolbar;
- (void)_drawUnifiedToolbarBackgroundInRect:(struct _NSRect)fp8 withState:(NSInteger)fp24;
- (void)_drawUnifiedToolbar:(NSInteger)fp8;
- (void)_drawTitleBar:(struct _NSRect)fp8;
- (void)_drawResizeIndicators:(struct _NSRect)fp8;
- (void)_drawFrameRects:(struct _NSRect)fp8;
- (void)drawFrame:(struct _NSRect)fp8;
- (id)contentFill;
- (void)viewDidEndLiveResize;
- (float)contentAlpha;
- (void)setThemeFrameWidgetState:(NSInteger)fp8;
- (BOOL)constrainResizeEdge:(int *)fp8 withDelta:(struct _NSSize)fp12 elapsedTime:(float)fp20;
- (void)addFileButton:(id)fp8;
- (void)_updateButtons;
- (void)_updateButtonState;
- (id)newCloseButton;
- (id)newZoomButton;
- (id)newMiniaturizeButton;
- (id)newToolbarButton;
- (id)newFileButton;
- (void)_resetTitleBarButtons;
- (void)setDocumentEdited:(BOOL)fp8;
- (id)toolbarButton;
- (id)modeButton;
- (id)initWithFrame:(struct _NSRect)fp8 styleMask:(NSUInteger)fp24 owner:(id)fp28;
- (void)setIsResizable:(BOOL)fp8;
- (void)dealloc;
- (void)finalize;
- (BOOL)preservesContentDuringLiveResize;
- (void)setFrameSize:(struct _NSSize)fp8;
- (BOOL)_canHaveToolbar;
- (BOOL)_toolbarIsInTransition;
- (BOOL)_toolbarIsShown;
- (BOOL)_toolbarIsHidden;
- (id)_toolbarView;
- (id)_toolbar;
- (float)_distanceFromToolbarBaseToTitlebar;
- (NSUInteger)_shadowFlags;
- (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(NSUInteger)fp24;
- (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(NSUInteger)fp24;
- (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(NSUInteger)fp16;
- (struct _NSRect)contentRect;
- (struct _NSRect)_contentRectExcludingToolbar;
- (struct _NSRect)_contentRectIncludingToolbarAtHome;
- (void)_setToolbarShowHideResizeWeightingOptimizationOn:(BOOL)fp8;
- (BOOL)_usingToolbarShowHideWeightingOptimization;
- (void)handleSetFrameCommonRedisplay;
- (void)_startLiveResizeAsTopLevel;
- (void)_endLiveResizeAsTopLevel;
- (void)_growContentReshapeContentAndToolbarView:(NSInteger)fp8 animate:(BOOL)fp12;
- (BOOL)_growWindowReshapeContentAndToolbarView:(NSInteger)fp8 animate:(BOOL)fp12;
- (void)_reshapeContentAndToolbarView:(NSInteger)fp8 resizeWindow:(BOOL)fp12 animate:(BOOL)fp16;
- (void)_toolbarFrameSizeChanged:(id)fp8 oldSize:(struct _NSSize)fp12;
- (void)_syncToolbarPosition;
- (void)_showHideToolbar:(NSInteger)fp8 resizeWindow:(BOOL)fp12 animate:(BOOL)fp16;
- (void)_showToolbarWithAnimation:(BOOL)fp8;
- (void)_hideToolbarWithAnimation:(BOOL)fp8;
- (void)_drawToolbarTransitionIfNecessary;
- (void)drawRect:(struct _NSRect)fp8;
- (void)resetCursorRects;
- (BOOL)shouldBeTreatedAsInkEvent:(id)fp8;
- (BOOL)_shouldBeTreatedAsInkEventInInactiveWindow:(id)fp8;
- (id)hitTest:(struct _NSPoint)fp8;
- (struct _NSRect)_leftGroupRect;
- (struct _NSRect)_rightGroupRect;
- (void)_updateWidgets;
- (void)_updateMouseTracking;
- (void)mouseEntered:(id)fp8;
- (void)mouseExited:(id)fp8;
- (void)_setMouseEnteredGroup:(BOOL)fp8 entered:(BOOL)fp12;
- (BOOL)_mouseInGroup:(id)fp8;
- (struct _NSSize)miniaturizedSize;
- (float)_minXTitlebarDecorationMinWidth;
- (float)_maxXTitlebarDecorationMinWidth;
- (struct _NSSize)minFrameSize;
- (float)_windowBorderThickness;
- (float)_windowTitlebarXResizeBorderThickness;
- (float)_windowTitlebarYResizeBorderThickness;
- (float)_windowResizeBorderThickness;
- (float)_minXWindowBorderWidth;
- (float)_maxXWindowBorderWidth;
- (float)_minYWindowBorderHeight;
- (float)_maxYWindowBorderHeight;
- (float)_minYTitlebarButtonsOffset;
- (float)_minYTitlebarTitleOffset;
- (float)_sideTitlebarWidth;
- (float)_titlebarHeight;
- (struct _NSRect)_defaultTitlebarTitleRect;
- (struct _NSRect)_titlebarTitleRect;
- (struct _NSRect)titlebarRect;
- (float)_windowTitlebarTitleMinHeight;
- (struct _NSSize)_sizeOfTitlebarFileButton;
- (struct _NSSize)sizeOfTitlebarToolbarButton;
- (float)_windowTitlebarButtonSpacingWidth;
- (float)_windowFileButtonSpacingWidth;
- (float)_minXTitlebarWidgetInset;
- (float)_maxXTitlebarWidgetInset;
- (float)_minXTitlebarButtonsWidth;
- (float)_maxXTitlebarButtonsWidth;
- (struct _NSPoint)_closeButtonOrigin;
- (struct _NSPoint)_zoomButtonOrigin;
- (struct _NSPoint)_collapseButtonOrigin;
- (struct _NSPoint)_toolbarButtonOrigin;
- (struct _NSPoint)_fileButtonOrigin;
- (void)_tileTitlebarAndRedisplay:(BOOL)fp8;
- (struct _NSRect)_commandPopupRect;
- (void)_resetDragMargins;
- (float)_maxYTitlebarDragHeight;
- (float)_minXTitlebarDragWidth;
- (float)_maxXTitlebarDragWidth;
- (float)_contentToFrameMinXWidth;
- (float)_contentToFrameMaxXWidth;
- (float)_contentToFrameMinYHeight;
- (float)_contentToFrameMaxYHeight;
- (float)_windowResizeCornerThickness;
- (struct _NSRect)_minYResizeRect;
- (struct _NSRect)_minYminXResizeRect;
- (struct _NSRect)_minYmaxXResizeRect;
- (struct _NSRect)_minXResizeRect;
- (struct _NSRect)_minXminYResizeRect;
- (struct _NSRect)_minXmaxYResizeRect;
- (struct _NSRect)_maxYResizeRect;
- (struct _NSRect)_maxYminXResizeRect;
- (struct _NSRect)_maxYmaxXResizeRect;
- (struct _NSRect)_maxXResizeRect;
- (struct _NSRect)_maxXminYResizeRect;
- (struct _NSRect)_maxXmaxYResizeRect;
- (struct _NSRect)_minXTitlebarResizeRect;
- (struct _NSRect)_maxXTitlebarResizeRect;
- (struct _NSRect)_minXBorderRect;
- (struct _NSRect)_maxXBorderRect;
- (struct _NSRect)_maxYBorderRect;
- (struct _NSRect)_minYBorderRect;
- (void)_setUtilityWindow:(BOOL)fp8;
- (BOOL)_isUtility;
- (float)_sheetHeightAdjustment;
- (void)_setSheet:(BOOL)fp8;
- (BOOL)_isSheet;
- (BOOL)_isResizable;
- (BOOL)_isClosable;
- (BOOL)_isMiniaturizable;
- (BOOL)_hasToolbar;
- (struct _NSRect)_growBoxRect;
- (void)_drawGrowBoxWithClip:(struct _NSRect)fp8;
- (BOOL)_inactiveButtonsNeedMask;
- (void)mouseDown:(id)fp8;
- (id)_displayName;
- (void)_setDisplayName:(id)fp8;
@end