Commit Graph

70 Commits

Author SHA1 Message Date
Bart van Strien 00ee547a1c Make unknown keys map to "unknown" in love.keypressed, at least allowing
you to get the (correct) unicode arg. (issue #337)
2012-08-03 15:51:43 +02:00
Bart van Strien bddee1753b Use a flags table for setMode now, implement resizable and borderless windows, and add resize event
Example setMode invocation: love.graphics.setMode(800, 600, {fullscreen = false, vsync = true, borderless = true})
t.screen.resizable and t.screen.borderless are available in love.conf
And love.resize(w, h) gets called if it exists on a resize event.
NOTE: love.handlers.resize(w, h) does the required setMode, but that does mean a visual reload

--HG--
branch : minor
2012-07-23 11:53:13 +02:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
rude 81c38e22d0 Applied the new style guidelines.
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien e0dcf55703 Make love.event.clear thread-safe, though it's only callable from the main thread (with SDL backend, anyway) 2011-12-23 12:16:36 +01:00
Bart van Strien d3bd9b1156 Events now have 4 arguments (or less) 2011-12-20 19:17:26 +01:00
Bart van Strien 083dd11185 Switch to a custom event system, where SDL pumps into
To do this we needed to take ThreadVariant out of love.thread, and move it to common.
This also changes event names, instead of 1/2-letter abbreviations, full names!
2011-12-13 17:50:38 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
rude 20364c67bd Added love.event.clear, because why not. (Issue #202). 2011-03-16 23:23:20 +01:00
Bart van Strien db1a2d12ff Add dead key support by exposing the "unknown" key 2011-01-26 16:06:14 +01:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
rude 31c9995082 Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int. 2011-01-09 16:28:30 +01:00
Bart van Strien 5235ceac53 Added love.focus callback 2010-08-03 13:51:19 +02:00
Bill Meltsner 73aba4bdd4 eliminated a whole bunch of gcc warnings 2010-02-09 13:21:25 -05:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude 87e3c4131c Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal. 2009-10-10 11:11:04 +02:00
rude ab981ea982 Made error screen and reverted love.event.wait. 2009-08-24 21:38:35 +02:00
rude ae8d660868 Fixed bug in love.event. Started on error screen. 2009-08-20 22:58:25 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00