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

TBSkinElementState has a skin element id that should be used if its state and condition matches that which is being painted. More...

#include <tb_skin.h>

Inheritance diagram for tb::TBSkinElementState:
tb::TBLinkOf< TBSkinElementState > tb::TBLink

Public Types

enum  MATCH_RULE { MATCH_RULE_DEFAULT, MATCH_RULE_ONLY_SPECIFIC_STATE }
 Defines how to match states. More...
 

Public Member Functions

bool IsMatch (SKIN_STATE state, TBSkinConditionContext &context, MATCH_RULE rule=MATCH_RULE_DEFAULT) const
 
bool IsExactMatch (SKIN_STATE state, TBSkinConditionContext &context, MATCH_RULE rule=MATCH_RULE_DEFAULT) const
 

Public Attributes

TBID element_id
 
SKIN_STATE state
 
TBLinkListAutoDeleteOf
< TBSkinCondition
conditions
 

Detailed Description

TBSkinElementState has a skin element id that should be used if its state and condition matches that which is being painted.

Member Enumeration Documentation

Defines how to match states.

Enumerator
MATCH_RULE_DEFAULT 

States with "all" (SKIN_STATE_ALL) will also be considered a match.

MATCH_RULE_ONLY_SPECIFIC_STATE 

States with "all" will not be considered a match.


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