Browse Source

fixed potential ABI breakage

Julian 11 years ago
parent
commit
b4c44ceb68
1 changed files with 10 additions and 9 deletions
  1. 10 9
      Include/Rocket/Core/Property.h

+ 10 - 9
Include/Rocket/Core/Property.h

@@ -59,17 +59,18 @@ public:
 
 
 		// Relative values.
 		// Relative values.
 		EM = 1 << 6,				// number suffixed by 'em'; fetch as < float >
 		EM = 1 << 6,				// number suffixed by 'em'; fetch as < float >
-		REM = 1 << 7,				// number suffixed by 'rem'; fetch as < float >
-		PERCENT = 1 << 8,			// number suffixed by '%'; fetch as < float >
-		RELATIVE_UNIT = EM | REM | PERCENT,
+		PERCENT = 1 << 7,			// number suffixed by '%'; fetch as < float >
 
 
 		// Values based on pixels-per-inch.
 		// Values based on pixels-per-inch.
-		INCH = 1 << 9,				// number suffixed by 'in'; fetch as < float >
-		CM = 1 << 10,				// number suffixed by 'cm'; fetch as < float >
-		MM = 1 << 11,				// number suffixed by 'mm'; fetch as < float >
-		PT = 1 << 12,				// number suffixed by 'pt'; fetch as < float >
-		PC = 1 << 13,				// number suffixed by 'pc'; fetch as < float >
-		PPI_UNIT = INCH | CM | MM | PT | PC
+		INCH = 1 << 8,				// number suffixed by 'in'; fetch as < float >
+		CM = 1 << 9,				// number suffixed by 'cm'; fetch as < float >
+		MM = 1 << 10,				// number suffixed by 'mm'; fetch as < float >
+		PT = 1 << 11,				// number suffixed by 'pt'; fetch as < float >
+		PC = 1 << 12,				// number suffixed by 'pc'; fetch as < float >
+		PPI_UNIT = INCH | CM | MM | PT | PC,
+
+		REM = 1 << 13,				// number suffixed by 'rem'; fetch as < float >
+		RELATIVE_UNIT = EM | REM | PERCENT
 	};
 	};
 
 
 	Property();
 	Property();