Commit History

Author SHA1 Message Date
  Alex Szpakowski 86d41620dd Replaced the mouse button constants ("l", "r", "m", etc.) with button numbers. 1 is the primary button, 2 is the secondary button, 3 is middle-mouse, etc. Resolves issue #1019. 10 years ago
  Alex Szpakowski 14cbc91e7f Fixed a memory leak in love.graphics.newText. 10 years ago
  Alex Szpakowski 52c4f2c119 Improved the performance of love.window.getPixelScale / toPixels / fromPixels by caching some values. Made some coordinate space-sensitive code use the proper conversions to get to the correct coordinate space. 10 years ago
  Alex Szpakowski 8edea22179 Added love.mouse.hasCursor. Returns true if mouse cursors are available. 10 years ago
  Alex Szpakowski ea2e45f4e2 Renamed love.mouse.setRelative to love.mouse.setRelativeMode, removed some unused OpenGL code. 10 years ago
  Alex Szpakowski 8989e39b1e A better fix for love.mouse.setPosition not updating the return values of love.window.getPosition until the next love.event.pump call on Windows and Linux. 10 years ago
  Alex Szpakowski b4f2a9417a Added new event callback love.mousemoved(x, y, xrel, yrel), where xrel and yrel are the amount of pixels moved since the last event. Added love.mouse.setRelative(bool relative) and love.mouse.isRelative. Resolves issue #470. 10 years ago
  Alex Szpakowski 8a9a73151d Pump events when calling love.mouse.getPosition/getX/getY/setX/setY, since some of SDL's backends don't update the internal mouse state until the next PumpEvents, if SDL_WarpMouseInWindow was called previously. 10 years ago
  Alex Szpakowski c7b45b3505 Updated copyright for the new year 10 years ago
  Alex Szpakowski c6b610d116 Cleaned up some code. 11 years ago
  Alex Szpakowski d59c76a55f Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs! 11 years ago
  Alex Szpakowski e4dc533bb2 Minor code cleanup 11 years ago
  Alex Szpakowski 50b7bdcea9 And another typo… 11 years ago
  Alex Szpakowski 0d52ac6d52 Fixed dumb typo 11 years ago
  Alex Szpakowski 309193895a Added opt-in support for high-dpi mode in OS X when on a retina display (resolves issue #761). 11 years ago
  Alex Szpakowski 3120a0e650 Goodbye 2013, hello 2014! 11 years ago
  Alex Szpakowski 3b0d5c8b6d Removed the system cursor variant of love.mouse.newCursor and added love.mouse.getSystemCursor. love.mouse.newCursor can now take a file(path). Resolves issue #741. 11 years ago
  Alex Szpakowski bcee9a222b Made some float/int/unsigned char conversions explicit, fixed ParticleSystem:getColors, fixed love.mouse.isDown with x1 and x2 buttons 12 years ago
  Alex Szpakowski 040defbbfe Renamed love.mouse.setGrab to love.mouse.setGrabbed (resolves issue #720) 12 years ago
  Alex Szpakowski 113ed1cfe7 Merged SDL2 changes from bartbes/love-experiments/SDL2 into default. 12 years ago
  Alex Szpakowski 96161c66f6 Updated copyright text for the new year 12 years ago
  Bart van Strien 7793e7f02f CRLF to LF 13 years ago
  rude 81c38e22d0 Applied the new style guidelines. 13 years ago
  Bart van Strien 1eb17f2376 Add love.mouse.setX/setY (issue #438) 13 years ago
  Bill Meltsner be55579a22 Happy New Year, have an enormous diff 13 years ago
  Bart van Strien 0aae9684b3 Automated formatting fix 13 years ago
  rude 2753c62985 Abstractify some modules completely: timer, keyboard and mouse. 14 years ago
  Bart van Strien 4f6acb5f48 Make love.mouse.isDown accept a list too 14 years ago
  Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 14 years ago
  rude aa01c984b9 Updated all dates to 2010. 15 years ago