Commit graph

375 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
2f02ca3248 Fix layout of a TitleBar without controls 2020-07-09 05:42:28 +02:00
Héctor Ramón Jiménez
ad19c1628d Fix docs of modifiers_keys in PaneGrid 2020-07-09 05:33:44 +02:00
Héctor Ramón Jiménez
2334c7d1d5 Stop tracking pressed_modifiers in PaneGrid 2020-07-09 05:28:42 +02:00
Héctor Ramón Jiménez
e3cd947437 Write documentation for new PaneGrid API 2020-07-09 05:26:11 +02:00
Héctor Ramón Jiménez
733ec6b2ea Fix default text size in TitleBar 2020-07-08 11:48:16 +02:00
Héctor Ramón Jiménez
f3dfaa2c43 Merge branch 'master' into feature/pane-grid-titlebar 2020-07-08 11:44:40 +02:00
Héctor Ramón Jiménez
dfeb3db003 Use default_font_size for TextInput widget 2020-07-06 23:58:15 +02:00
Héctor Ramón Jiménez
946bbd2683 Truncate Debug messages after 100 characters 2020-07-04 03:12:18 +02:00
Héctor Ramón
99a50d6b2f
Merge pull request #431 from hecrj/feature/pane-grid-splits
Splits iterator for `PaneGrid` and minor improvements
2020-07-01 22:44:37 +02:00
Héctor Ramón Jiménez
e8aeb86698 Use keyboard::ModifiersChanged in PaneGrid 2020-06-30 07:38:04 +02:00
Héctor Ramón Jiménez
e50c61f7ff Add unfocus method to pane_grid::State 2020-06-30 02:53:15 +02:00
Héctor Ramón Jiménez
cee8400663 Unfocus Pane in pane_grid on click outbounds 2020-06-30 01:02:39 +02:00
Héctor Ramón Jiménez
23f753e599 Introduce splits method in pane_grid::Node 2020-06-30 01:02:28 +02:00
Héctor Ramón Jiménez
cb530ccf2f Rename regions and splits in pane_grid::Node 2020-06-30 01:02:26 +02:00
Héctor Ramón Jiménez
f30a666dc8 Decouple cursor_position from Cache
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +02:00
Héctor Ramón Jiménez
b3c192a2e4 Make default text size configurable in Settings 2020-06-19 00:16:22 +02:00
Héctor Ramón Jiménez
7bc7b60321 Mention generic range in Slider documentation 2020-06-13 14:36:10 +02:00
Héctor Ramón Jiménez
c71d83fe0e Remove unnecessary type annotations in Slider 2020-06-13 14:34:23 +02:00
Héctor Ramón Jiménez
0b819de3e2 Make Slider value type generic 2020-06-13 14:17:41 +02:00
Sebastian Zivota
c3643eaf6d Add step member to slider widgets
Both the native and the web slider now have a member `step` to control
the least possible change of the slider's value. It defaults to 1.0
for all sliders and can be adjusted with the step method.
2020-06-11 00:18:24 +02:00
Héctor Ramón Jiménez
3cfe6e428b Lay out title text dynamically in TitleBar 2020-06-10 16:27:28 +02:00
Héctor Ramón
baa1389f71
Merge pull request #391 from bansheerubber/feature/move_cursor_to_end
Cursor Manipulation
2020-06-09 19:12:52 +02:00
Héctor Ramón Jiménez
49dbf2c146 Request a redraw only on relevant events 2020-06-09 15:45:57 +02:00
Héctor Ramón Jiménez
8b93c9cb6a Clarify leeway meaning in PaneGrid 2020-06-08 19:41:33 +02:00
bansheerubber
5260b3072a implemented hecrj's suggestion 2020-06-08 10:00:25 -07:00
Héctor Ramón Jiménez
ac7816e8ca Merge branch 'intuitive-pane-grid-resize' into feature/pane-grid-titlebar 2020-06-08 18:35:03 +02:00
Héctor Ramón Jiménez
172bd78a91 Fix PaneGrid documentation example 2020-06-08 18:34:41 +02:00
Héctor Ramón Jiménez
8493ccec7f Merge branch 'intuitive-pane-grid-resize' into feature/pane-grid-titlebar 2020-06-08 18:33:36 +02:00
Héctor Ramón Jiménez
dcc4bb77e9 Remove unused split_cache in pane_grid 2020-06-08 18:25:46 +02:00
Héctor Ramón Jiménez
be0cc2c780 Add leeway support to PaneGrid::on_resize 2020-06-08 18:25:23 +02:00
Héctor Ramón Jiménez
041cab0fa4 Resize PaneGrid without modifier keys 2020-06-08 18:11:29 +02:00
Duncan Freeman
4960a8827e
Add on_release message to Slider (#378)
* Add on_finish callback to Slider

* Fix formatting

* Rename Slider's on_finish to on_release, make the message simply an event without data

* Satisfy Clone impl requirement on Message in integration test

* Only call on_release after dragging a slider
2020-06-08 11:07:45 +02:00
bansheerubber
19c07da86f fixed formatting 2020-06-05 09:57:18 -07:00
bansheerubber
98cf9c455a added move_cursor_to 2020-06-05 09:19:46 -07:00
bansheerubber
0d119aa731 added value to move_cursor_to_end 2020-06-05 09:13:49 -07:00
bansheerubber
6a2c73d0e0 sketch of move_cursor_to commands 2020-06-05 08:58:34 -07:00
Héctor Ramón Jiménez
4dc5bffdfb Draft draggable and graphics logic for TitleBar 2020-06-05 14:02:29 +02:00
Héctor Ramón Jiménez
e8e656b330 Implement Layout::position 2020-06-05 14:00:31 +02:00
Héctor Ramón Jiménez
4e1e0e0890 Draft drawing logic for Content and TitleBar 2020-06-05 06:52:07 +02:00
Héctor Ramón Jiménez
a11bcf5af0 Draft first-class TitleBar in pane_grid 2020-06-04 07:13:38 +02:00
Imbris
490a437b2f Make Font an associated type of text_input::Renderer 2020-05-29 15:37:25 -04:00
Héctor Ramón
01a4d65404
Merge pull request #363 from Imberflur/text-clone
Make the Text widget Clone even if the Renderer isn't
2020-05-29 02:14:09 +02:00
Héctor Ramón
d3db055583
Merge pull request #354 from hecrj/feature/glow-renderer
OpenGL renderer and backend-agnostic graphics subcrate
2020-05-28 21:52:34 +02:00
Héctor Ramón Jiménez
709ed1f3f7 Fix iced_native mention of old window::Backend 2020-05-28 21:30:33 +02:00
Imbris
0a775191ab Loosen bounds on Text Clone impl 2020-05-27 22:12:38 -04:00
Héctor Ramón Jiménez
4aa0d7a13a Write documentation for iced_glutin 2020-05-28 02:57:03 +02:00
Héctor Ramón Jiménez
ef28347f1c Write documentation for new iced_winit API 2020-05-28 02:49:32 +02:00
Héctor Ramón Jiménez
508128436c Write documentation for new iced_native API 2020-05-28 02:04:31 +02:00
Clark Moody
858eafe22e Structured test cases 2020-05-27 14:24:33 -05:00
Clark Moody
9079014974 Tests for axis split 2020-05-26 16:47:29 -05:00