API  0.9.8
 All Classes Files Functions Variables Typedefs 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  BOOL _isSuperviewAClipView;
31 
32 #if PLATFORM(DOM)
33  DOMElement _DOMElement;
34  DOMElement _DOMContentsElement;
35 
36  CPArray _DOMImageParts;
37  CPArray _DOMImageSizes;
38 
39  unsigned _backgroundType;
40 #endif
41 
42  CGRect _dirtyRect;
43 
44  float _opacity;
45  CPColor _backgroundColor;
46 
47  BOOL _autoresizesSubviews;
48  unsigned _autoresizingMask;
49 
50  CALayer _layer;
51  BOOL _wantsLayer;
52 
53  // Full Screen State
54  BOOL _isInFullScreenMode;
55 
56  _CPViewFullScreenModeState _fullScreenModeState;
57 
58  // Zoom Support
59  BOOL _isScaled;
60  CGSize _hierarchyScaleSize;
61  CGSize _scaleSize;
62 
63  // Drawing high DPI
64  BOOL _needToSetTransformMatrix;
65  float _highDPIRatio;
66 
67  // Layout Support
68  BOOL _needsLayout;
69  JSObject _ephemeralSubviews;
70 
71  // Theming Support
72  CPTheme _theme;
73  CPString _themeClass;
74  JSObject _themeAttributes;
75  unsigned _themeState;
76 
77  JSObject _ephemeralSubviewsForNames;
78  CPSet _ephereralSubviews;
79 
80  // Key View Support
81  CPView _nextKeyView;
82  CPView _previousKeyView;
83 
84  unsigned _viewClassFlags;
85 
86  // ToolTips
87  CPString _toolTip // @accessors(getter=toolTip);
88  Function _toolTipFunctionIn;
89  Function _toolTipFunctionOut;
90  BOOL _toolTipInstalled;
91 
92  BOOL _isObserving;
93 }
94 @end