Function extractStateFlags
converts XML attribute name to State (see http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList)
Prototype
void extractStateFlags( ref string[string] attr, ref uint stateMask, ref uint stateValue );
Authors
Vadim Lopatin, coolreader.org@gmail.com
Copyright
Vadim Lopatin, 2014
License
Boost License 1.0