From 19b83edec4d4c5a40e71745e7400a09aaa79e3ae Mon Sep 17 00:00:00 2001 From: Cocos Robot <48829427+cocos-robot@users.noreply.github.com> Date: Mon, 14 Mar 2022 16:41:44 +0800 Subject: [PATCH] [ci skip][AUTO]: Automated clang-format update: fa6bbe64597c6890c636e0619730b6be3f5dfdc2 (#10118) (#10335) Co-authored-by: cocos-robot --- native/cocos/ui/edit-box/EditBox.h | 33 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/native/cocos/ui/edit-box/EditBox.h b/native/cocos/ui/edit-box/EditBox.h index df17bb5c1d..fd81ff4404 100644 --- a/native/cocos/ui/edit-box/EditBox.h +++ b/native/cocos/ui/edit-box/EditBox.h @@ -41,24 +41,23 @@ public: std::string defaultValue; std::string confirmType; std::string inputType; - int maxLength = 0; - int x = 0; - int y = 0; - int width = 0; - int height = 0; - bool confirmHold = false; - bool isMultiline = false; + int maxLength = 0; + int x = 0; + int y = 0; + int width = 0; + int height = 0; + bool confirmHold = false; + bool isMultiline = false; //NEW PROPERTIES - uint32_t fontSize = 20; - uint32_t fontColor = 0x00000000; - uint32_t backColor = 0x00000000;//font back color + uint32_t fontSize = 20; + uint32_t fontColor = 0x00000000; + uint32_t backColor = 0x00000000; //font back color uint32_t backgroundColor = 0x00000000; - bool isBold = false; - bool isItalic = false; - bool isUnderline = false; - uint32_t underlineColor = 0x00000000; - uint32_t textAlignment = LEFT;//By default, override with left, center or right - + bool isBold = false; + bool isItalic = false; + bool isUnderline = false; + uint32_t underlineColor = 0x00000000; + uint32_t textAlignment = LEFT; //By default, override with left, center or right }; static void show(const ShowInfo &showInfo); @@ -69,7 +68,7 @@ public: static bool complete(); private: - static bool _isShown;//NOLINT(readability-identifier-naming) + static bool _isShown; //NOLINT(readability-identifier-naming) }; } // namespace cc