]> git.mxchange.org Git - flightgear.git/commitdiff
no longer let top==left and bottom==right. This is necessary for label-box
authormfranz <mfranz>
Mon, 24 Jul 2006 17:35:34 +0000 (17:35 +0000)
committermfranz <mfranz>
Mon, 24 Jul 2006 17:35:34 +0000 (17:35 +0000)
pointers, and may introduce bugs elsewhere. Not that I've notice any yet.

src/Instrumentation/HUD/HUD.hxx

index 8c544ac270b84bbef827d7f1a9a057ddd37afdf8..10b7ead589cde6a1711ac9af9e59e9b232869b42 100644 (file)
@@ -216,18 +216,18 @@ public:
     Units getUnits() const { return _units; }
 
     enum {
+        HORZ      = 0x0000,  // keep that at zero?
         AUTOTICKS = 0x0001,
         VERT      = 0x0002,
-        HORZ      = 0x0000,
         TOP       = 0x0004,
         BOTTOM    = 0x0008,
-        LEFT      = TOP,
-        RIGHT     = BOTTOM,
+        LEFT      = 0x0010,
+        RIGHT     = 0x0020,
         BOTH      = (LEFT|RIGHT),
-        NOTICKS   = 0x0010,
-        ARITHTIC  = 0x0020,
-        DECITICS  = 0x0040,
-        NOTEXT    = 0x0080,
+        NOTICKS   = 0x0040,
+        ARITHTIC  = 0x0080,
+        DECITICS  = 0x0100,
+        NOTEXT    = 0x0200,
     };
 
     enum Adjust {