Commit Graph

1461 Commits

Author SHA1 Message Date
and3md 6ab38d89e5 ListWidget - uneeded second child measure, fix scrollbar bug - should partially fix dlangide bug 236 2017-08-19 19:21:44 +02:00
and3md 1b8f87c214 Improved WidgetList measure. 2017-08-19 19:15:27 +02:00
and3md a0563db345 Fix crash when you change showRowHeaders to false before resize(). 2017-08-19 15:52:00 +02:00
and3md 7f9fc27f64 Scroll file dialog grid without extend free space on end to show full column at left when scrolled to right. 2017-08-19 15:42:05 +02:00
and3md 17d4995e98 Improved grid measure. 2017-08-19 15:38:53 +02:00
and3md 1bba303cc3 Fix grid scroll pos on startup, extend scroll area on options (fullRowOnTop, fullColumnOnLeft). 2017-08-19 15:37:29 +02:00
Vadim Lopatin 1673b3103e Merge pull request #405 from Superbelko/feature-propertymeta
Added basic widget's property metadata info
2017-08-18 13:53:28 +03:00
lemming-life 17c2f93cb6 Added search string in StringListWidget when KeyAction is Text 2017-08-16 20:12:38 -06:00
lemming-life 89c8191d45 Added find word in StringListWidget 2017-08-16 20:05:57 -06:00
and3md 8a7245ba24 Fix setting layoutWidth/layoutHeight in points. 2017-08-16 22:20:25 +02:00
and3md 5bd0ea1d10 Ignore percent layout size if there is only one widget. 2017-08-16 20:43:18 +02:00
and3md 9d8e314eac Fix #404, percent layout values implemented in V/H layout.
Only one widget with percent value allowed per layout.
2017-08-16 20:33:10 +02:00
V. Khmelevskiy 0bae4ec7bf Merge branch 'master' of https://github.com/buggins/dlangui into feature-propertymeta 2017-08-16 19:30:08 +07:00
V. Khmelevskiy c99b3976f2 Added basic property metadata generation, and extended dmledit example to demonstrate it. 2017-08-16 19:20:29 +07:00
Vadim Lopatin 40b267d6c2 implement renaming of tabs 2017-08-15 17:21:18 +03:00
Vadim Lopatin 075708fae3 Merge branch 'master' of github.com:buggins/dlangui 2017-08-14 10:10:28 +03:00
Vadim Lopatin 598d53abae fix #403 2017-08-14 10:09:05 +03:00
Vadim Lopatin e58f2a1abe fix #403 2017-08-14 10:05:55 +03:00
and3md f18002d732 Impemented window activity support and remove/apply focus when window activity change. 2017-08-11 22:21:17 +02:00
Tomoya Tanjo cc7879c7cd Enclose WinMain with unittest else block 2017-08-11 22:26:09 +09:00
and3md f735e5cea8 Fix window freeze after hide modal window (X11, Windows platforms). 2017-08-10 16:51:48 +02:00
Vadim Lopatin 993b6fd091 fix instance counter debug message 2017-08-10 17:29:38 +03:00
Vadim Lopatin 43ae1fd608 support fullscreen window creation on Win32 - #393 2017-08-08 12:53:17 +03:00
Vadim Lopatin 2ab32a5ecf fix #399 2017-08-08 10:31:17 +03:00
and3md 85ae6ebfb5 X11 Modal window support (solution based on windows code). 2017-08-04 22:05:17 +02:00
and3md 7b545992d4 File format tabs to spaces (coding style) 2017-08-04 21:43:18 +02:00
and3md 2cfbc27956 Full windowState support for X11. 2017-08-04 21:33:05 +02:00
Vadim Lopatin 1b6714b22b Merge pull request #397 from and3md/center_childs
Ability to center child windows on parent, other fixes
2017-08-04 11:59:19 +03:00
and3md fc770b5552 Fix build on X11, console and android. 2017-08-02 21:15:07 +02:00
and3md 1259ee92b4 Windows: Ability to center child window on show, handle window state change. 2017-08-02 19:47:00 +02:00
and3md aa7403462f Ability to center child window on show, some fixes in window state support. 2017-08-02 19:44:11 +02:00
and3md 7271cbe4b3 Ability to center child windows, handleWindowStateChange() improvments. 2017-08-02 19:40:32 +02:00
and3md 2cde7065f5 Remove unused imports. 2017-08-02 19:36:15 +02:00
Vadim Lopatin 58f03df242 Merge pull request #392 from shiche/translations
Russian translations improvment
2017-07-29 20:31:30 +03:00
Vitaly Livshic 7ae1bf8491 UIString from raw strings 2017-07-29 08:23:05 +03:00
Vitaly Livshic 3faaaacda8 Invalid translations fix 2017-07-24 21:26:31 +03:00
Vitaly Livshic 1091123c5c Russian translations improvment 2017-07-22 10:32:17 +03:00
and3md 3af97996ca showMessageBox() example fix. 2017-07-21 13:43:09 +02:00
and3md fb53e6f55c FileDialogFlag.ConfirmOverwrite flag support. 2017-07-21 13:42:07 +02:00
and3md bb539a4cd1 Removed not needed log. 2017-07-18 17:21:44 +02:00
and3md e2803a9abb Add charts module to package.d 2017-07-18 15:33:31 +02:00
and3md c6d6abc8dd New charts module with SimpleBarChart. 2017-07-18 15:33:21 +02:00
and3md 3fa0ed5c00 SimpleTextFormatter - add draw version with alignment 2017-07-18 15:31:40 +02:00
and3md 3816e39155 Add font change handler. 2017-07-18 15:31:18 +02:00
Denis Feklushkin c250ebdd6f external platforms support, some comments added, console compilation fix 2017-07-18 07:39:14 +07:00
and3md e8f7d2ded4 Fix dialogs to be compatible with new window size/content managment. 2017-06-29 20:30:43 +02:00
and3md c8ebb6bd68 Fix setWindowState() on windows, change resize behavior to be compatible with SDL. 2017-06-29 20:22:54 +02:00
and3md ab1ddc7529 Add MeasureWindow flag to Window helps if you want window with scrollbars but first measure content size. 2017-06-29 20:19:49 +02:00
and3md 2bebff9404 Restore window on SDL resets size and pos to values from window create on linux. 2017-06-29 20:17:03 +02:00
and3md f458c4d9d0 Grid: ability to set how many columns/rows get to measure widget size. 2017-06-29 20:15:17 +02:00
and3md 932430ffc2 Show popup need window update. 2017-06-26 19:26:41 +02:00
Vadim Lopatin 10bb4b4537 Merge pull request #380 from John-Colvin/patch-3
fix taking address of std{out,err} for dmd 2.075.0-b1
2017-06-26 18:17:41 +03:00
John Colvin 80daed61a0 fix taking address of std{out,err} for dmd 2.075.0-b1 2017-06-26 15:50:45 +01:00
and3md 9c0eaec5af Accidental _OPENGL_ENABLED value change. 2017-06-25 18:39:42 +02:00
and3md 3dc4d6679a Full implemented scrollbars events. 2017-06-25 17:10:52 +02:00
and3md df9346920e Fix theme change crash on X11. 2017-06-25 15:46:51 +02:00
and3md baec5e04b4 Support window resize/add scrollbars when content is too big on win32. 2017-06-25 15:45:14 +02:00
and3md b2676e83c2 Fix theme change when window scrollbar visible. 2017-06-25 15:35:48 +02:00
and3md 774a33aae4 Support window resize/add scrollbars when content is too big on X11. 2017-06-25 14:39:34 +02:00
and3md 27c8e70f5b Implemented window resize/add scrollbars when content is too big. Temporarily works only on SDL. 2017-06-25 14:14:03 +02:00
and3md 6980a9b2e3 Set LineEdit measured size to "aaaaa" size and EditBox to "aaaaa/naaaaa". 2017-06-25 13:56:37 +02:00
and3md 110fc9122e Change the way how some widgets are measured, minimumVisibleContentSize() for widgets which content can be bigger than widget size. 2017-06-25 13:53:23 +02:00
Vadim Lopatin 4c1e97c952 optimize dminer example; fix win32 opengl support; enable wireframe mode for drawing of meshes 2017-06-23 15:47:02 +03:00
and3md 8edcc9a1e7 Setting new items array must reset _selectedItemIndex to -1. 2017-06-21 17:45:00 +02:00
and3md 8ec1c3cad1 Fix ComboBox setting items #375 2017-06-20 20:51:48 +02:00
Vadim Lopatin 6f4a9636a0 update Rect docs - right/bottom information 2017-06-14 08:50:53 +03:00
Vadim Lopatin 8bcfb8dcdd #373 2017-06-13 11:57:08 +03:00
Vadim Lopatin 22d5bad2a9 #373 2017-06-13 11:45:51 +03:00
Vadim Lopatin 4f30af7e76 fix build error 2017-06-13 11:17:54 +03:00
Vadim Lopatin 61eb06cffc try to fix build error union initialization 2017-06-13 11:09:28 +03:00
and3md 98bb79ed59 SDL: Fixes to windowRect, remove not needed redraw after SDL_WINDOWEVENT_RESIZED 2017-06-11 06:37:47 +02:00
Vadim Lopatin 775a62da1c Merge pull request #370 from FreeSlave/x11_set_clipboard_selection
Support for setting clipboard selection to share with other applications on X11
2017-06-10 09:42:43 +03:00
Vadim Lopatin 84ee32c100 Merge pull request #369 from g4z3r/gl
old GL API fixes
2017-06-10 09:42:27 +03:00
Roman Chistokhodov d8fd35a111 Support for setting clipboard selection to share with other applications 2017-06-08 19:17:28 +03:00
gazer 3d4bf61bb8 GL_INVALID_OPERATION quickfix 2017-06-08 18:14:05 +03:00
gazer b07a6d54a7 old API fixes 2017-06-08 15:59:12 +03:00
Vadim Lopatin 47615966db Merge pull request #368 from FreeSlave/x11_additions
X11 loop cleanup, less redraws. Support for non-resizable windows, mi…
2017-06-08 08:52:30 +03:00
Roman Chistokhodov 9657e80f04 X11 loop cleanup, less redraws. Support for non-resizable windows, minimize, maximize and restore on X11. Add minimize, maximize and restore buttons to example1 2017-06-08 03:54:08 +03:00
gazer 1ca3ea4b27 get rid from 'Non-zero DrawBuf instance count when exiting: 1' message 2017-06-08 02:22:15 +03:00
gazer 4b7fa25579 getting legacy GL to work 2017-06-07 23:33:16 +03:00
gazer 167e129f00 platform fixes 2017-06-07 21:52:27 +03:00
Roman Chistokhodov 8ffbf625d5 Set utf window titles in X11 2017-06-07 15:54:29 +03:00
Vadim Lopatin 60ea89fb45 fix file dialog file and folder icons - close #326 2017-06-07 10:56:07 +03:00
Vadim Lopatin 950c0c26cb Merge pull request #365 from g4z3r/gl
GL optimizations
2017-06-06 09:16:14 +03:00
Vadim Lopatin d0636ffe1a deprecation of UIString constructors 2017-06-06 09:14:33 +03:00
gazer 2dcababb65 draw non-scaled textures with linear filtration to significantly decrease batches count 2017-06-05 21:24:13 +03:00
gazer 6970eb3120 delete unnecessary line shader program 2017-06-05 19:55:36 +03:00
Vadim Lopatin 03e66d9c3d #361 - fromRaw overload 2017-06-05 12:31:36 +03:00
Vadim Lopatin 77125ff563 Merge pull request #359 from g4z3r/gl
new batching implementation
2017-06-05 12:25:41 +03:00
Vadim Lopatin d25610bcfc Merge pull request #364 from FreeSlave/x11
Fix x11 version build. Temporarily build without opengl. Implement wi…
2017-06-05 12:24:27 +03:00
Vadim Lopatin 302777f951 Merge pull request #363 from FreeSlave/spawn_in_file_manager
Create dlangui.core.filemanager module and put showInFileManager ther…
2017-06-05 12:24:13 +03:00
Roman Chistokhodov bd6ed46cb2 Fix x11 version build. Temporarily build without opengl. Implement windowIcon setting for x11. Handling WM_DELETE_WINDOW event 2017-06-03 22:04:39 +03:00
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