aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/style/StyleRuleSet.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-04-01 21:33:24 +0800
committercrupest <crupest@outlook.com>2021-04-01 21:33:24 +0800
commit7874ec6bb127e87020a05154cd2f3105386e9109 (patch)
tree0ed3e8b0d771c274439976c7c02c7f8c7c7c6d0a /include/cru/ui/style/StyleRuleSet.hpp
parentaf2e38b320905bf3b1e5d0969d0811c47289bbfe (diff)
parentba43736c55ad510942e9e83ca0c8bea7265cf055 (diff)
downloadcru-7874ec6bb127e87020a05154cd2f3105386e9109.tar.gz
cru-7874ec6bb127e87020a05154cd2f3105386e9109.tar.bz2
cru-7874ec6bb127e87020a05154cd2f3105386e9109.zip
Merge branch 'master' of https://github.com/crupest/CruUI
Diffstat (limited to 'include/cru/ui/style/StyleRuleSet.hpp')
-rw-r--r--include/cru/ui/style/StyleRuleSet.hpp8
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()); }