qskinny
qskinny copied to clipboard
Resolving of the QskAspect status bits
When retrieving skin hints the lookup algorithm removes the status bits of the aspect from high to low until an entry has been found. The idea behind this approach was to avoid having to define hints for all type of state bit combinations.
While this kind of works for the controls offered by QSkinny things are becoming too complex for custom controls with application specific additional states. In most situations there is no clear status hierarchy ( increasing importance ) and it is almost impossible to come up with something reasonable.
So the concept of clearing status bits in top down order has to be dropped - at least for the bits being set by application code ( FirstUserState - LastUserState ). Instead definitions have to be made somehow by using QskStateCombination