Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBSkinConditionContext checks if a condition is true. More...
#include <tb_skin.h>
Public Member Functions | |
virtual bool | GetCondition (TBSkinCondition::TARGET target, const TBSkinCondition::CONDITION_INFO &info)=0 |
Return true if the given target and property equals the given value. More... | |
TBSkinConditionContext checks if a condition is true.
It is passed to skin painting functions so different state elements can be applied depending on the current situation of the context. F.ex a widget may change appearance if it's under a parent with a certain skin.
|
pure virtual |
Return true if the given target and property equals the given value.
Implemented in tb::TBWidgetSkinConditionContext.