struct CCL::ViewBox::StyleModifier
Overview
Simplifies changing a view style. More…
#include <viewbox.h> struct StyleModifier: public CCL::StyleFlags { // construction StyleModifier (ViewBox& view); };
Inherited Members
public: // fields int common; int custom; // methods bool isEmpty () const; bool isCommonStyle (int which) const; bool isCustomStyle (int which) const; void setCommonStyle (int which, bool state = true); void setCustomStyle (int which, bool state = true); bool isHorizontal () const; bool isVertical () const; bool isTransparent () const; bool isOpaque () const; bool isBorder () const; bool isDirectUpdate () const; bool isComposited () const; bool isTranslucent () const; bool isTrigger () const; bool isSmall () const; int64 toLargeInt () const; StyleFlags& fromLargeInt (int64 value); bool operator == (const StyleFlags& flags) const; bool operator != (const StyleFlags& flags) const;
Detailed Documentation
Simplifies changing a view style.
Example: ViewBox::StyleModifier (viewBox).setCommonStyle (Styles::kHorizontal);