Commit Graph

1754 Commits

Author SHA1 Message Date
Grim Maple a2572ecdaa Improve Rect and Point structs 2022-10-11 20:52:43 +03:00
Grim Maple b05d5a6126 Prevent children from recieving extra mouse events 2022-10-08 22:26:51 +03:00
Grim Maple 91fbca984e Switch to undead xml 2022-10-08 21:27:24 +03:00
Grim Maple c9ccaad2ed Add multisampling support 2022-07-26 21:54:25 +03:00
V. Khmelevskiy a65085d8ad Migrate OpenGL/SDL2/FreeType to bindbc bindings 2022-05-24 16:13:36 +03:00
Grim Maple 68eba11e46 Fix linux build 2022-04-16 13:49:25 +03:00
Grim Maple d19ff3c042 Fix opengl support, switch to bindbc 2022-04-16 13:49:04 +03:00
Grim Maple d2622d54bf Fix lists.d for dlangide compilation 2022-04-16 13:48:22 +03:00
Grim Maple 6bfb78e02d Fix deprecations 2022-04-16 13:47:30 +03:00
Vadim Lopatin e7dfdd69eb fix deprecation std.datetime.StopWatch 2020-07-28 16:24:38 +03:00
Vadim Lopatin 687027fe9c fix build error 2020-07-28 12:59:26 +03:00
Vadim Lopatin 7893b9f984
Merge branch 'master' into master 2020-07-28 12:55:58 +03:00
Vadim Lopatin 79434226cc
Merge pull request #606 from seoyoungjin/seoyoungjin
TTC(truetype collection) file extention and OEM charset face name on Windows
2020-07-28 12:11:35 +03:00
Vadim Lopatin 603b519040
Merge pull request #605 from emil-perhinschi/master
resolved some warnings
2020-07-28 12:10:51 +03:00
Vadim Lopatin 84324e417e
Merge pull request #603 from Maeriden/maeriden
Fix for call to to!string and deprecation warnings
2020-07-28 12:10:13 +03:00
Vadim Lopatin 1022a8384d
Merge pull request #601 from NotSpooky/patch-1
Fix compilation for DMD 2.090
2020-07-28 12:09:53 +03:00
Seo Youngjin 925401b26a Division by 0 error in Font::measureText() with MathJax_Vector and
MathJax_Vector-Bold fonts.
2020-07-21 21:41:07 +09:00
Seo Youngjin cd0415e79a OEM charset face name on Windows 2020-07-16 13:09:24 +09:00
Seo Youngjin b5f42fb807 TTC file added to fontmanger
- fontmanager
1. Truetype collection(*.ttc) added
2. font number double counting fixed
- compile error fixed
2020-07-16 13:08:59 +09:00
Emil Nicolaie Perhinschi c288a3f674 resolved some warnings (DIP25 and one place where variables were shaddowing each other 2020-06-15 23:54:59 +03:00
Tyler Crandall 271da0c901 Update Dependency Versions and fixed deprecated features 2020-04-02 03:02:01 -06:00
Christian Durán 0907817186 Fix unistd dup usage 2020-03-14 11:18:35 -06:00
Daniele Bondì bbfb1ce96f Fixed passing argument to to!string (it cannot handle inout args - bug in phobos?) 2020-02-29 22:59:18 +01:00
Daniele Bondì e9b0a20482 Fixed deprecation warning about variable shadowing 2020-02-29 22:40:20 +01:00
Daniele Bondì 1e67893256 Fixed deprecation warning about foreach index being implicitly converted from size_t to int 2020-02-29 22:36:24 +01:00
Daniele Bondì 1c592c4664 Fixed deprecation warning about Nullable's alias this 2020-02-29 22:31:18 +01:00
Daniele Bondì 9c2c6a6fbb Fixed deprecation warning about union fields initialization 2020-02-29 22:25:16 +01:00
Christian Durán Carvajal cc66329d48
Fix compilation for DMD 2.090 2020-01-17 12:05:02 -06:00
aferust 4d21e9d340 fix my stupitidy 2020-01-13 18:57:49 +03:00
aferust 6abd917549 @property bool enabled() 2020-01-13 16:30:46 +03:00
aferust 49555d43d6 fix some white spaces 2020-01-13 11:10:24 +03:00
aferust 3b3ed044c8 SpinCtrl 2020-01-13 10:56:19 +03:00
V. Khmelevskiy 9e831ea0aa Fix broken build 2019-02-20 19:58:42 +07:00
V. Khmelevskiy c79fca652a Android basic keyboard input support (incl. virtual keyboard)
Normal English input works fine. Punctuation and navigation are partially supported.
IME from virtual keyboard doesn't work at all, seems like the native activity wrapper(android_app class) issues after Android 4.0.
2019-02-18 20:24:56 +07:00
Jasmine Hegman dd1c917de5 Added functionality to close tabs with middle mouse click when close button is enabled. 2019-01-01 05:40:44 -07:00
Arne Marschall c24c544f7e Fixed handling of modfier keys, see issue #582 2018-12-03 17:29:46 +01:00
Vadim Lopatin 317599ce87 fix SDL configuration build 2018-11-26 12:11:32 +03:00
Vadim Lopatin 60159c61e2 Derelict GL3 upgrade - fix #579 2018-11-26 09:43:15 +03:00
Vadim Lopatin fb58a078d3 fix splitlines import 2018-10-05 09:23:44 +03:00
Vadim Lopatin 9cda6eac3a fix deprecatons 2018-10-05 09:13:49 +03:00
Ivo-Maffei 2b9345ee13
Adding method to remove all bars from a chart 2018-08-29 11:44:41 +02:00
V. Khmelevskiy bcb52bc442 Basic rounded rectangle implementation for DrawBuf 2018-04-25 09:37:27 +07:00
Vadim Lopatin 4132b1d152
Merge pull request #565 from triplejam/rangeviofix2
Fix for #534 - Simpler way
2018-04-23 09:20:11 +03:00
Vadim Lopatin e268886fef
Merge pull request #564 from Superbelko/feature-bezier
basic bezier curves with sample
2018-04-23 09:18:42 +03:00
James Johnson 90a55ea21f Prevent range violation 2018-04-20 06:25:24 -04:00
V. Khmelevskiy 94161b4924 basic bezier curves with sample 2018-04-20 13:45:44 +07:00
James Johnson 07fcfcc834 Allow individually named DockHost 2018-04-10 20:06:11 -04:00
and3md dd4eed5ed2 Fix AppFrame after add popup menus to all widgets. 2018-03-08 19:09:50 +01:00
and3md c971b68655 Fix main menu after popup menu fix. 2018-03-08 19:09:41 +01:00
and3md b81e34b236 Closing the popupMenu by clicking outside, should not pass the event to the control under the mouse. 2018-03-08 19:09:26 +01:00
and3md 0048cf482b Possibility to add popup menu to any widget. 2018-03-08 19:09:06 +01:00
and3md 4e345e1ceb Fix setting default filename in FileDialog. 2018-02-06 13:50:51 +01:00
Vadim Lopatin 0bff4c9778
Merge pull request #549 from and3md/clipboard_sdl
Normalize end of line characters when get text from clipboard in SDL
2018-02-04 12:38:44 +03:00
and3md e4606278f2 Normalize end of line characters when get text from clipboard in SDL 2018-02-03 19:40:08 +01:00
and3md 28611c82a7 Possibility to override cursor type for entire window. 2018-02-03 16:46:49 +01:00
Vadim Lopatin 31a342d700
Merge pull request #540 from dayllenger/master
Optimize vertex data adding with Appender, remove some deprecations
2018-02-01 08:46:26 +03:00
Vadim Lopatin d9736cf3f6
Merge pull request #544 from and3md/sdl_fixes2
Small SDL fixes
2018-01-29 08:10:48 +03:00
Vadim Lopatin 978790b8f3
Merge pull request #543 from and3md/fix_no_opengl
Allow disable OpenGL when you choose backend.
2018-01-29 08:10:39 +03:00
dayllenger 66468a2167 use appender also for batches 2018-01-28 18:40:27 +03:00
and3md aecc6ba7f9 Do not import OpenGL when its disabled. 2018-01-27 18:21:18 +01:00
and3md 31bf002515 sdlUpdateScreenDPI() should return false when DPI override is set. 2018-01-27 18:21:09 +01:00
and3md e7ec03d084 Allow disable OpenGL when you choose backend. 2018-01-27 17:46:57 +01:00
and3md ba3844941e Ability to change min visible text in edit. 2018-01-27 17:37:33 +01:00
dayllenger 430027cd78 use Appender for GL queue buffer 2018-01-26 01:11:32 +03:00
James Johnson cfff2982e8 Moved back to EditBox 2018-01-12 12:00:38 -05:00
James Johnson 435c10c662 Added comments, renamed variable 2018-01-12 11:14:57 -05:00
James Johnson f40ae806da Whitespace marks 2018-01-12 09:47:43 -05:00
James Johnson 87f4a8a918 Small additions from previous implementation 2018-01-12 09:10:29 -05:00
James Johnson 278ecc75eb Word wrap mouse offset 2018-01-12 08:09:37 -05:00
James Johnson d2caa2a1a7 EnsureCaretVisible for word wrap 2018-01-12 07:17:09 -05:00
James Johnson 3463fec39d Made function for filling rect in word wrap 2018-01-11 19:55:28 -05:00
James Johnson d28eab7e9d highlightLineRange implemented like last 2018-01-11 18:22:39 -05:00
James Johnson 71931c8e43 Basic implementation for highlighting text selection in word wrap 2018-01-11 17:41:18 -05:00
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