Difference between revisions of "Porting tips and changes from 0.7.X to 0.8.X"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
(event strings)
m
Line 12: Line 12:
 
* class colour renamed to Colour
 
* class colour renamed to Colour
 
* Point typedef removed, please use Vector2 instead
 
* Point typedef removed, please use Vector2 instead
* Many event string values changed to match the C++ name.  A list of which strings changed value will appear here soon.
+
* Many event string values changed to match the C++ name (but without the Event prefix).  A list of which strings changed value will appear here soon.
 
}}
 
}}

Revision as of 13:21, 24 November 2010

Introduction

This is work in progress, so while this page will be kept as up-to-date as possible, what you read here on any given day will never be definitive and is subject to further change until such time as a stable release is made. There are no current download packages contain the code this page relates to; this code is only available from the cegui_mk2/trunk directory in the subversion repository (see HOWTO: Obtain the library source from subversion.

Name this section

  • PropertyHelper has been turned into a template class, instead of PropertyHelper::uintToString you do PropertyHelper<uint>::toString, instead of PropertyHelper::stringToUint you do PropertyHelper<uint>::fromString
  • All instances of the word caret that were incorrectly spelt 'carat' have been corrected. This affects all APIs, properties, events and datafiles.
  • Window::EventWindowUpdated renamed to Window::EventUpdated and the associated string is changed from "WindowUpdate" to "Updated"
  • ListHeader::SegmentNameSuffix changed type from character array to CEGUI::String
  • EventMouseEnters renamed to EventMouseEntersSurface (old name removed)
  • EventMouseLeaves renamed to EventMouseLeavesSurface (old name removed)
  • BiDiVisualMapping renamed to BidiVisualMapping. Also renamed the files, so CEGUIBiDiVisualMapping.h is now CEGUIBidiVisualMapping.h
  • class colour renamed to Colour
  • Point typedef removed, please use Vector2 instead
  • Many event string values changed to match the C++ name (but without the Event prefix). A list of which strings changed value will appear here soon.