Update whitespace issues to conform to the rest of the document

This commit is contained in:
zastrowm 2013-04-26 21:09:12 -05:00
parent 5f336dd9f9
commit e7ba5e789f

View file

@ -198,8 +198,8 @@ namespace OpenTK.Platform.Windows
} }
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_DOWN) != 0) if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_DOWN) != 0)
{ {
mouse.EnableBit((int)MouseButton.Button1); mouse.EnableBit((int)MouseButton.Button1);
Functions.SetCapture(Window); Functions.SetCapture(Window);
} }
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_UP) != 0) if ((raw.ButtonFlags & RawInputMouseState.BUTTON_4_UP) != 0)
{ {
@ -211,11 +211,11 @@ namespace OpenTK.Platform.Windows
mouse.EnableBit((int)MouseButton.Button2); mouse.EnableBit((int)MouseButton.Button2);
Functions.SetCapture(Window); Functions.SetCapture(Window);
} }
if ((raw.ButtonFlags & RawInputMouseState.BUTTON_5_UP) != 0) if ((raw.ButtonFlags & RawInputMouseState.BUTTON_5_UP) != 0)
{ {
mouse.DisableBit((int)MouseButton.Button2); mouse.DisableBit((int)MouseButton.Button2);
Functions.ReleaseCapture(); Functions.ReleaseCapture();
} }
if ((raw.ButtonFlags & RawInputMouseState.WHEEL) != 0) if ((raw.ButtonFlags & RawInputMouseState.WHEEL) != 0)
mouse.WheelPrecise += (short)raw.ButtonData / 120.0f; mouse.WheelPrecise += (short)raw.ButtonData / 120.0f;