Commit Graph

1369 Commits

Author SHA1 Message Date
Roman Chistokhodov e1e5a10619 Fix crash when listDirectory can't access parent path. Add listDirectory overload with more sane interface, deprecate the old one. Fix FilePathPanelItem directory selection. Show error message box when FileDialog can't access directory 2017-06-03 04:23:52 +03:00
Roman Chistokhodov e7e31cfac3 Create dlangui.core.filemanager module and put showInFileManager there. Remove code duplication in platform code 2017-06-03 03:14:54 +03:00
Vadim Lopatin 4819442938 Merge pull request #360 from and3md/lxde_fix
Unnecessary restore modal childs after window exposed event - fixes #355
2017-06-02 10:34:55 +03:00
Vadim Lopatin bed5921bb6 UIString static construction - issue #361 2017-06-02 10:29:49 +03:00
and3md 6d16875de9 SDL: unnecessary restore modal childs after SDL_WINDOWEVENT_EXPOSED fixes #355 2017-06-01 20:02:47 +02:00
gazer 1d08185329 some D idioms 2017-05-31 18:28:40 +03:00
gazer e288e6fd40 new batching implementation 2017-05-31 11:57:55 +03:00
Vadim Lopatin c1a990c0e2 fix #358 2017-05-30 11:50:05 +03:00
Vadim Lopatin 34172b8a31 Merge pull request #351 from and3md/listwidget_measure_fix
Excessive item measure in ListWidget onDraw() - maybe related to #347
2017-05-22 10:29:23 +03:00
Vadim Lopatin 3c9e21e9f8 Merge pull request #350 from and3md/mouse_move_always_redraw_fix
Fix mouse move always redraw - related to #347
2017-05-22 10:29:03 +03:00
Vadim Lopatin 1791a03c09 Merge pull request #349 from and3md/groupbox_fix
GroupBox include margins to caption pos, improved images
2017-05-22 10:28:48 +03:00
and3md 484e3769ce Excessive item measure in ListWidget onDraw(), related to #347 2017-05-21 12:22:04 +02:00
and3md 65845759a2 SwitchButton set _needDraw to false after draw, fix always redraw after events, related to #347 2017-05-21 12:11:58 +02:00
and3md 707d8da799 SDL app use update() after events, fix always redraw when mouse move, related to #347 2017-05-21 12:11:50 +02:00
and3md e74c5b5f4b Fix group box caption pos - margins was not included. 2017-05-20 13:05:16 +02:00
and3md 2c087347d8 Fix SDL app on windows. 2017-05-15 19:04:32 +02:00
Vadim Lopatin 83072c5254 fix build error - toUTF8 import - for SDL app 2017-05-12 11:11:00 +03:00
Vadim Lopatin f5b00be79c fix toUTF8 deprecation 2017-05-12 10:54:58 +03:00
Vadim Lopatin 90f6967dda Merge pull request #346 from and3md/dialog_display_mode
Add dialog display mode to easy configure dialogs should be displayed as popup or window
2017-05-10 13:40:25 +03:00
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