From be1b0b7239d9b9ff7301a480b7dd57069a3735e9 Mon Sep 17 00:00:00 2001 From: pipu Date: Thu, 5 Mar 2015 14:34:35 +0800 Subject: [PATCH] To modify layout attribute name that are used in serialized and parsed. --- .../cocostudio/WidgetReader/NodeReader/NodeReader.cpp | 8 ++++---- .../cocostudio/WidgetReader/WidgetReader.cpp | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp b/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp index e18d02c949..494450d6f9 100644 --- a/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp +++ b/cocos/editor-support/cocostudio/WidgetReader/NodeReader/NodeReader.cpp @@ -36,10 +36,10 @@ using namespace flatbuffers; namespace cocostudio { - const char* Layout_PositionPercentXEnabled = "PositionPercentXEnable"; - const char* Layout_PositionPercentYEnabled = "PositionPercentYEnable"; - const char* Layout_PercentWidthEnable = "PercentWidthEnable"; - const char* Layout_PercentHeightEnable = "PercentHeightEnable"; + const char* Layout_PositionPercentXEnabled = "PositionPercentXEnabled"; + const char* Layout_PositionPercentYEnabled = "PositionPercentYEnabled"; + const char* Layout_PercentWidthEnable = "PercentWidthEnabled"; + const char* Layout_PercentHeightEnable = "PercentHeightEnabled"; const char* Layout_StretchWidthEnable = "StretchWidthEnable"; const char* Layout_StretchHeightEnable = "StretchHeightEnable"; const char* Layout_HorizontalEdge = "HorizontalEdge"; diff --git a/cocos/editor-support/cocostudio/WidgetReader/WidgetReader.cpp b/cocos/editor-support/cocostudio/WidgetReader/WidgetReader.cpp index 1952a322c1..b342b73f6d 100644 --- a/cocos/editor-support/cocostudio/WidgetReader/WidgetReader.cpp +++ b/cocos/editor-support/cocostudio/WidgetReader/WidgetReader.cpp @@ -67,10 +67,10 @@ namespace cocostudio const char* P_ResourceType = "resourceType"; const char* P_Path = "path"; - const char* P_Layout_PositionPercentXEnabled = "PositionPercentXEnable"; - const char* P_Layout_PositionPercentYEnabled = "PositionPercentYEnable"; - const char* P_Layout_PercentWidthEnable = "PercentWidthEnable"; - const char* P_Layout_PercentHeightEnable = "PercentHeightEnable"; + const char* P_Layout_PositionPercentXEnabled = "PositionPercentXEnabled"; + const char* P_Layout_PositionPercentYEnabled = "PositionPercentYEnabled"; + const char* P_Layout_PercentWidthEnable = "PercentWidthEnabled"; + const char* P_Layout_PercentHeightEnable = "PercentHeightEnabled"; const char* P_Layout_StretchWidthEnable = "StretchWidthEnable"; const char* P_Layout_StretchHeightEnable = "StretchHeightEnable"; const char* P_Layout_HorizontalEdge = "HorizontalEdge";