TheBuzzSaw / XPG

cross-platform gaming
1 stars 0 forks source link

Add enum to MouseState for each button #1

Closed cdaragorn closed 12 years ago

cdaragorn commented 12 years ago

We need to change the MouseState interface so that outside objects don't need to know how the class uses the button flags. An enum should accomplish this nicely.

TheBuzzSaw commented 12 years ago

Did this get done? XD

cdaragorn commented 12 years ago

I know I started working on this, but I have not verified that it's done yet. Need to get a test case going to make sure it's working.

cdaragorn commented 12 years ago

I'm having some trouble figuring out how to read the complete mouse state from the event in windows. Once I nail that down I should be able to get this tested. The code for it is already written.

cdaragorn commented 12 years ago

Well, that didn't take much. This is now confirmed as working.