API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPView.h
Go to the documentation of this file.
1 
2 @interface CPView : CPResponder
3 {
4  CPWindow _window;
5 
6  CPView _superview;
7  CPArray _subviews;
8 
9  CPGraphicsContext _graphicsContext;
10 
11  int _tag;
12  CPString _identifier // @accessors(property=identifier);
13 
14  CGRect _frame;
15  CGRect _bounds;
16  CGAffineTransform _boundsTransform;
17  CGAffineTransform _inverseBoundsTransform;
18 
19  CPSet _registeredDraggedTypes;
20  CPArray _registeredDraggedTypesArray;
21 
22  BOOL _isHidden;
23  BOOL _hitTests;
24  BOOL _clipsToBounds;
25 
26  BOOL _postsFrameChangedNotifications;
27  BOOL _postsBoundsChangedNotifications;
28  BOOL _inhibitFrameAndBoundsChangedNotifications;
29  BOOL _inLiveResize;
30 
31 #if PLATFORM(DOM)
32  DOMElement _DOMElement;
33  DOMElement _DOMContentsElement;
34 
35  CPArray _DOMImageParts;
36  CPArray _DOMImageSizes;
37 
38  unsigned _backgroundType;
39 #endif
40 
41  CGRect _dirtyRect;
42 
43  float _opacity;
44  CPColor _backgroundColor;
45 
46  BOOL _autoresizesSubviews;
47  unsigned _autoresizingMask;
48 
49  CALayer _layer;
50  BOOL _wantsLayer;
51 
52  // Full Screen State
53  BOOL _isInFullScreenMode;
54 
55  _CPViewFullScreenModeState _fullScreenModeState;
56 
57  // Zoom Support
58  BOOL _isScaled;
59  CGSize _hierarchyScaleSize;
60  CGSize _scaleSize;
61 
62  // Layout Support
63  BOOL _needsLayout;
64  JSObject _ephemeralSubviews;
65 
66  // Theming Support
67  CPTheme _theme;
68  CPString _themeClass;
69  JSObject _themeAttributes;
70  unsigned _themeState;
71 
72  JSObject _ephemeralSubviewsForNames;
73  CPSet _ephereralSubviews;
74 
75  // Key View Support
76  CPView _nextKeyView;
77  CPView _previousKeyView;
78 
79  unsigned _viewClassFlags;
80 
81  // ToolTips
82  CPString _toolTip // @accessors(getter=toolTip);
83  Function _toolTipFunctionIn;
84  Function _toolTipFunctionOut;
85  BOOL _toolTipInstalled;
86 }
87 @end