1 | /****************************************************************************
|
---|
2 | **
|
---|
3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
4 | ** All rights reserved.
|
---|
5 | ** Contact: Nokia Corporation ([email protected])
|
---|
6 | **
|
---|
7 | ** This file is part of the QtGui module of the Qt Toolkit.
|
---|
8 | **
|
---|
9 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
10 | ** Commercial Usage
|
---|
11 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
12 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
13 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
14 | ** a written agreement between you and Nokia.
|
---|
15 | **
|
---|
16 | ** GNU Lesser General Public License Usage
|
---|
17 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
18 | ** General Public License version 2.1 as published by the Free Software
|
---|
19 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
20 | ** packaging of this file. Please review the following information to
|
---|
21 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
22 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
23 | **
|
---|
24 | ** In addition, as a special exception, Nokia gives you certain additional
|
---|
25 | ** rights. These rights are described in the Nokia Qt LGPL Exception
|
---|
26 | ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
---|
27 | **
|
---|
28 | ** GNU General Public License Usage
|
---|
29 | ** Alternatively, this file may be used under the terms of the GNU
|
---|
30 | ** General Public License version 3.0 as published by the Free Software
|
---|
31 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
32 | ** packaging of this file. Please review the following information to
|
---|
33 | ** ensure the GNU General Public License version 3.0 requirements will be
|
---|
34 | ** met: http://www.gnu.org/copyleft/gpl.html.
|
---|
35 | **
|
---|
36 | ** If you have questions regarding the use of this file, please contact
|
---|
37 | ** Nokia at [email protected].
|
---|
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 |
|
---|
59 | @interface NSThemeFrame : NSTitledFrame
|
---|
60 | {
|
---|
61 | NSButton *toolbarButton;
|
---|
62 | int toolbarVisibleStatus;
|
---|
63 | NSImage *showToolbarTransitionImage;
|
---|
64 | NSSize showToolbarPreWindowSize;
|
---|
65 | NSButton *modeButton;
|
---|
66 | int leftGroupTrackingTagNum;
|
---|
67 | int rightGroupTrackingTagNum;
|
---|
68 | char mouseInsideLeftGroup;
|
---|
69 | char mouseInsideRightGroup;
|
---|
70 | int widgetState;
|
---|
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;
|
---|
116 | - newCloseButton;
|
---|
117 | - newZoomButton;
|
---|
118 | - newMiniaturizeButton;
|
---|
119 | - newToolbarButton;
|
---|
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;
|
---|
134 | - (float)_distanceFromToolbarBaseToTitlebar;
|
---|
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;
|
---|
140 | - (NSRect)_contentRectExcludingToolbar;
|
---|
141 | - (NSRect)_contentRectIncludingToolbarAtHome;
|
---|
142 | - (void)_setToolbarShowHideResizeWeightingOptimizationOn:(char)fp8;
|
---|
143 | - (char)_usingToolbarShowHideWeightingOptimization;
|
---|
144 | - (void)handleSetFrameCommonRedisplay;
|
---|
145 | - (void)_startLiveResizeAsTopLevel;
|
---|
146 | - (void)_endLiveResizeAsTopLevel;
|
---|
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;
|
---|
155 | - (void)_drawToolbarTransitionIfNecessary;
|
---|
|
---|