1 | /****************************************************************************
|
---|
2 | **
|
---|
3 | ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
---|
4 | ** Contact: Qt Software Information ([email protected])
|
---|
5 | **
|
---|
6 | ** This file is part of the QtGui module of the Qt Toolkit.
|
---|
7 | **
|
---|
8 | ** $QT_BEGIN_LICENSE:LGPL$
|
---|
9 | ** Commercial Usage
|
---|
10 | ** Licensees holding valid Qt Commercial licenses may use this file in
|
---|
11 | ** accordance with the Qt Commercial License Agreement provided with the
|
---|
12 | ** Software or, alternatively, in accordance with the terms contained in
|
---|
13 | ** a written agreement between you and Nokia.
|
---|
14 | **
|
---|
15 | ** GNU Lesser General Public License Usage
|
---|
16 | ** Alternatively, this file may be used under the terms of the GNU Lesser
|
---|
17 | ** General Public License version 2.1 as published by the Free Software
|
---|
18 | ** Foundation and appearing in the file LICENSE.LGPL included in the
|
---|
19 | ** packaging of this file. Please review the following information to
|
---|
20 | ** ensure the GNU Lesser General Public License version 2.1 requirements
|
---|
21 | ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
---|
22 | **
|
---|
23 | ** In addition, as a special exception, Nokia gives you certain
|
---|
24 | ** additional rights. These rights are described in the Nokia Qt LGPL
|
---|
25 | ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
|
---|
26 | ** 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 are unsure which license is appropriate for your use, please
|
---|
37 | ** contact the sales department 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 |
|
---|
58 | @interface NSFrameView : NSView
|
---|
59 | {
|
---|
60 | unsigned int styleMask;
|
---|
61 | NSString *_title;
|
---|
62 | NSCell *titleCell;
|
---|
63 | NSButton *closeButton;
|
---|
64 | NSButton *zoomButton;
|
---|
65 | NSButton *minimizeButton;
|
---|
66 | char resizeByIncrement;
|
---|
67 | char frameNeedsDisplay;
|
---|
68 | unsigned char tabViewCount;
|
---|
69 | NSSize resizeParameter;
|
---|
70 | int shadowState;
|
---|
71 | }
|
---|
72 |
|
---|
73 | + (void)initialize;
|
---|
74 | + (void)initTitleCell:fp8 styleMask:(unsigned int)fp12;
|
---|
75 | + (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
|
---|
76 | + (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
|
---|
77 | + (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
|
---|
78 | + (struct _NSSize)minContentSizeForMinFrameSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
|
---|
79 | + (float)minFrameWidthWithTitle:fp8 styleMask:(unsigned int)fp12;
|
---|
80 | + (unsigned int)_validateStyleMask:(unsigned int)fp8;
|
---|
81 | - initWithFrame:(struct _NSRect)fp8 styleMask:(unsigned int)fp24 owner:fp28;
|
---|
82 | - initWithFrame:(struct _NSRect)fp8;
|
---|
83 | - (void)dealloc;
|
---|
84 | - (void)shapeWindow;
|
---|
85 | - (void)tileAndSetWindowShape:(char)fp8;
|
---|
86 | - (void)tile;
|
---|
87 | - (void)drawRect:(struct _NSRect)fp8;
|
---|
88 | - (void)_drawFrameRects:(struct _NSRect)fp8;
|
---|
89 | - (void)drawFrame:(struct _NSRect)fp8;
|
---|
90 | - (void)drawThemeContentFill:(struct _NSRect)fp8 inView:fp24;
|
---|
91 | - (void)drawWindowBackgroundRect:(struct _NSRect)fp8;
|
---|
92 | - (void)drawWindowBackgroundRegion:(void *)fp8;
|
---|
93 | - (float)contentAlpha;
|
---|
94 | - (void)_windowChangedKeyState;
|
---|
95 | - (void)_updateButtonState;
|
---|
96 | - (char)_isSheet;
|
---|
97 | - (char)_isUtility;
|
---|
98 | - (void)setShadowState:(int)fp8;
|
---|
99 | - (int)shadowState;
|
---|
100 | - (char)_canHaveToolbar;
|
---|
101 | - (char)_toolbarIsInTransition;
|
---|
102 | - (char)_toolbarIsShown;
|
---|
103 | - (char)_toolbarIsHidden;
|
---|
104 | - (void)_showToolbarWithAnimation:(char)fp8;
|
---|
105 | - (void)_hideToolbarWithAnimation:(char)fp8;
|
---|
106 | - (float)_distanceFromToolbarBaseToTitlebar;
|
---|
107 | - (int)_shadowType;
|
---|
108 | - (unsigned int)_shadowFlags;
|
---|
109 | - (void)_setShadowParameters;
|
---|
110 | - (void)_drawFrameShadowAndFlushContext:fp8;
|
---|
111 | - (void)setUpGState;
|
---|
112 | - (void)adjustHalftonePhase;
|
---|
113 | - (void)systemColorsDidChange:fp8;
|
---|
114 | - frameColor;
|
---|
115 | - contentFill;
|
---|
116 | - (void)tabViewAdded;
|
---|
117 | - (void)tabViewRemoved;
|
---|
118 | - title;
|
---|
119 | - (void)setTitle:fp8;
|
---|
120 | - titleCell;
|
---|
121 | - (void)initTitleCell:fp8;
|
---|
122 | - (void)setResizeIncrements:(struct _NSSize)fp8;
|
---|
123 | - (struct _NSSize)resizeIncrements;
|
---|
124 | - (void)setAspectRatio:(struct _NSSize)fp8;
|
---|
125 | - (struct _NSSize)aspectRatio;
|
---|
126 | - (unsigned int)styleMask;
|
---|
127 | - representedFilename;
|
---|
128 | - (void)setRepresentedFilename:fp8;
|
---|
129 | - (void)setDocumentEdited:(char)fp8;
|
---|
130 | - (void)_setFrameNeedsDisplay:(char)fp8;
|
---|
131 | - (char)frameNeedsDisplay;
|
---|
132 | - titleFont;
|
---|
133 | - (struct _NSRect)_maxTitlebarTitleRect;
|
---|
134 | - (struct _NSRect)titlebarRect;
|
---|
135 | - (void)_setUtilityWindow:(char)fp8;
|
---|
136 | - (void)_setNonactivatingPanel:(char)fp8;
|
---|
137 | - (void)setIsClosable:(char)fp8;
|
---|
138 | - (void)setIsResizable:(char)fp8;
|
---|
139 | - closeButton;
|
---|
140 | - minimizeButton;
|
---|
141 | - zoomButton;
|
---|
142 | - (struct _NSSize)miniaturizedSize;
|
---|
143 | - (void)_clearDragMargins;
|
---|
144 | - (void)_resetDragMargins;
|
---|
145 | - (void)setTitle:fp8 andDefeatWrap:(char)fp12;
|
---|
146 | - (struct _NSRect)frameRectForContentRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
|
---|
147 | - (struct _NSRect)contentRectForFrameRect:(struct _NSRect)fp8 styleMask:(unsigned int)fp24;
|
---|
148 | - (struct _NSSize)minFrameSizeForMinContentSize:(struct _NSSize)fp8 styleMask:(unsigned int)fp16;
|
---|
149 | - (struct _NSRect)dragRectForFrameRect:(struct _NSRect)fp8;
|
---|
150 | - (struct _NSRect)contentRect;
|
---|
151 | - (struct _NSSize)minFrameSize;
|
---|
152 | - (void)_recursiveDisplayRectIfNeededIgnoringOpacity:(struct _NSRect)fp8 isVisibleRect:(char)fp24 rectIsVisibleRectForView:fp28 topView:(char)fp32;
|
---|
153 |
|
---|
154 | @end
|
---|