mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
improve theme gen
This commit is contained in:
parent
48a09168fa
commit
a10b3927c6
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2022/03/11
|
||||
* 修复theme_gen的模板部分编译出错问题(感谢智明提供补丁)
|
||||
|
||||
2022/03/10
|
||||
* 完善fscript debugger
|
||||
* 完善line\_number
|
||||
|
@ -82,7 +82,7 @@ bool Style::Reset() {
|
||||
|
||||
bool Style::Merge(Style& other) {
|
||||
str_values.Merge(other.str_values);
|
||||
for (typename NameValues<std::string>::const_iter_type i = (other.str_values).values.begin();
|
||||
for (NameValues<std::string>::const_iter_type i = (other.str_values).values.begin();
|
||||
i != (other.str_values).values.end(); i++) {
|
||||
bin_values.RemoveValue(i->name);
|
||||
int_values.RemoveValue(i->name);
|
||||
@ -90,7 +90,7 @@ bool Style::Merge(Style& other) {
|
||||
}
|
||||
|
||||
bin_values.Merge(other.bin_values);
|
||||
for (typename NameValues<BinaryData>::const_iter_type i = (other.bin_values).values.begin();
|
||||
for (NameValues<BinaryData>::const_iter_type i = (other.bin_values).values.begin();
|
||||
i != (other.bin_values).values.end(); i++) {
|
||||
str_values.RemoveValue(i->name);
|
||||
int_values.RemoveValue(i->name);
|
||||
@ -98,7 +98,7 @@ bool Style::Merge(Style& other) {
|
||||
}
|
||||
|
||||
int_values.Merge(other.int_values);
|
||||
for (typename NameValues<std::int32_t>::const_iter_type i = (other.int_values).values.begin();
|
||||
for (NameValues<int32_t>::const_iter_type i = (other.int_values).values.begin();
|
||||
i != (other.int_values).values.end(); i++) {
|
||||
bin_values.RemoveValue(i->name);
|
||||
str_values.RemoveValue(i->name);
|
||||
@ -106,7 +106,7 @@ bool Style::Merge(Style& other) {
|
||||
}
|
||||
|
||||
uint_values.Merge(other.uint_values);
|
||||
for (typename NameValues<std::uint32_t>::const_iter_type i = (other.uint_values).values.begin();
|
||||
for (NameValues<uint32_t>::const_iter_type i = (other.uint_values).values.begin();
|
||||
i != (other.uint_values).values.end(); i++) {
|
||||
bin_values.RemoveValue(i->name);
|
||||
int_values.RemoveValue(i->name);
|
||||
|
Loading…
Reference in New Issue
Block a user