Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/ceguilua/ceguilua-0.5.0/package/PropertyHelper.pkg @ 5738

Last change on this file since 5738 was 5738, checked in by landauf, 15 years ago

merged libraries2 back to trunk

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1/***********************************************************************
2        PropertyHelper
3***********************************************************************/
4class PropertyHelper
5{
6        static  float                   stringToFloat(string str);
7        static  unsigned int    stringToUint(string str);
8        static  bool                    stringToBool(string str);
9        static  Size                    stringToSize(string str);
10        static  Vector2                 stringToPoint(string str);
11        static  Rect                    stringToRect(string str);
12        static  const Image*    stringToImage(string str);
13        static  colour                  stringToColour(string str);
14        static  ColourRect              stringToColourRect(string str);
15
16        static  UDim                    stringToUDim(string str);
17        static  UVector2                stringToUVector2(string str);
18        static  URect                   stringToURect(string str);
19
20        static string   floatToString(float val);
21        static string   uintToString(unsigned int val);
22        static string   boolToString(bool val);
23        static string   sizeToString(const Size& val);
24        static string   pointToString(const Vector2& val);
25        static string   rectToString(const Rect& val);
26        static string   imageToString(const Image* val);
27        static string   colourToString(const colour& val);
28        static string   colourRectToString(const ColourRect& val);
29
30        static string   udimToString(const UDim& val);
31        static string   uvector2ToString(const UVector2& val);
32        static string   urectToString(const URect& val);
33};
Note: See TracBrowser for help on using the repository browser.