class VMouse { public: int x; int y; int Flags; bool Down; bool Double; bool Left() { return (Flags & MK_LEFT) != 0; } bool Middle() { return (Flags & MK_MIDDLE) != 0; } bool Right() { return (Flags & MK_RIGHT) != 0; } bool Ctrl() { return (Flags & MK_CONTROL) != 0; } bool Alt() { return (Flags & MK_ALT) != 0; } bool Shift() { return (Flags & MK_SHIFT) != 0; } };