From: mfranz Date: Mon, 24 Jul 2006 17:35:34 +0000 (+0000) Subject: no longer let top==left and bottom==right. This is necessary for label-box X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04818a4bc7fafc126145b5e1adbc2bc231b407bc;p=flightgear.git no longer let top==left and bottom==right. This is necessary for label-box pointers, and may introduce bugs elsewhere. Not that I've notice any yet. --- diff --git a/src/Instrumentation/HUD/HUD.hxx b/src/Instrumentation/HUD/HUD.hxx index 8c544ac27..10b7ead58 100644 --- a/src/Instrumentation/HUD/HUD.hxx +++ b/src/Instrumentation/HUD/HUD.hxx @@ -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 {