SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
An empty base class for badges controlling visibility of objects (in other views). More...
#include <VisibilityBadge.h>
Additional Inherited Members | |
Public Member Functions inherited from smtk::view::Badge | |
smtkTypeMacroBase (Badge) | |
Badge (const Badge &)=delete | |
Badge & | operator= (const Badge &)=delete |
virtual bool | appliesToPhrase (const DescriptivePhrase *) const |
Returns true if the badge should appear next to the given phrase: | |
virtual std::string | tooltip (const DescriptivePhrase *) const |
Return a tool-tip string for the badge that is relevant to this phrase. More... | |
virtual std::string | icon (const DescriptivePhrase *phrase, const std::array< float, 4 > &background) const =0 |
Returns a string for rendering the badge icon. More... | |
virtual bool | action (const DescriptivePhrase *, const BadgeAction &) |
Take an action when the badge is clicked. More... | |
bool | isDefault () const |
Return whether this badge be invoked by non-specific user gestures. More... | |
void | setIsDefault (bool isDefault) |
Set this badge as a default. | |
Protected Attributes inherited from smtk::view::Badge | |
bool | m_isDefault { false } |
Should this badge be invoked by non-specific user gestures when it is applicable? | |
An empty base class for badges controlling visibility of objects (in other views).