Fixed crash in GL 2 paint engine on Intel Atom.
[profile/ivi/qtbase.git] / src / widgets / platforms / mac / qnsframeview_mac_p.h
1 /****************************************************************************
2 **
3 ** Copyright (C) 2012 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 ** 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.
17 **
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.
21 **
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.
29 **
30 ** Other Usage
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.
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