API  0.9.6
 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 
13  CGRect _frame;
14  CGRect _bounds;
15  CGAffineTransform _boundsTransform;
16  CGAffineTransform _inverseBoundsTransform;
17 
18  CPSet _registeredDraggedTypes;
19  CPArray _registeredDraggedTypesArray;
20 
21  BOOL _isHidden;
22  BOOL _hitTests;
23  BOOL _clipsToBounds;
24 
25  BOOL _postsFrameChangedNotifications;
26  BOOL _postsBoundsChangedNotifications;
27  BOOL _inhibitFrameAndBoundsChangedNotifications;
28  BOOL _inLiveResize;
29 
30 #if PLATFORM(DOM)
31  DOMElement _DOMElement;
32  DOMElement _DOMContentsElement;
33 
34  CPArray _DOMImageParts;
35  CPArray _DOMImageSizes;
36 
37  unsigned _backgroundType;
38 #endif
39 
40  CGRect _dirtyRect;
41 
42  float _opacity;
43  CPColor _backgroundColor;
44 
45  BOOL _autoresizesSubviews;
46  unsigned _autoresizingMask;
47 
48  CALayer _layer;
49  BOOL _wantsLayer;
50 
51  // Full Screen State
52  BOOL _isInFullScreenMode;
53 
54  _CPViewFullScreenModeState _fullScreenModeState;
55 
56  // Layout Support
57  BOOL _needsLayout;
58  JSObject _ephemeralSubviews;
59 
60  // Theming Support
61  CPTheme _theme;
62  CPString _themeClass;
63  JSObject _themeAttributes;
64  unsigned _themeState;
65 
66  JSObject _ephemeralSubviewsForNames;
67  CPSet _ephereralSubviews;
68 
69  // Key View Support
70  CPView _nextKeyView;
71  CPView _previousKeyView;
72 
73  unsigned _viewClassFlags;
74 
75  // ToolTips
76  CPString _toolTip // @accessors(getter=toolTip);
77  Function _toolTipFunctionIn;
78  Function _toolTipFunctionOut;
79  BOOL _toolTipInstalled;
80 }
81 @end