Commit Graph

141 Commits

Author SHA1 Message Date
and3md 373f51bd45 SDL: Fix window freeze when child modal fomr is created but not showed. 2017-05-06 18:15:58 +02:00
and3md f623ddc06a SDL: Set window state on create. 2017-05-06 18:15:52 +02:00
and3md 627e3cb11b SDL: State was handled twice first in setWindowState() second in event loop. Update window size and pos in event loop. 2017-05-06 18:15:45 +02:00
and3md 411f2d82e1 SDL_WINDOWEVENT_EXPOSED - window invalidate() is needed on windows in VirtualBox. 2017-05-02 19:09:12 +02:00
and3md fedb1c8c58 Fix SDL renderer creation for VirtualBox and old graphics cards. 2017-05-02 19:02:23 +02:00
Vadim Lopatin 3c72624f52 Merge pull request #341 from and3md/fix_window_close
Fix window close in SDL
2017-05-02 11:24:36 +03:00
and3md a8db8a6e5a SDL_DestroyWindow() was called twice. First in close window code, second on window destructor. 2017-04-29 17:42:09 +02:00
and3md 9184303b05 SDL platform windows close code changed from variable to SDL event. Fixes multiple windows closing. 2017-04-29 17:41:41 +02:00
and3md 14c99be69c SDL: strongly improved modal behavior. Window state handled correctly. 2017-04-29 17:16:47 +02:00
and3md 076b2a44e7 Changed long to ptrdiff_t fix 32bit build 2017-04-29 17:15:43 +02:00
and3md 2677025486 Implemented modal windows behavior in SDL. 2017-04-29 17:15:02 +02:00
and3md c8bc160e58 Better pos/resize code in SDL setWindowState() 2017-04-08 14:30:01 +02:00
and3md 71789a55b3 Implemented setWindowState for SDL issue #258 (based on windows platform code) 2017-04-06 20:19:37 +02:00
Vadim Lopatin 92d466dfff fixes 2016-10-18 12:25:27 +03:00
Vadim Lopatin 691ba3411f SDL app icon transparency - fix #308 2016-10-18 09:03:52 +03:00
Vadim Lopatin 342b736fbe resource leak detection 2016-10-13 15:13:39 +03:00
Vadim Lopatin 10d27af9c2 fix crash on exit - resource cleanup - issue #302 2016-10-13 14:09:31 +03:00
Vadim Lopatin 0665ea504f fix keypad behavior under SDL2 when NumLock is on - for dlangide#172 2016-10-13 10:55:21 +03:00
Vadim Lopatin 79790c0654 use core.sys.windows instead of 3rdparty/win32 2016-09-12 09:19:08 +03:00
Vadim Lopatin 5f6c0ddf3e fix #264 -- system defined doubleclick time 2016-05-18 15:31:43 +03:00
Vadim Lopatin 9d983dcf52 fix window closing and input events handling if there is modal window above - fix #251 under windows 2016-05-18 12:33:48 +03:00
Marco Leise 02ee3ec7bc Minimal error reporting for SDL_Init 2016-04-23 01:49:59 +02:00
Vadim Lopatin ae1598b977 fix new DMD import warnings 2016-04-11 14:04:32 +03:00
FreeSlave 369d03eb34 Shorten showInFileManager for Linux 2016-04-09 00:41:40 +03:00
FreeSlave 70ba227745 Use invalidate instead of redraw added in commits dd0df51 and fed4712 2016-03-17 10:49:31 -04:00
Roman Chistokhodov 73e4b1702a Don't use xdg-open when showing file in folder 2016-03-17 07:57:04 -04:00
FreeSlave d9af0b3b17 Improved showInFileManager for linux 2016-03-17 01:41:29 +03:00
FreeSlave fed4712085 Redraw on window exposed too 2016-03-11 22:26:35 +03:00
FreeSlave dd0df51ba3 Fix window redrawing (#197) 2016-03-11 22:14:10 +03:00
Vadim Lopatin c6c49b2cef fix for issue #103 - workaround for DMD bug with static this() and synchronized class instantiation from it 2016-02-03 11:16:25 +03:00
gazer 4723343eaf ability to set GL context version by application 2016-01-31 09:22:19 +03:00
Keywan Ghadami 32d59ecaae fix https://github.com/buggins/dlangide/issues/129 2016-01-30 14:56:55 +01:00
gazer e5fbbf68b9 fix freeze after resizing 2016-01-29 21:47:36 +03:00
gazer c2edca6d7b a little optimization 2016-01-29 11:18:04 +03:00
Vadim Lopatin c6bc225a1b fix Ctrl+Space processing in SDL backend) - close #160 2016-01-28 13:38:04 +03:00
Vadim Lopatin 2c1c88923c fix keypad Enter key support for SDL platform 2016-01-27 09:15:16 +03:00
Vadim Lopatin f3f89282f8 OSX native shortcuts support, part 1 - issue #121 2016-01-26 20:43:07 +03:00
Vadim Lopatin 29fb51bcd1 fix Show In File Manager feature for OSX 2016-01-26 19:43:24 +03:00
Vadim Lopatin 73d38d0906 fix Show In File Manager function handling under Linux - close #151 2016-01-26 16:33:44 +03:00
Vadim Lopatin b306388fd6 fix build error 2016-01-25 15:53:28 +03:00
Vadim Lopatin c5eeec6ea5 initial support for showInFileBrowser - #151 2016-01-25 15:22:34 +03:00
Vadim Lopatin 7eee173a55 showInFileManager 2016-01-25 14:25:15 +03:00
gazer 936838bf2d clear some code 2016-01-04 21:03:35 +03:00
Vadim Lopatin 3c5b3a61a7 replace tabs with 4 spaces 2015-12-23 08:45:54 +03:00
Vadim Lopatin 349c6612e1 refactor OpenGL initialization 2015-12-21 11:35:31 +03:00
gazer 2a53c9b4fd `switch` with `with` keyword to improve readability 2015-12-19 13:52:08 +03:00
Vadim Lopatin 8ce8c38b24 sdl legacy opengl api 2015-12-19 08:37:30 +03:00
Vadim Lopatin d2049653ba example1: GlGears - trying on OSX 2015-12-19 08:14:18 +03:00
Vadim Lopatin 872b77241b Merge branch 'master' of github.com:buggins/dlangui 2015-12-19 07:52:34 +03:00
Vadim Lopatin c7964762c4 fixes for OSX 2015-12-19 07:52:19 +03:00