Commit Graph

202 Commits

Author SHA1 Message Date
Joshua Granick
78bf85b766 Move drop file event to Window, handle mouse capture automatically 2016-03-01 10:45:33 -08:00
Yanrishatum
85ec75fd59 Drag&Drop support; SDL_CaptureMode support; Maximize window support; 2016-03-01 09:53:24 -08:00
Joshua Granick
b8646f1596 Move get display index to C++ 2016-01-12 11:43:13 -08:00
Joshua Granick
81b87ce76a Simplify display.dpi to diagonal value 2016-01-12 09:39:19 -08:00
Lars Doucet
b240ff08e8 Expose display device DPI 2016-01-12 09:15:28 -06:00
Lars A. Doucet
e86ac9cc75 added borderless, resizable, and fullscreenBorderless properties to Window.hx.
Caveats: resizable can only be set at runtime for windows right now as SDL does not support it natively and has to be added per platform.
2016-01-08 15:14:47 -08:00
Lars A. Doucet
1ddb43b990 CFFI hookups for nfd "open directory" functionality 2016-01-08 15:05:34 -08:00
Joshua Granick
97fb0dcccc Move threshold logic to CFFI again 2016-01-08 14:51:38 -08:00
Joshua Granick
3e4bd31fc6 Add renderer.readPixels (thank you @larsiusprime, close #666, close openfl/openfl#1003) 2016-01-08 13:15:34 -08:00
Lars A. Doucet
3644008132 Implementing BitmapData.threshold() natively for massive speedup - 95% reduction in time taken 2016-01-01 14:11:25 -08:00
Joshua Granick
cd4d4a8f43 Fix race condition in lime_image_load, lime_audio_load 2015-12-31 14:42:20 -08:00
Joshua Granick
4dc0aa3db4 Remove old ByteArray CPP class 2015-12-31 14:41:54 -08:00
Joshua Granick
8daeb8f1d8 Add lime.ui.Joystick and dispatch joystick events 2015-10-05 18:48:36 -07:00
Joshua Granick
283e13386b Add window.scale, let window width/height and mouse events be in logical points 2015-10-05 13:18:54 -07:00
Joshua Granick
a069328efb Add System.allowScreenTimeout 2015-09-30 12:46:14 -07:00
Joshua Granick
f4438d85ac Update CFFI Prime header 2015-09-29 09:43:24 -07:00
Joshua Granick
de970f1bae Include patched HXCPP CFFIPrime.h, fix static Lime build 2015-09-24 15:59:30 -07:00
Joshua Granick
4a8fe40024 Add lime.system.CFFIPointer 2015-09-23 09:19:45 -07:00
James Gray
3e6a5a9770 Fix crash in Font::Decompose 2015-09-22 12:31:50 -05:00
James Gray
208f1ca8f0 plug leaks in lime.text.Font 2015-09-21 19:08:21 -05:00
Joshua Granick
1170702692 Accelerometer events 2015-09-15 16:30:15 -07:00
Joshua Granick
f618c4648a Make window.alert simpler 2015-09-02 17:59:30 -07:00
Joshua Granick
dc919adccc Name window.notify back to window.alert and unify with simple message box support 2015-09-02 09:53:03 -07:00
Joshua Granick
b199e7ac7d Rename to window.notify (should have a more robust notification system in the future) 2015-09-02 09:01:04 -07:00
Tommy X
a8a7ff4dad Added Alert function 2015-09-01 20:10:48 -04:00
Joshua Granick
b10a876307 Rename to window.focus () 2015-08-25 16:26:09 -07:00
Joshua Granick
92791433ba Merge pull request #549 from larsiusprime/window
window: exposed "raise()" function from SDL to bring the specified wi…
2015-08-25 16:16:15 -07:00
Joshua Granick
76341325ec Compile fix 2015-08-22 23:39:06 -07:00
Joshua Granick
23e3882a24 Update the FileDialog API, improve 2015-08-22 17:10:51 -07:00
Joshua Granick
b5f1949577 Compile fix 2015-08-22 16:36:19 -07:00
Joshua Granick
0e656f2a6a Add lime.ui.FileDialog 2015-08-22 14:32:35 -07:00
Lars A. Doucet
36538a4b3e window: exposed "raise()" function from SDL to bring the specified window to the top of the display stack 2015-08-20 20:57:49 -05: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
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
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
dd8ca69353 Port JNI class from Lime legacy 2015-08-11 15:39:41 -07: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
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
ac275f55ee display -- name 2015-07-30 14:40:37 -05:00