parent
dfb9ba4a33
commit
be3a8602c5
|
|
@ -0,0 +1,23 @@
|
||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
|
||||||
|
# top-most EditorConfig file
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# Unix-style newlines with a newline ending every file
|
||||||
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
|
||||||
|
# Matches multiple files with brace expansion notation
|
||||||
|
# Set default charset
|
||||||
|
[*.{h,hpp,cpp}]
|
||||||
|
charset = gb2312
|
||||||
|
|
||||||
|
# 4 space indentation
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
# Matches the exact files
|
||||||
|
[*.{json,xml}]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
@ -50,9 +50,7 @@ namespace kiwano
|
||||||
style.line_spacing = 20.f;
|
style.line_spacing = 20.f;
|
||||||
debug_text_->SetStyle(style);
|
debug_text_->SetStyle(style);
|
||||||
|
|
||||||
AddListener(Event::MouseHover, [=](const Event&) {
|
AddListener(Event::MouseHover, [=](const Event&) { SetOpacity(0.4f); });
|
||||||
SetOpacity(0.4f);
|
|
||||||
});
|
|
||||||
AddListener(Event::MouseOut, [=](const Event&) { SetOpacity(1.f); });
|
AddListener(Event::MouseOut, [=](const Event&) { SetOpacity(1.f); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue