Commit Graph

1663 Commits

Author SHA1 Message Date
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