1 /****************************************************************************
3 ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
4 ** All rights reserved.
5 ** Contact: Nokia Corporation (qt-info@nokia.com)
7 ** This file is part of the QtGui module of the Qt Toolkit.
9 ** $QT_BEGIN_LICENSE:LGPL$
10 ** GNU Lesser General Public License Usage
11 ** This file may be used under the terms of the GNU Lesser General Public
12 ** License version 2.1 as published by the Free Software Foundation and
13 ** appearing in the file LICENSE.LGPL included in the packaging of this
14 ** file. Please review the following information to ensure the GNU Lesser
15 ** General Public License version 2.1 requirements will be met:
16 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
18 ** In addition, as a special exception, Nokia gives you certain additional
19 ** rights. These rights are described in the Nokia Qt LGPL Exception
20 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
22 ** GNU General Public License Usage
23 ** Alternatively, this file may be used under the terms of the GNU General
24 ** Public License version 3.0 as published by the Free Software Foundation
25 ** and appearing in the file LICENSE.GPL included in the packaging of this
26 ** file. Please review the following information to ensure the GNU General
27 ** Public License version 3.0 requirements will be met:
28 ** http://www.gnu.org/copyleft/gpl.html.
31 ** Alternatively, this file may be used in accordance with the terms and
32 ** conditions contained in a signed written agreement between you and Nokia.
40 ****************************************************************************/
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.
54 // Private AppKit class (dumped from classdump).
56 #import <Cocoa/Cocoa.h>
58 @interface NSFrameView : NSView
60 unsigned int styleMask;
63 NSButton *closeButton;
65 NSButton *minimizeButton;
66 char resizeByIncrement;
67 char frameNeedsDisplay;
68 unsigned char tabViewCount;
69 NSSize resizeParameter;
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;
85 - (void)tileAndSetWindowShape:(char)fp8;
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;
98 - (void)setShadowState:(int)fp8;
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;
108 - (unsigned int)_shadowFlags;
109 - (void)_setShadowParameters;
110 - (void)_drawFrameShadowAndFlushContext:fp8;
112 - (void)adjustHalftonePhase;
113 - (void)systemColorsDidChange:fp8;
116 - (void)tabViewAdded;
117 - (void)tabViewRemoved;
119 - (void)setTitle:fp8;
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;
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;
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;