diff options
Diffstat (limited to 'include/views/SkView.h')
-rw-r--r-- | include/views/SkView.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/views/SkView.h b/include/views/SkView.h index 9a84af832d..785f0cddbd 100644 --- a/include/views/SkView.h +++ b/include/views/SkView.h @@ -26,20 +26,12 @@ class SkView : public SkEventSink { public: enum Flag_Shift { kVisible_Shift, - kEnabled_Shift, - kFocusable_Shift, - kFlexH_Shift, - kFlexV_Shift, kNoClip_Shift, kFlagShiftCount }; enum Flag_Mask { kVisible_Mask = 1 << kVisible_Shift, //!< set if the view is visible - kEnabled_Mask = 1 << kEnabled_Shift, //!< set if the view is enabled - kFocusable_Mask = 1 << kFocusable_Shift, //!< set if the view can receive focus - kFlexH_Mask = 1 << kFlexH_Shift, //!< set if the view's width is stretchable - kFlexV_Mask = 1 << kFlexV_Shift, //!< set if the view's height is stretchable kNoClip_Mask = 1 << kNoClip_Shift, //!< set if the view is not clipped to its bounds kAllFlagMasks = (uint32_t)(0 - 1) >> (32 - kFlagShiftCount) @@ -58,13 +50,9 @@ public: /** Helper that returns non-zero if the kVisible_Mask bit is set in the view's flags */ int isVisible() const { return fFlags & kVisible_Mask; } - int isEnabled() const { return fFlags & kEnabled_Mask; } - int isFocusable() const { return fFlags & kFocusable_Mask; } int isClipToBounds() const { return !(fFlags & kNoClip_Mask); } /** Helper to set/clear the view's kVisible_Mask flag */ void setVisibleP(bool); - void setEnabledP(bool); - void setFocusableP(bool); void setClipToBounds(bool); /** Return the view's width */ |