Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBSkinConditionContext Class Referenceabstract

TBSkinConditionContext checks if a condition is true. More...

#include <tb_skin.h>

Inheritance diagram for tb::TBSkinConditionContext:
tb::TBWidgetSkinConditionContext

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...
 

Detailed Description

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.

Member Function Documentation

virtual bool tb::TBSkinConditionContext::GetCondition ( TBSkinCondition::TARGET  target,
const TBSkinCondition::CONDITION_INFO info 
)
pure virtual

Return true if the given target and property equals the given value.

Implemented in tb::TBWidgetSkinConditionContext.


The documentation for this class was generated from the following file: