GGStyleScopes class
#include <GGUI/Public/Paint.h>
A set of style scopes, found by class. Touch it when a scope's sheet changes in place.
Public functions
- void Set(GGStyleScope scope)
- Add, or replace the scope with the same class.
- void Remove(uint64_t scopeClass)
- Remove the scope of that class.
- void Clear()
- Remove every scope.
- auto Find(uint64_t scopeClass) const -> const GGStyleScope*
- The scope of that class; null if none.
- auto Count() const -> size_t
- How many scopes it has.
- void Touch()
- A scope's sheet changed in place: documents resolve again.
- auto Revision() const -> uint64_t
- Bumped by every change.