closed #5118, remove WidgetType and refactor LayoutType to Type
closed #5118, fix CCSGUIReader setAnchorPoint
closed #5118, refactor, improving variable name
closed #5118, fix indent
Merge pull request #6694 from ricardoquesada/shader_fixes

GLProgramState fixes
Merge pull request #6685 from andyque/refactor5118

closed #5118, remove WidgetType and refactor LayoutType to Type