Commit Graph

497 Commits

Author SHA1 Message Date
Joshua Granick
36515078c4 Apply vsync only if the window is hardware 2015-08-20 15:52:16 -07:00
Joshua Granick
56c0872b8a Use onWindowCreate() instead of init(), fix support for multiple GL windows, use window.renderer instead of currentRenderer 2015-08-20 13:39:53 -07:00
Joshua Granick
f7e53cdea8 Move Keyboard events back to Window 2015-08-19 16:30:36 -07:00
Joshua Granick
c666477b58 Make the Touch events more robust 2015-08-19 16:04:57 -07:00
Joshua Granick
0fee391426 Allow multiple windows, close each one individually, exit when all are closed 2015-08-19 12:59:12 -07:00
Joshua Granick
8768d6114f Add window.id, add native EXIT event, filter window-based events and send to correct window instance 2015-08-19 12:36:30 -07:00
Joshua Granick
010e347651 Compile fix 2015-08-12 18:02:50 -07:00
Joshua Granick
df30bad61b Cleanup 2015-08-12 17:59:18 -07:00
Joshua Granick
a1862e43a5 Merge branch 'james4k_master' 2015-08-12 17:48:05 -07:00
Joshua Granick
24c565bbd8 Add initial lime.system.Clipboard implementation 2015-08-12 11:49:20 -07:00
Joshua Granick
603da175d2 Make all touch events use normalized (0-1) coordinates 2015-08-12 10:58:02 -07:00
Joshua Granick
dd8ca69353 Port JNI class from Lime legacy 2015-08-11 15:39:41 -07:00
Joshua Granick
f1b17dfb8d Improve Cairo font hinting 2015-08-10 09:59:29 -07:00
Nilsen Filc
e5870a4ca2 Cater for two's complement in joypad analog axis
Cater for two's complement in joypad analog axis - positive analog and triggers would otherwise send wrong valueif divided by 32768 when 32767 is max.
2015-08-09 12:17:20 +02:00
James Gray
4e0b3eb173 Merge tag '2.5.2'
Conflicts:
	lime/graphics/utils/ImageDataUtil.hx
2015-08-06 18:04:28 -05:00
Joshua Granick
de8c4298d4 Fix support for some JPEG images 2015-08-01 07:50:27 -07:00
Joshua Granick
28321ddc58 Minor change 2015-07-31 20:51:59 -07:00
Joshua Granick
ef9263abe1 Merge pull request #529 from jarnik/master
settable lime.ui.Window.title, SDL only
2015-07-31 20:46:26 -07:00
Joshua Granick
2290e26c4d We cannot maintain an updated list of displays, change to 'System.getDisplay' instead 2015-07-31 19:34:41 -07:00
Joshua Granick
fd376e6f99 Working on the Display API 2015-07-31 12:10:57 -07:00
Jarnik
83fcb82cce settable lime.ui.Window.titlem, SDL only 2015-07-31 08:08:12 +02:00
Lars A. Doucet
8c24a8ad24 displays -- add bounds 2015-07-30 16:23:30 -05:00
Lars A. Doucet
bad547d090 display -- (almost) final touches 2015-07-30 15:47:19 -05:00
Lars A. Doucet
8dfe690981 displays -- think I got it working 2015-07-30 15:40:33 -05:00
Lars A. Doucet
e04b18cd8a displays -- almost there 2015-07-30 15:32:20 -05:00
Lars A. Doucet
a99ee5af17 display -- adding last implementation bits 2015-07-30 15:27:28 -05:00
Lars A. Doucet
37a16c5971 add name 2015-07-30 14:46:36 -05:00
Lars A. Doucet
ac275f55ee display -- name 2015-07-30 14:40:37 -05:00
Lars A. Doucet
3588d9e6e0 compile fix 2015-07-30 14:27:43 -05:00
Lars A. Doucet
60f5dc4ff5 cleaning up Display cpp 2015-07-30 13:53:55 -05:00
Lars A. Doucet
e0a16c109c Trying to hook up the first native function! 2015-07-30 13:39:05 -05:00
Lars A. Doucet
32beb569d1 added Display.h / SDLDisplay.cpp, blank for now 2015-07-30 13:12:42 -05:00
Joshua Granick
61ea90d647 Allow gl.vertexAttribPointer without allocating array 2015-07-24 10:28:00 -07:00
Joshua Granick
861c0fe63b Fallback to software if hardware is not available 2015-07-23 08:09:30 -07:00
Joshua Granick
7b5d1a3c7a Fix Image native fillRect and floodFill 2015-07-22 18:37:10 -07:00
Joshua Granick
7f6418d0e2 Cleanup 2015-07-22 18:36:58 -07:00
James Gray
68adb5ff95 fix TextLayout.cpp for 64-bit targets 2015-07-22 16:57:35 -05:00
Nilsen Filc
3283085faf fix build 2015-07-21 22:51:16 +02:00
Joshua Granick
491d494437 Transparent fix 2015-07-21 11:14:01 -07:00
Joshua Granick
905e384ca2 Finish implementating C++ Image operations 2015-07-21 11:09:35 -07:00
Joshua Granick
fadc285209 Fixes 2015-07-21 10:38:29 -07:00
Joshua Granick
d6750818fc More work on pixel operations 2015-07-21 10:08:29 -07:00
Joshua Granick
07db467ab6 Port new copyChannel to native 2015-07-21 09:21:49 -07:00
Joshua Granick
c0ef737af0 Begin implementation of C++ Image data methods again 2015-07-21 09:07:52 -07:00
Nilsen Filc
0478a54e37 Gamepad controller axis deadzone low filter
Added gamepad controller axis deadzone low filter, removing unnecessary spam from controller analog sticks natural jitter.
Base filter set default at value 1000. Tested with multiple gamepads connected at the same time (Sony PS3).
2015-07-17 22:30:13 +02:00
Joshua Granick
7537b018a4 Quiet 'known incorrect' color profile messages from libpng 2015-07-17 08:40:45 -07:00
Joshua Granick
0b4c553622 Add CairoImageSurface, properly separate image surface methods from the CairoSurface type 2015-07-15 16:40:53 -07:00
Joshua Granick
b50d052548 Fix regression in ByteArray.readFile on Android 2015-07-15 11:00:40 -07:00
Joshua Granick
91a719e11a Guard against garbage collection in bytes (fixes #498) 2015-07-13 21:10:57 -05:00
Joshua Granick
ec34739a85 Crop rectangle in image.copyChannel 2015-07-13 13:03:46 -07:00