0
|
1 |
/****************************************************************************
|
|
2 |
**
|
|
3 |
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
4 |
** All rights reserved.
|
|
5 |
** Contact: Nokia Corporation (qt-info@nokia.com)
|
|
6 |
**
|
|
7 |
** This file is part of the QtGui module of the Qt Toolkit.
|
|
8 |
**
|
|
9 |
** $QT_BEGIN_LICENSE:LGPL$
|
|
10 |
** No Commercial Usage
|
|
11 |
** This file contains pre-release code and may not be distributed.
|
|
12 |
** You may use this file in accordance with the terms and conditions
|
|
13 |
** contained in the Technology Preview License Agreement accompanying
|
|
14 |
** this package.
|
|
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 |
** If you have questions regarding the use of this file, please contact
|
|
29 |
** Nokia at qt-info@nokia.com.
|
|
30 |
**
|
|
31 |
**
|
|
32 |
**
|
|
33 |
**
|
|
34 |
**
|
|
35 |
**
|
|
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 |
|
|
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
|