Qt 4.8
qnsthemeframe_mac_p.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4 ** Contact: http://www.qt-project.org/legal
5 **
6 ** This file is part of the QtGui module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia. For licensing terms and
14 ** conditions see http://qt.digia.com/licensing. For further information
15 ** use the contact form at http://qt.digia.com/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 2.1 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 2.1 requirements
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
24 **
25 ** In addition, as a special exception, Digia gives you certain additional
26 ** rights. These rights are described in the Digia Qt LGPL Exception
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
28 **
29 ** GNU General Public License Usage
30 ** Alternatively, this file may be used under the terms of the GNU
31 ** General Public License version 3.0 as published by the Free Software
32 ** Foundation and appearing in the file LICENSE.GPL included in the
33 ** packaging of this file. Please review the following information to
34 ** ensure the GNU General Public License version 3.0 requirements will be
35 ** met: http://www.gnu.org/copyleft/gpl.html.
36 **
37 **
38 ** $QT_END_LICENSE$
39 **
40 ****************************************************************************/
41 
42 //
43 // W A R N I N G
44 // -------------
45 //
46 // This file is not part of the Qt API. It exists for the convenience
47 // of qapplication_*.cpp, qwidget*.cpp, qcolor_x11.cpp, qfiledialog.cpp
48 // and many other. This header file may change from version to version
49 // without notice, or even be removed.
50 //
51 // We mean it.
52 //
53 
54 // Private AppKit class (dumped from classdump).
55 
56 #import <Cocoa/Cocoa.h>
57 #import "qnstitledframe_mac_p.h"
58 
60 {
61  NSButton *toolbarButton;
65  NSButton *modeButton;
71  NSString *displayName;
72 }
73 
74 + (void)initialize;
75 + (float)_windowBorderThickness:(unsigned int)fp8;
76 + (float)_minXWindowBorderWidth:(unsigned int)fp8;
77 + (float)_maxXWindowBorderWidth:(unsigned int)fp8;
78 + (float)_minYWindowBorderHeight:(unsigned int)fp8;
79 + (float)_windowTitlebarButtonSpacingWidth:(unsigned int)fp8;
80 + (float)_windowFileButtonSpacingWidth:(unsigned int)fp8;
81 + (float)_minXTitlebarWidgetInset:(unsigned int)fp8;
82 + (float)_maxXTitlebarWidgetInset:(unsigned int)fp8;
83 + (float)minFrameWidthWithTitle:fp8 styleMask:(unsigned int)fp12;
84 + (float)_windowSideTitlebarTitleMinWidth:(unsigned int)fp8;
85 + (float)_windowTitlebarTitleMinHeight:(unsigned int)fp8;
86 + (float)_sideTitlebarWidth:(unsigned int)fp8;
87 + (float)_titlebarHeight:(unsigned int)fp8;
88 + (float)_resizeHeight:(unsigned int)fp8;
89 + (char)_resizeFromEdge;
90 + (struct _NSSize)sizeOfTitlebarButtons:(unsigned int)fp8;
91 + (float)_contentToFrameMinXWidth:(unsigned int)fp8;
92 + (float)_contentToFrameMaxXWidth:(unsigned int)fp8;
93 + (float)_contentToFrameMinYHeight:(unsigned int)fp8;
94 + (float)_contentToFrameMaxYHeight:(unsigned int)fp8;
95 + (unsigned int)_validateStyleMask:(unsigned int)fp8;
96 - (struct _NSSize)_topCornerSize;
97 - (struct _NSSize)_bottomCornerSize;
98 - (void *)_createWindowOpaqueShape;
99 - (void)shapeWindow;
100 - (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(NSRect)fp8 isVisibleRect:(char)fp24 rectIsVisibleRectForView:fp28 topView:(char)fp32;
101 - (void *)_regionForOpaqueDescendants:(NSRect)fp8 forMove:(char)fp24;
102 - (void)_drawFrameInterior:(NSRect *)fp8 clip:(NSRect)fp12;
103 - (void)_setTextShadow:(char)fp8;
104 - (void)_drawTitleBar:(NSRect)fp8;
105 - (void)_drawResizeIndicators:(NSRect)fp8;
106 - (void)_drawFrameRects:(NSRect)fp8;
107 - (void)drawFrame:(NSRect)fp8;
108 - contentFill;
109 - (void)viewDidEndLiveResize;
110 - (float)contentAlpha;
111 - (void)setThemeFrameWidgetState:(int)fp8;
112 - (char)constrainResizeEdge:(int *)fp8 withDelta:(struct _NSSize)fp12 elapsedTime:(float)fp20;
113 - (void)addFileButton:fp8;
114 - (void)_updateButtons;
115 - (void)_updateButtonState;
117 - newZoomButton;
120 - newFileButton;
121 - (void)_resetTitleBarButtons;
122 - (void)setDocumentEdited:(char)fp8;
123 - toolbarButton;
124 - modeButton;
125 - initWithFrame:(NSRect)fp8 styleMask:(unsigned int)fp24 owner:fp28;
126 - (void)dealloc;
127 - (void)setFrameSize:(struct _NSSize)fp8;
128 - (char)_canHaveToolbar;
129 - (char)_toolbarIsInTransition;
130 - (char)_toolbarIsShown;
131 - (char)_toolbarIsHidden;
132 - _toolbarView;
133 - _toolbar;
135 - (unsigned int)_shadowFlags;
136 - (NSRect)frameRectForContentRect:(NSRect)fp8 styleMask:(unsigned int)fp24;
137 - (NSRect)contentRectForFrameRect:(NSRect)fp8 styleMask:(unsigned int)fp24;
138 - (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
139 - (NSRect)contentRect;
142 - (void)_setToolbarShowHideResizeWeightingOptimizationOn:(char)fp8;
147 - (void)_growContentReshapeContentAndToolbarView:(int)fp8 animate:(char)fp12;
148 - (char)_growWindowReshapeContentAndToolbarView:(int)fp8 animate:(char)fp12;
149 - (void)_reshapeContentAndToolbarView:(int)fp8 resizeWindow:(char)fp12 animate:(char)fp16;
150 - (void)_toolbarFrameSizeChanged:fp8 oldSize:(struct _NSSize)fp12;
151 - (void)_syncToolbarPosition;
152 - (void)_showHideToolbar:(int)fp8 resizeWindow:(char)fp12 animate:(char)fp16;
153 - (void)_showToolbarWithAnimation:(char)fp8;
154 - (void)_hideToolbarWithAnimation:(char)fp8;
156 - (void)drawRect:(NSRect)fp8;
157 - (void)resetCursorRects;
158 - (char)shouldBeTreatedAsInkEvent:fp8;
159 - (char)_shouldBeTreatedAsInkEventInInactiveWindow:fp8;
160 //- hitTest:(struct _NSPoint)fp8; // collides with hittest in qcocoasharedwindowmethods_mac_p.h
161 - (NSRect)_leftGroupRect;
162 - (NSRect)_rightGroupRect;
163 - (void)_updateWidgets;
164 - (void)_updateMouseTracking;
165 - (void)mouseEntered:fp8;
166 - (void)mouseExited:fp8;
167 - (void)_setMouseEnteredGroup:(char)fp8 entered:(char)fp12;
168 - (char)_mouseInGroup:fp8;
169 - (struct _NSSize)miniaturizedSize;
172 - (struct _NSSize)minFrameSize;
173 - (float)_windowBorderThickness;
177 - (float)_minXWindowBorderWidth;
178 - (float)_maxXWindowBorderWidth;
179 - (float)_minYWindowBorderHeight;
180 - (float)_maxYWindowBorderHeight;
182 - (float)_minYTitlebarTitleOffset;
183 - (float)_sideTitlebarWidth;
184 - (float)_titlebarHeight;
185 - (NSRect)_titlebarTitleRect;
186 - (NSRect)titlebarRect;
188 - (struct _NSSize)_sizeOfTitlebarFileButton;
189 - (struct _NSSize)sizeOfTitlebarToolbarButton;
192 - (float)_minXTitlebarWidgetInset;
193 - (float)_maxXTitlebarWidgetInset;
196 - (struct _NSPoint)_closeButtonOrigin;
197 - (struct _NSPoint)_zoomButtonOrigin;
198 - (struct _NSPoint)_collapseButtonOrigin;
199 - (struct _NSPoint)_toolbarButtonOrigin;
200 - (struct _NSPoint)_fileButtonOrigin;
201 - (void)_tileTitlebar;
202 - (NSRect)_commandPopupRect;
203 - (void)_resetDragMargins;
204 - (float)_maxYTitlebarDragHeight;
205 - (float)_minXTitlebarDragWidth;
206 - (float)_maxXTitlebarDragWidth;
207 - (float)_contentToFrameMinXWidth;
208 - (float)_contentToFrameMaxXWidth;
212 - (NSRect)_minYResizeRect;
213 - (NSRect)_minYminXResizeRect;
214 - (NSRect)_minYmaxXResizeRect;
215 - (NSRect)_minXResizeRect;
216 - (NSRect)_minXminYResizeRect;
217 - (NSRect)_minXmaxYResizeRect;
218 - (NSRect)_maxYResizeRect;
219 - (NSRect)_maxYminXResizeRect;
220 - (NSRect)_maxYmaxXResizeRect;
221 - (NSRect)_maxXResizeRect;
222 - (NSRect)_maxXminYResizeRect;
223 - (NSRect)_maxXmaxYResizeRect;
224 - (NSRect)_minXTitlebarResizeRect;
225 - (NSRect)_maxXTitlebarResizeRect;
226 - (NSRect)_minXBorderRect;
227 - (NSRect)_maxXBorderRect;
228 - (NSRect)_maxYBorderRect;
229 - (NSRect)_minYBorderRect;
230 - (void)_setUtilityWindow:(char)fp8;
231 - (char)_isUtility;
232 - (float)_sheetHeightAdjustment;
233 - (void)_setSheet:(char)fp8;
234 - (char)_isSheet;
235 - (char)_isResizable;
236 - (char)_isClosable;
237 - (char)_isMiniaturizable;
238 - (char)_hasToolbar;
239 - (NSRect)_growBoxRect;
240 - (void)_drawGrowBoxWithClip:(NSRect)fp8;
242 - (void)mouseDown:fp8;
243 - _displayName;
244 - (void)_setDisplayName:fp8;
245 
246 @end
struct _NSPoint _toolbarButtonOrigin()
void _updateMouseTracking()
NSRect _minYResizeRect()
NSRect _minYmaxXResizeRect()
NSRect _maxXminYResizeRect()
NSButton * modeButton
void _resetDragMargins()
NSButton * toolbarButton
NSRect _growBoxRect()
void _startLiveResizeAsTopLevel()
NSRect _maxXBorderRect()
char _isClosable()
struct _NSPoint _closeButtonOrigin()
void _updateButtons()
NSRect _maxYmaxXResizeRect()
float _windowTitlebarYResizeBorderThickness()
float contentAlpha()
float _titlebarHeight()
char _toolbarIsInTransition()
float _sideTitlebarWidth()
NSRect _maxYminXResizeRect()
float _minYTitlebarTitleOffset()
struct _NSSize sizeOfTitlebarToolbarButton()
NSRect _commandPopupRect()
NSRect _minXResizeRect()
float _contentToFrameMaxXWidth()
char _canHaveToolbar()
NSRect _minXminYResizeRect()
float _windowFileButtonSpacingWidth()
NSRect _titlebarTitleRect()
void _resetTitleBarButtons()
char _inactiveButtonsNeedMask()
void shapeWindow()
NSRect _contentRectExcludingToolbar()
char _hasToolbar()
void _drawToolbarTransitionIfNecessary()
void * _createWindowOpaqueShape()
float _maxXTitlebarDecorationMinWidth()
struct _NSSize _sizeOfTitlebarFileButton()
NSString * displayName
NSRect _minYBorderRect()
NSRect _rightGroupRect()
char _toolbarIsHidden()
float _contentToFrameMinXWidth()
NSRect _minXBorderRect()
NSRect _leftGroupRect()
float _minXTitlebarWidgetInset()
float _distanceFromToolbarBaseToTitlebar()
struct _NSSize _bottomCornerSize()
void _tileTitlebar()
float _windowResizeBorderThickness()
char _isMiniaturizable()
NSRect _contentRectIncludingToolbarAtHome()
NSRect _maxYBorderRect()
void _syncToolbarPosition()
NSRect _maxXResizeRect()
struct _NSSize sizeOfTitlebarButtons()
float _windowBorderThickness()
NSRect _minXTitlebarResizeRect()
struct _NSPoint _fileButtonOrigin()
float _maxYWindowBorderHeight()
struct _NSSize minFrameSize()
NSRect contentRect()
float _windowResizeCornerThickness()
struct _NSPoint _zoomButtonOrigin()
NSRect _maxXmaxYResizeRect()
NSSize showToolbarPreWindowSize
char _toolbarIsShown()
NSImage * showToolbarTransitionImage
void handleSetFrameCommonRedisplay()
char _resizeFromEdge()
void _updateWidgets()
struct _NSSize miniaturizedSize()
float _windowTitlebarXResizeBorderThickness()
float _minYWindowBorderHeight()
float _maxXWindowBorderWidth()
unsigned int _shadowFlags()
char _isResizable()
void _updateButtonState()
float _windowTitlebarButtonSpacingWidth()
char _usingToolbarShowHideWeightingOptimization()
id newMiniaturizeButton()
struct _NSPoint _collapseButtonOrigin()
float _maxYTitlebarDragHeight()
void viewDidEndLiveResize()
NSRect _maxYResizeRect()
float _minXTitlebarDecorationMinWidth()
float _maxXTitlebarWidgetInset()
float _windowTitlebarTitleMinHeight()
float _contentToFrameMinYHeight()
float _minXTitlebarButtonsWidth()
float _minYTitlebarButtonsOffset()
void _endLiveResizeAsTopLevel()
float _contentToFrameMaxYHeight()
NSRect titlebarRect()
struct _NSSize _topCornerSize()
NSRect _minYminXResizeRect()
NSRect _minXmaxYResizeRect()
float _minXTitlebarDragWidth()
float _maxXTitlebarDragWidth()
float _minXWindowBorderWidth()
NSRect _maxXTitlebarResizeRect()
float _maxXTitlebarButtonsWidth()
void resetCursorRects()
float _sheetHeightAdjustment()