Commit Graph

1631 Commits

Author SHA1 Message Date
James Johnson 422517aff4 Caret movement 2018-01-11 13:02:13 -05:00
James Johnson bd721d590e Improved efficiency a bit 2018-01-11 12:40:32 -05:00
James Johnson bc40bbf561 Removed some redundant parts from findWrapLine 2018-01-11 12:37:20 -05:00
James Johnson 83a2f2ef5c Changed accumulation to work for both points and widths 2018-01-11 11:56:00 -05:00
James Johnson ce39c13e31 Don't horizontal scroll in word wrap mode 2018-01-11 11:36:38 -05:00
James Johnson 7c500bd57a drawExtendedArea 2018-01-11 11:26:21 -05:00
James Johnson e58538de60 Improved caret offset, put placeholder linespan into place 2018-01-11 10:10:33 -05:00
James Johnson d39fadd1d0 CaretRect in progress 2018-01-11 09:59:15 -05:00
James Johnson 72187063bd findWrapLine and getSpan added into the mix 2018-01-11 09:38:35 -05:00
James Johnson ad6d547812 Even better, scrolling 2018-01-11 09:19:02 -05:00
James Johnson 64dab5989e Working now 2018-01-11 08:55:00 -05:00
James Johnson 761a7bc821 Sort of working 2018-01-11 08:50:59 -05:00
James Johnson 8df39f232b Set need rewrap true by default 2018-01-11 08:23:07 -05:00
James Johnson 05a8dd7bdc Using WrapPoint[] 2018-01-11 08:20:01 -05:00
James Johnson e56d3c4df3 Version 2 starting implementation 2018-01-11 08:07:56 -05:00
Vadim Lopatin 29aa9ab6c2
Merge pull request #524 from and3md/text_fixes
Fixes for TextWidget/MultilineTextWidget
2017-11-30 11:41:05 +03:00
and3md bfd373a368 TextWidget/MultilineTextWidget: _measureSaver should also check maxLines 2017-11-29 10:44:12 +01:00
and3md b8c669f9d9 TextWidget/MultilineTextWidget fix multiline when maxWidth is set. 2017-11-29 10:33:01 +01:00
Doado a8b7e07be7 Removed typo in filedlg.d log message 2017-11-28 10:37:28 +00:00
and3md bfb5aea2b5 Fixed font attributes in ImageTextWidget and derived classes. 2017-11-18 20:05:23 +01:00
Vadim Lopatin 429db1b52f
Merge pull request #516 from and3md/logwidget_style
Add style for LogWidget
2017-11-14 18:16:13 +03:00
Denis Feklushkin 9cbac64292 external config flags removed, users should add it to external configs 2017-11-14 16:07:06 +07:00
and3md 0c1af2b7b3 Add style for LogWidget. 2017-11-12 18:43:39 +01:00
Denis Feklushkin 9292783204 orientation const added 2017-11-12 20:45:13 +07:00
Denis Feklushkin 391d9959b3 dirty fix for #510 2017-11-10 13:14:01 +07:00
Denis Feklushkin d63cb402e3 Widget: prevents using text() without override 2017-11-08 14:11:52 +07:00
Denis Feklushkin 1a76d96452 InputBox: access to _text fix 2017-11-08 14:02:40 +07:00
Denis Feklushkin bd4e4a1ff6 Widget.text() is const 2017-11-07 17:09:05 +07:00
vennos5 565d0ab133 make glsupport.d compile with ldc2 2017-11-06 22:08:00 +02:00
Vadim Lopatin f707ce3e83
Merge pull request #505 from denizzzka/const_adding
Const adding, bulk 2
2017-11-05 19:21:18 +03:00
Denis Feklushkin 380762c8bf windowCaption() const added 2017-11-03 14:07:11 +07:00
Denis Feklushkin 61a30cee60 mainWidget() inout added 2017-11-03 13:55:46 +07:00
and3md d0aba02426 FileDialog: add FILE_DIALOG_GRID style to simplify change only FileDialog grid font. 2017-10-31 19:11:35 +01:00
Denis Feklushkin 925224fdf8 class Button text() const 2017-10-27 15:21:15 +07:00
Denis Feklushkin 6db5d2cece childCount() const 2017-10-26 22:05:37 +07:00
Denis Feklushkin 9c85ab7deb child(int) works with const widget objects too 2017-10-26 22:00:51 +07:00
Denis Feklushkin ead1cff962 const added 2017-10-26 20:44:02 +07:00
Vadim Lopatin fcb5565f4c Merge pull request #497 from denizzzka/again_adding_WIDGET_STYLE_CONSOLE
Separates BACKEND_CONSOLE flag and console-style widgets flag, second attempt
2017-10-24 19:56:07 +03:00
Denis Feklushkin 02d8833cda ldc build fix-2 2017-10-22 15:51:41 +07:00
Denis Feklushkin 0984376266 ldc build fix 2017-10-22 14:22:55 +07:00
Denis Feklushkin 3a97a60ee8 Merge branch 'master' of https://github.com/buggins/dlangui into again_adding_WIDGET_STYLE_CONSOLE 2017-10-20 06:35:57 +07:00
Denis Feklushkin 0ab9eb8821 drawChar is abstract 2017-10-20 06:35:45 +07:00
Vadim Lopatin 62ceed2870 drawbuf pixel storage optimizations - don't use GC: #499 2017-10-19 14:21:25 +03:00
dayllenger c074007ad2 CalcSaver template, optimize TextWidget measure 2017-10-18 11:16:28 +03:00
dayllenger 1c940fcc8e optimize FrameLayout: do not layout when frame is invisible 2017-10-18 11:15:58 +03:00
Vadim Lopatin 4a547d94e7 add dragon curve example to dub.json 2017-10-18 10:36:58 +03:00
Denis Feklushkin fe53b78ba3 types.d from upstream 2017-10-18 07:07:36 +07:00
Denis Feklushkin da5b87c418 BACKEND_CONSOLE -> WIDGET_STYLE_CONSOLE 2017-10-18 07:01:43 +07:00
Denis Feklushkin 773211e349 enum flag added, excludedSourceFiles changed 2017-10-18 06:47:22 +07:00
Denis Feklushkin 4955435346 Merge branch 'master' of https://github.com/buggins/dlangui 2017-10-18 06:40:36 +07:00