diff options
author | crupest <crupest@outlook.com> | 2021-03-24 22:58:07 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-03-24 22:58:07 +0800 |
commit | ba43736c55ad510942e9e83ca0c8bea7265cf055 (patch) | |
tree | a27a804ea3b95dbe33dde47568fe23b7f98439f6 /include/cru/ui/style | |
parent | 7f15a1ff9a2007e119798053083a0a87d042990a (diff) | |
download | cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.tar.gz cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.tar.bz2 cru-ba43736c55ad510942e9e83ca0c8bea7265cf055.zip |
...
Diffstat (limited to 'include/cru/ui/style')
-rw-r--r-- | include/cru/ui/style/StyleRuleSet.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/cru/ui/style/StyleRuleSet.hpp b/include/cru/ui/style/StyleRuleSet.hpp index e62dd2de..b3c4f683 100644 --- a/include/cru/ui/style/StyleRuleSet.hpp +++ b/include/cru/ui/style/StyleRuleSet.hpp @@ -29,14 +29,6 @@ class StyleRuleSet : public Object { void AddStyleRule(StyleRule rule, gsl::index index); - template <typename Iter> - void AddStyleRuleRange(Iter start, Iter end, gsl::index index) { - Expects(index >= 0 && index <= GetSize()); - rules_.insert(rules_.cbegin() + index, std::move(start), std::move(end)); - UpdateChangeListener(); - UpdateStyle(); - } - void RemoveStyleRule(gsl::index index, gsl::index count = 1); void Clear() { RemoveStyleRule(0, GetSize()); } |