Commit Graph

1350 Commits

Author SHA1 Message Date
Vadim Lopatin ea14972f2e Merge pull request #344 from and3md/filedlg_fix
Fix FileDialog for saving in non-existing filenames issue #321
2017-05-10 13:40:03 +03:00
and3md c8fe905e99 Add DialogdisplayMode to easy configure dialogs should be displayed as popup or window. 2017-05-08 19:23:43 +02:00
and3md 8eb9737be5 Fix FileDialog for saving in non-existing filenames issue #321 2017-05-06 22:27:29 +02:00
and3md e90f0f33a6 Fix deprecation warnings about handleWindowStateChange() visibility. 2017-05-06 18:16:17 +02:00
and3md 36f3fa5382 Make sure that calling handleWindowStateChange() is necessary. 2017-05-06 18:16:08 +02:00
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
Vadim Lopatin ae1af989c9 fix x86_64 build error 2017-05-04 17:00:45 +03:00
Vadim Lopatin 10602abf3c CSS parser, initial version 2017-05-04 16:18:47 +03: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
igor84 fa31fa2600 Added multi selection to string grid and filedlg, issue #23 2017-04-23 21:47:53 +02:00
Vadim Lopatin 29465b3bd2 Merge pull request #336 from and3md/sdl_set_window_state
Implemented setWindowState for SDL issue #258
2017-04-11 10:18:40 +03:00
and3md c8bc160e58 Better pos/resize code in SDL setWindowState() 2017-04-08 14:30:01 +02:00
and3md 73944287ad _widgetToDestroy should be private, enlarged documentation 2017-04-08 13:43:32 +02:00
and3md 71789a55b3 Implemented setWindowState for SDL issue #258 (based on windows platform code) 2017-04-06 20:19:37 +02:00
and3md a99064eb03 Change name safeWidgetDestroy() and SaveDestroyEvent to more accurate queueWidgetDestroy() and QueueDestroyEvent 2017-04-06 19:41:45 +02:00
and3md 4459a5f60d Ability to safe destroy widget later by event. 2017-04-06 19:41:18 +02:00
Vadim Lopatin 2433db588a Merge pull request #334 from and3md/radio_button_check_fix
Fixed checking radio button from code.
2017-04-03 05:06:29 +03:00
Vadim Lopatin 517cfa8133 Merge pull request #333 from and3md/multiline_text_widget_fix
Fix MultilineTextWidget measure. Possible fix #100.
2017-04-03 05:06:18 +03:00
Vadim Lopatin e7c75214de Merge pull request #332 from and3md/insert_child
Added insertChild() to Widget and WidgetGroup.
2017-04-03 05:05:47 +03:00
Vadim Lopatin 4d273a9b68 Merge pull request #331 from and3md/scroolbox_fix
Fix scrollbox sliders update issues (fix #192)
2017-04-03 05:05:37 +03:00
Vadim Lopatin 494606652e Merge pull request #330 from and3md/master
Fix selection combobox list when changing selected item from code.
2017-04-03 05:05:27 +03:00
Vadim Lopatin 9427a8fe75 Merge pull request #328 from TheGag96/master
Improved the file dialog path selection again
2017-04-03 05:04:56 +03:00
and3md fa2cddad34 Change try..finally to more compact scope(exit) 2017-03-23 18:18:17 +01:00
and3md e68496897e Reverted accidentally commit "Uncomented requestLayout() in scrollbar fix scrollbox sliders update issues" from this branch 2017-03-23 18:01:42 +01:00
and3md cd1cc7c1f6 Fixed checking radio button from code. 2017-03-22 20:13:34 +01:00
and3md d7ecab0963 Fix MultilineTextWidget measure. Possible fix #100. 2017-03-22 19:34:26 +01:00
and3md d61751f256 Added insertChild() to Widget and WidgetGroup. 2017-03-21 20:22:38 +01:00
and3md 19e5d49ca7 Uncomented requestLayout() in scrollbar fix scrollbox sliders update issues
Possible fix  #192.
2017-03-21 19:58:32 +01:00
and3md 3bb823901f Uncomented requestLayout() in scrollbar fix scrollbox sliders update issues
Possible fix  #192.
2017-03-21 19:09:01 +01:00
and3md 767aa4bdbe Fixed double item selection on combo list when changing selected item from code. 2017-03-21 18:12:42 +01:00
TheGag96 2f72f5950a Small fix for selecting directories 2017-02-11 17:21:26 -06:00
TheGag96 8eacdfd2c0 Improved 2017-02-11 16:59:46 -06:00
Vadim Lopatin 23ff14f8e8 update action handling 2017-02-10 15:01:54 +03:00
TheGag96 f8341f67a5 Remove stray comment (possibly from older version?) 2017-01-14 23:04:28 -06:00
TheGag96 3176bfa94e Allow FileDialog to select not-yet-existing files 2017-01-14 23:02:17 -06:00
Tomoya Tanjo 267910e153 Fix implicit string concatenation 2016-12-03 22:40:25 +09:00
Vadim Lopatin 9789897d1d pointsToPixels for rect 2016-11-09 14:14:15 +03:00
Vadim Lopatin d3724205df arc drawing support 2016-11-07 17:32:24 +03:00
Vadim Lopatin b5658d7811 fix drawEllipseF 2016-11-07 16:41:57 +03:00
Vadim Lopatin 0613e5740f fix fillPolyF 2016-11-07 16:00:16 +03:00
Vadim Lopatin 1814424ec5 fillPoly support in DrawBuf 2016-11-07 15:33:51 +03:00
Vadim Lopatin 1b80fbb77a poly line 2016-11-07 15:04:46 +03:00
Vadim Lopatin ec4b6c9392 triangle clipping 2016-11-07 12:22:11 +03:00
Vadim Lopatin e715c52d0b line, polyLine with width - implementation for OpenGL 2016-11-07 10:01:19 +03:00
Vadim Lopatin f7d84b1403 show settings dialog in separate window by default 2016-11-03 16:24:44 +03:00
Vadim Lopatin 1f1459bd52 fix string concatenation warnings 2016-11-03 16:22:49 +03:00
Ryan Leach b003c3d379 Register TreeWidget by default for DML. 2016-10-26 11:52:46 -06:00
Vadim Lopatin 7efe250867 console theme - grid enhancement 2016-10-25 10:23:40 +03:00
Vadim Lopatin 5d2a799f52 fix #314 - release win32 build 2016-10-24 08:54:54 +03:00
Vadim Lopatin dfe7073222 FileDialog improvements; grid and file dialog fixes for Console mode 2016-10-21 16:02:58 +03:00
Vadim Lopatin a60b65a338 FileDialog - move to file in list by typing first letters of its name - fix #312 2016-10-21 09:44:27 +03:00
Vadim Lopatin a112994a4f close dialog on ESC key - fix #313 2016-10-20 15:15:11 +03:00
Vadim Lopatin f1c2f4d530 support mouse double click in Console backend - #310, #311 2016-10-20 14:41:24 +03:00
Vadim Lopatin 73184455b9 fix JSON and SDL loaders 2016-10-20 14:00:20 +03:00
Vadim Lopatin c369ee182f support for SDL file format in addition to JSON - for dlangide dub.sdl support 2016-10-20 12:28:01 +03:00
Vadim Lopatin f2b632dfcc settings support improvements 2016-10-18 14:24:49 +03:00
Vadim Lopatin 92d466dfff fixes 2016-10-18 12:25:27 +03:00
Vadim Lopatin c26de67d6f fix console support for progressBar, Switch, Grid, Slider - fix #309 2016-10-18 10:49:06 +03:00
Vadim Lopatin 691ba3411f SDL app icon transparency - fix #308 2016-10-18 09:03:52 +03:00
Vadim Lopatin 84040a277c fix crash on menu item click - #303 2016-10-17 16:10:50 +03:00
Vadim Lopatin 525bb5e45f possible fix for crash in #303 2016-10-17 13:47:08 +03:00
Vadim Lopatin da1aa0606a column resize support - fix #306 2016-10-17 12:07:54 +03:00
Vadim Lopatin 738d70584e fix custom drawables in themes - fix #305 2016-10-17 10:14:40 +03:00
Vadim Lopatin b07d0aae9b make tooltips working for list items - fix #303 2016-10-17 10:09:01 +03:00
Vadim Lopatin c41225853c fix SDL config DUB build under windows - fix #304 2016-10-14 16:57:24 +03:00
Vadim Lopatin 31e99433cb fix selection with shift+arrows 2016-10-14 13:50:32 +03:00
Vadim Lopatin aff7c94336 caret blinking fixes 2016-10-14 13:44:03 +03:00
Vadim Lopatin d8d3043dac keyevent noModifiers property 2016-10-14 13:11:19 +03:00
Vadim Lopatin 34d2d5afb1 second click on main menu item should close submenu - dlangide#166 2016-10-14 11:02:15 +03:00
Vadim Lopatin 46acde9ef0 fix Ctrl+Space shortcuts support - for dlangide#146 2016-10-13 21:58:34 +03:00
Vadim Lopatin ab02c5513a fix menu hotkeys support 2016-10-13 16:42:52 +03:00
Vadim Lopatin 3b7ac98ab2 Alt+Letter should activate main menu if hotkey is set 2016-10-13 16:29:54 +03:00
Vadim Lopatin 52a2795af3 menu fixes - #301 2016-10-13 16:15:51 +03:00
Vadim Lopatin 342b736fbe resource leak detection 2016-10-13 15:13:39 +03:00
Vadim Lopatin e9636ea5f1 don't resize window if app is minimized - to fix dlangide#181 2016-10-13 14:45:00 +03:00
Vadim Lopatin 6b2b324e78 enable Runtime.terminate in win app 2016-10-13 14:14:31 +03:00
Vadim Lopatin 10d27af9c2 fix crash on exit - resource cleanup - issue #302 2016-10-13 14:09:31 +03:00
Vadim Lopatin e2bc56d976 better Home key behavior in editors: dlangide/issue#148 2016-10-13 12:03:18 +03:00
Vadim Lopatin 7948509a6d fix caret display in beginning of line 2016-10-13 11:54:03 +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 63c1513c4e add Color enum with color constants; close #275 2016-10-13 10:00:22 +03:00
Vadim Lopatin 22add8fcbb add colWidth and rowHeight getters back 2016-10-13 09:40:45 +03:00
Vadim Lopatin a4af36daab Grid widget rework; smooth scrolling 2016-10-13 09:17:02 +03:00
Vadim Lopatin 13acf5d1ac fix for dlangide#180 2016-10-11 19:41:46 +03:00
Vadim Lopatin 356f989092 fix support of x86_64 build 2016-10-11 15:54:58 +03:00
Vadim Lopatin 324dabb7be streams 2016-10-11 15:12:31 +03:00
Vadim Lopatin fc57073d1a support getting list of font faces from fontManager 2016-10-11 11:57:13 +03:00
Vadim Lopatin 6c8785e9dd update ddoc 2016-10-11 11:08:17 +03:00
Vadim Lopatin 5ffe5db1e9 implement feature for issue #294 - ProgressBarWidget 2016-10-11 11:04:16 +03:00
Vadim Lopatin b4974cb177 progress bar initial implementatino 2016-10-11 10:36:47 +03:00
Vadim Lopatin f3a03a7378 refactoring: ScrollBar and SliderWidget moved to scrollbar.d 2016-10-11 09:02:06 +03:00