and3md
72da1239bb
FileDialog: Fix open directory by "Open" button - get the name from EditLine not activate selected item.
2017-09-07 19:40:54 +02:00
and3md
20e42ccfac
Implemented #422 - Possibility to set default window icon for new windows.
2017-09-07 18:55:31 +02:00
Vadim Lopatin
ce633a7675
change sort order of entries in file dialog by clicking on column header - close #409
2017-09-07 17:03:50 +03:00
Vadim Lopatin
9138d35a10
clear selection on home/end key if needed - close #421
2017-09-07 12:02:24 +03:00
Vadim Lopatin
cb8193f663
support asArray for sorting items - for buggins/dlangide#250
2017-09-07 10:53:18 +03:00
Vadim Lopatin
27f170a7b9
filename edit box layout - fill parent
2017-09-06 17:34:39 +03:00
Vadim Lopatin
ff5adbce0e
fix tab handling
2017-09-05 12:04:33 +03:00
Vadim Lopatin
f7c8aca1ee
editors: implement replace #178
2017-09-05 12:03:02 +03:00
Vadim Lopatin
ddf9b82a18
editors find / replace enhancements
2017-09-05 10:27:04 +03:00
Vadim Lopatin
b65fa61272
fix Float settings combobox behavior
2017-09-05 10:24:44 +03:00
Vadim Lopatin
a40eeb66af
add findNext / findPrev editor actions, shortcuts F3 / Shift+F3 #178
2017-09-05 10:01:01 +03:00
Vadim Lopatin
3ea66645b8
find/replace in editors; #178 #47
2017-09-04 18:07:38 +03:00
Vadim Lopatin
cfb0e63145
search result highlight - #178
2017-09-04 17:42:55 +03:00
Vadim Lopatin
7312212914
fix build error
2017-09-04 16:23:54 +03:00
Vadim Lopatin
bad404400f
find/replace in editors, continue; #178
2017-09-04 16:21:28 +03:00
Vadim Lopatin
c48b097d22
fix #418 - directory selection in FileDialog
2017-09-04 14:51:30 +03:00
Vadim Lopatin
7da5ca6108
fix for support autoindent at first line
2017-09-04 14:33:32 +03:00
Vadim Lopatin
62a58b8bf5
Merge branch 'master' of github.com:buggins/dlangui
2017-09-04 14:16:01 +03:00
Vadim Lopatin
23d4a7406b
fix #416 - editor whitespace marks for lines containing whitespace only
2017-09-04 14:12:22 +03:00
John Colvin
fb4b1310da
remove trailing whitespace
2017-09-04 12:09:58 +01:00
John Colvin
9506a0f70b
register TabWidget
2017-09-04 11:48:08 +01:00
Vadim Lopatin
3181cbef09
flags processing for AltGr text input #414
2017-09-04 12:33:07 +03:00
Vadim Lopatin
02037974c5
rework modifier keys handling for #414
2017-09-04 12:18:58 +03:00
John Colvin
3617339405
avoid crashing on files that don't stat, e.g. broken symlinks
2017-08-31 23:12:39 +01:00
Vadim Lopatin
ecdaa7287f
Merge branch 'master' of github.com:buggins/dlangui
2017-08-31 11:44:15 +03:00
Vadim Lopatin
03a87383eb
resources import with path - step 1 for better resource/different DPI management; is possible after import with path is fixed in DMD on windows
2017-08-31 11:43:57 +03:00
John Colvin
475eefa48d
consider FileMustExist for file open dialog
2017-08-30 16:38:20 +01:00
Vadim Lopatin
a1aeaefb07
for dlangide popup measure
2017-08-30 09:28:28 +03:00
Vadim Lopatin
fdd5ff11cd
fix DPI detection on SDL backend
2017-08-29 15:27:52 +03:00
Vadim Lopatin
5e47ce1ca6
Merge branch 'master' of github.com:buggins/dlangui
2017-08-28 13:21:24 +03:00
Vadim Lopatin
31495c01b1
reduce tree item indent
2017-08-28 13:20:21 +03:00
Vadim Lopatin
a2f05b2c48
fix theme changes
2017-08-28 13:14:18 +03:00
Vadim Lopatin
fa1654887b
fix theme update; fix dark theme
2017-08-28 11:29:28 +03:00
Vadim Lopatin
b84498ea4f
#242 additional change
2017-08-25 19:52:41 +03:00
Vadim Lopatin
c16c69c344
trying to fix crash in FileDialog on failed opening of directory
2017-08-25 17:58:23 +03:00
Vadim Lopatin
9244f8aaed
trying to fix theme font changes apply
2017-08-25 17:11:57 +03:00
Vadim Lopatin
1ccf23a7ff
fix tree item label padding
2017-08-25 11:18:03 +03:00
Vadim Lopatin
31d2dcc3ab
Merge pull request #406 from lemming-life/master
...
StringListWidget item highlight via values from keys
2017-08-23 13:43:27 +03:00
and3md
7d2479adc8
Second scrollbar bug fix - dlangide 236 ensure _pageUp/_pageDown is Visible before layout()
...
_pageUp/_pageDown has sometime Visibility.Gone and then layout() not work. Maybe this condition should be removed from Widget.layout()
2017-08-22 18:40:24 +02:00
and3md
e94e89d4d7
ListWidget - scrollbar.layout() after updateItemPositions() is needed by ComboBox.
2017-08-19 21:10:34 +02:00
and3md
d394cfd8ac
Complete fix dlanguide 236 scrollbar bug.
2017-08-19 20:53:42 +02:00
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
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
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
Vadim Lopatin
ab05bf5340
update dark theme; fix drawable overriding in styles/themes
2016-10-10 17:12:52 +03:00
Vadim Lopatin
e59c6fad2e
fix GroupBox crash on theme change
2016-10-10 16:12:17 +03:00
Vadim Lopatin
a6404a70d2
fix theme; better example1
2016-10-10 15:14:04 +03:00
Vadim Lopatin
64a74bb277
fix theme; fix slider style
2016-10-10 14:10:46 +03:00
Vadim Lopatin
3dc06f6057
fix default theme; fix groupbox; better example1
2016-10-10 13:45:22 +03:00
Vadim Lopatin
36eda44f3d
GroupBox widget implemented
2016-10-10 12:36:09 +03:00
Vadim Lopatin
2c909b2c83
fix default theme - better TAB control; disable main menu toggle by single Alt press for non-windows
2016-10-10 10:25:24 +03:00
Vadim Lopatin
a210978161
cleanup console state after console app exiting
2016-10-10 09:14:51 +03:00
Vadim Lopatin
c5e2636157
add SliderWidget - implement #300
2016-10-06 15:13:42 +03:00
00schneider
2da2f24f58
Fix formatting (use spaces instead of tabs)
2016-10-02 09:52:31 +02:00
00schneider
d4fb6b8b6b
Call correctCaretPos() after keyboard navigation
...
If the up/down arrow keys were used for keyboard navigation in a
multiline editbox, the position of the caret would become invalid
because it was not updated to fit in the new line. This caused
incorrect behaviour when entering text after such navigation
(ie replacing text when it should have appended).
2016-10-02 09:45:09 +02:00
Vadim Lopatin
6328b11286
win32 only hack - custom window message handler
2016-09-26 17:24:17 +03:00
Vadim Lopatin
bf22bde272
fix issue #294
2016-09-15 13:31:21 +03:00
Vadim Lopatin
24b0a4baec
update mono-d linux project files
2016-09-14 11:38:49 +03:00
Vadim Lopatin
3f9cff6414
color map for linux console
2016-09-14 11:32:22 +03:00
Vadim Lopatin
60edec10bf
fix console theme
2016-09-13 16:50:28 +03:00
Vadim Lopatin
62a1a156b9
console window caption on windows
2016-09-13 16:08:06 +03:00
Vadim Lopatin
380bc94f19
console backend - support async event queue, timers, tooltips
2016-09-13 16:00:29 +03:00
Vadim Lopatin
5fc7825c82
cursor type support in console apps
2016-09-13 15:08:10 +03:00
Vadim Lopatin
969148ad26
console mode support fixes
2016-09-13 10:33:33 +03:00
Vadim Lopatin
d3a4f7df02
fixes for console mode; close issue #292
2016-09-12 12:15:27 +03:00
Vadim Lopatin
b5f4bc38eb
console theme improvements
2016-09-12 11:20:46 +03:00
Vadim Lopatin
3bb6d95cbb
fix console mode parent theme loading
2016-09-12 10:45:43 +03:00
Vadim Lopatin
79790c0654
use core.sys.windows instead of 3rdparty/win32
2016-09-12 09:19:08 +03:00
Vadim Lopatin
50ba103dbc
theme fixes and editor support fixes for console backend:
2016-09-09 12:34:56 +03:00
Vadim Lopatin
3f6e71390c
fix console theme - better buttons
2016-09-09 11:13:42 +03:00
Vadim Lopatin
16a5e0be55
fix editor cursor positioning by mouse - for console mode
2016-09-09 10:31:20 +03:00
Vadim Lopatin
8abed864d1
fix grid styles in console mode
2016-09-09 10:25:52 +03:00
Vadim Lopatin
9b40d4cd10
fix lingle line edit right arrow while in end of line
2016-09-09 09:20:35 +03:00
Vadim Lopatin
9498054caa
fix theme
2016-09-09 09:13:55 +03:00
Vadim Lopatin
f6b2cc434e
fix editor caret blinking in gui mode
2016-09-09 09:01:09 +03:00
Vadim Lopatin
6cde450fee
fix console theme and drawing
2016-09-08 22:37:55 +03:00
Vadim Lopatin
7df1155322
fix console theme
2016-09-08 21:20:32 +03:00
Vadim Lopatin
014935fd96
fix window close handling in console apps
2016-09-08 19:22:09 +03:00
Vadim Lopatin
a71cc0368c
fix warnings
2016-09-08 18:58:48 +03:00
Vadim Lopatin
857ddc762c
console theme fixes for issue 93
2016-09-08 16:32:25 +03:00
Vadim Lopatin
5c8f8b2c8a
theme for console app
2016-09-08 15:09:26 +03:00
Vadim Lopatin
47a58af6cb
Console Backend for linux and windows - #293
2016-09-08 14:36:58 +03:00
Vadim Lopatin
724d02b73f
fix Android builds
2016-08-25 16:41:28 +03:00
Vadim Lopatin
1792d8697b
fix skybox
2016-08-25 14:40:22 +03:00
Vadim Lopatin
b7711852b1
allow # comment in embedded resource list files
2016-08-25 14:40:01 +03:00
Vadim Lopatin
21964d7695
fix non-opengl build
2016-08-25 13:28:22 +03:00
Vadim Lopatin
4bca147017
Scene3d: SkyBox support working - close #290
2016-08-25 13:25:21 +03:00
Vadim Lopatin
40dd1148dd
Scene3d SkyBox support, part 1
2016-08-25 11:40:19 +03:00
Vadim Lopatin
737ddfbfbc
Scene3d engine - fog support; miner-d example fixes for fog
2016-08-17 12:29:20 +03:00
Vadim Lopatin
13cad97c2e
DMiner rework - optimization
2016-08-17 09:19:56 +03:00
Vadim Lopatin
a2cfbf8f43
Merge branch 'master' of github.com:buggins/dlangui
2016-08-17 09:19:15 +03:00
Vadim Lopatin
8333b1eb7d
miner-d fixes
2016-08-15 09:54:55 +03:00
Tomoya Tanjo
e88169d1fc
Remove warning for x11 build
2016-07-30 09:39:45 +09:00
Vadim Lopatin
f4741bf297
close #282
2016-07-27 08:36:54 +03:00
Vadim Lopatin
83045cc1d8
close #285
2016-07-27 08:25:12 +03:00
Christian Köstlin
17fecf7f30
typo
2016-07-20 00:28:16 +02:00
Vadim Lopatin
06c3b7b735
dom render
2016-07-05 15:57:15 +03:00
Vadim Lopatin
63d052b782
DOM render
2016-07-05 10:23:36 +03:00
Vadim Lopatin
b6875df3d8
fix build error on DMD x64
2016-07-01 16:01:43 +03:00
Vadim Lopatin
20f3f26ea1
optimize OpenGL backend -- use batch drawing; close #271
2016-07-01 14:54:58 +03:00
Vadim Lopatin
fef5858955
optimize OpenGL backend -- use batch drawing; part 5 for #271
2016-07-01 13:17:56 +03:00
Vadim Lopatin
cd4f101723
optimize OpenGL backend -- use batch drawing; part 4 for #271
2016-07-01 12:31:56 +03:00
Vadim Lopatin
20e9db43f7
optimize OpenGL backend -- use batch drawing; part 3 for #271
2016-07-01 11:29:46 +03:00
Vadim Lopatin
f7cfc10bba
optimize OpenGL backend -- use batch drawing; part 2 of #271
2016-06-29 09:54:04 +03:00
Vadim Lopatin
484ee4b60c
optimize OpenGL backend -- use batch drawing; part 1 of #271
2016-06-29 09:33:09 +03:00
Vadim Lopatin
9880447987
shortcuts and actions handling signals in widgets; close #189
2016-06-28 17:30:49 +03:00
Vadim Lopatin
f68cce12b1
triple mouse click support; select whole line on mouse triple click - close #193
2016-06-28 15:47:34 +03:00
Vadim Lopatin
6b3b1cd62f
parseML\!WidgetType should return WidgetType
2016-06-28 14:36:46 +03:00
Vadim Lopatin
9f52be92b8
dotted pattern fill support, tab positions marks support
2016-06-28 14:20:02 +03:00
Vadim Lopatin
2f5a481d2e
implement part 1 of #267 - tab position marks in editors
2016-06-08 16:24:29 +03:00
Vadim Lopatin
76a631ebff
implemented #265
2016-06-08 09:48:39 +03:00
Vadim Lopatin
7293b917c4
key flags mask
2016-06-06 11:27:20 +03:00
Vadim Lopatin
803a105b31
logger enhancements
2016-05-27 10:31:27 +03:00
Vadim Lopatin
9ef54524db
update default theme
2016-05-25 14:32:22 +03:00
Vadim Lopatin
50e2f08049
fixes
2016-05-20 13:19:27 +03:00
Vadim Lopatin
60a6ed5ac3
window state and position change support for win32 -- issue #258
2016-05-19 11:59:21 +03:00
Vadim Lopatin
5021141a88
window state and state change and signal support in base platform class -- issue #258
2016-05-19 11:08:22 +03:00
Vadim Lopatin
7c7b5df51c
Rename SwitchWidget to SwitchButton - close issue #235
2016-05-18 15:38:17 +03:00
Vadim Lopatin
5f6c0ddf3e
fix #264 -- system defined doubleclick time
2016-05-18 15:31:43 +03:00
Vadim Lopatin
8a7fec4674
fix menu checkboxes and radio buttons
2016-05-18 14:02:38 +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
Vadim Lopatin
b728a32b80
disable extra logging
2016-05-18 11:49:12 +03:00
Vadim Lopatin
a855982cd4
fix scrollbar integer overflow on big positions - close #256
2016-05-18 11:48:10 +03:00
Vadim Lopatin
08b9461815
workaround for crash on mouse event in list when layout is not yet called - close #259
2016-05-18 11:30:55 +03:00
Vadim Lopatin
e7e32db3be
fix moving focus out of disabled focused widget - close #262
2016-05-18 11:21:48 +03:00
Vadim Lopatin
977bfd5270
support distinct left and right ctrl/shift/alt/win
2016-05-18 10:58:09 +03:00
Vadim Lopatin
b6395253a0
fix accelerator map search; fix editor ctrl+shift+ up / down selection
2016-05-18 10:06:03 +03:00
Vadim Lopatin
bc25586223
fix for issue #261 -- better matching of key flags, better accelerator handling
2016-05-18 09:33:16 +03:00
Vadim Lopatin
ac4593b8f9
fix for issue #261 -- better matching of key flags
2016-05-18 08:47:05 +03:00
Cedric Schneider
da7a1df886
FileDialog: Improve directory selection
...
If you select a directory but do not open it and then hit the "Select Directory" button to close the dialog the open path would be given as result instead of the selected directory.
This change breaks backwards compatibility insofar that the "path" property you would use to access the selected path in OpenDirectory dialogs is no longer the path the user chose, but instead the parent directory of the path the user chose.
2016-05-07 23:12:45 +02:00
Cedric Schneider
d6011aa5e4
FileDialog: Flag to show hidden files
2016-05-07 22:56:22 +02:00
Vadim Lopatin
4e2addbcd0
Merge branch 'master' of github.com:buggins/dlangui
2016-05-04 09:17:35 +03:00
Vadim Lopatin
56658e2802
fix win32 build with older compiler (w/o core.sys.windows)
2016-05-04 09:17:17 +03:00
FreeSlave
07d2b0cf07
Fix segfault when MenuItem does not have Action
2016-04-29 08:38:37 -04:00
Vadim Lopatin
38899267f1
Fix Win32 platform multiple windows OpenGL context usage; -- dlangide#151
2016-04-27 11:56:56 +03:00
Vadim Lopatin
29db6b73a5
fix EditLine ENTER key handling - close #248
2016-04-26 11:12:34 +03:00
Vadim Lopatin
84dca765d9
fix warning
2016-04-25 13:50:14 +03:00
Vadim Lopatin
13ee465cef
fix lighting
2016-04-25 13:39:46 +03:00
Vadim Lopatin
b912b6ba83
fixes
2016-04-25 09:59:15 +03:00
Marco Leise
02ee3ec7bc
Minimal error reporting for SDL_Init
2016-04-23 01:49:59 +02:00
Vadim Lopatin
155607f188
implement #245 - TOUCH_MODE flag; true for Android
2016-04-22 14:53:43 +03:00
Vadim Lopatin
01f82d6725
support animation status on Android platform
2016-04-22 14:46:15 +03:00