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
Clark Moody
334dd09817
Pane Grid spacing applied prior to rounding
...
On low-DPI screens, the rounding order of operations made it impossible
to produce an odd-pixel spacing. Specifying 1, for instance, produced
zero space between panes.
This approach subtracts half the spacing from the first pane prior to
rounding and uses the whole spacing for the second pane size and
coordinate.
2020-05-26 16:24:18 -05:00
Héctor Ramón Jiménez
230bd6f747
Write documentation for new pane_grid API
2020-05-23 01:51:34 +02:00
Héctor Ramón Jiménez
2ab7341fa5
Implement State::with_content in pane_grid
2020-05-22 21:56:50 +02:00
Héctor Ramón Jiménez
32b9c1fdbd
Return new Split in pane_grid::State::split
2020-05-22 21:55:55 +02:00
Héctor Ramón Jiménez
c620e4dc4c
Implement State::get in pane_grid
2020-05-22 21:55:45 +02:00
Héctor Ramón Jiménez
f3d54a0f33
Expose Node and State::layout for PaneGrid
2020-05-22 21:55:31 +02:00
Héctor Ramón Jiménez
d1f2a18439
Implement Clone for pane_grid::State
2020-05-22 21:55:18 +02:00
Héctor Ramón Jiménez
ae5e2c6c73
Introduce Program and State
2020-05-21 04:27:31 +02:00
Héctor Ramón Jiménez
a1a5fcfd46
Refactor Viewport and Compositor
2020-05-20 20:28:35 +02:00
Héctor Ramón Jiménez
4aed0fa4b6
Rename window::Backend to Compositor
2020-05-19 20:01:55 +02:00
Héctor Ramón Jiménez
05af8d00d4
Draft new iced_graphics crate 🎉
2020-05-19 17:15:44 +02:00
Héctor Ramón Jiménez
d4743183d4
Draft first working version of iced_glow 🎉
2020-05-19 14:23:28 +02:00
Scott Harper
863714602c
Updated Radio layout/fns to match Checkbox
2020-05-15 11:27:24 +09:00
Héctor Ramón Jiménez
7565d294af
Fix PaneGrid not releasing split properly
2020-05-06 06:18:22 +02:00
Héctor Ramón Jiménez
98bc8cf2a7
Rename MouseCursor to mouse::Interaction
2020-04-30 08:16:38 +02:00
Héctor Ramón Jiménez
bb9ccc4f62
Remove inconsistent input module in iced_native
2020-04-30 05:04:45 +02:00
Héctor Ramón Jiménez
137664ca88
Move keyboard::Event to iced_core
2020-04-30 04:59:07 +02:00
Héctor Ramón Jiménez
d8b9e03481
Remove ButtonState
2020-04-30 04:54:49 +02:00
Héctor Ramón Jiménez
e55cd9652e
Split Input mouse event by ButtonState
2020-04-30 04:53:15 +02:00
Héctor Ramón Jiménez
e139aae143
Split Input keyboard event by ButtonState
2020-04-30 04:34:29 +02:00
Héctor Ramón Jiménez
61c707fe04
Merge branch 'master' into feature/canvas-interaction
2020-04-29 07:34:14 +02:00
Héctor Ramón Jiménez
ec712c8032
Move MouseCursor to iced_core
2020-04-29 03:23:02 +02:00
Héctor Ramón Jiménez
0509710cc5
Add Crosshair variant to MouseCursor
2020-04-29 03:14:59 +02:00
Héctor Ramón Jiménez
59403b6ca8
Remove OutOfBounds variant from MouseCursor
2020-04-29 03:11:15 +02:00
Héctor Ramón Jiménez
56dbd68326
Move reusable mouse types to iced_core
2020-04-28 03:11:01 +02:00
Ethan Pailes
da2ab420ce
document that img handle constructors guess fmt
...
This patch documents the fact that a couple of the image
handle constructors know how to guess the image format based
on the data that they are provided.
I had to dig through `iced` sources until I discovered that those
routines ultimately boil down to stuff like [image::load_from_memory][1]
from the `image` crate, so I thought I would save others the trouble
of doing the same reverse-engineering
[1]: https://docs.rs/image/0.23.4/image/fn.load_from_memory.html
2020-04-26 15:03:48 -04:00
Héctor Ramón Jiménez
3f4770fd28
Bump versions 🎉
2020-04-26 17:20:56 +02:00
Héctor Ramón Jiménez
0300b649d7
Make Font an associated type of text::Renderer
2020-04-23 22:17:11 +02:00
Héctor Ramón Jiménez
462ba3b2c8
Implement and expose Element::on_event
2020-04-18 21:32:04 +02:00
Héctor Ramón Jiménez
ae546a5b9d
Revert "Merge pull request #289 from hecrj/fix/cursor-events"
...
`winit` seems to produce `CursorEntered` and `CursorLeft` events after
wheel scrolling for no apparent reason (?). This causes annoying flickering when hovering some widgets on a scrollable.
I should investigate this further. We are rolling back the fix for the
time being.
2020-04-17 23:27:50 +02:00
Héctor Ramón Jiménez
4808fcbd7e
Bump versions 🎉
2020-04-15 08:58:14 +02:00
Héctor Ramón
ce65097834
Merge pull request #290 from AlisCode/aliscode/288/remove-unnecessary-static
...
Remove unnecessary 'static lifetimes on `Renderer` traits
2020-04-13 04:49:10 +02:00
Héctor Ramón Jiménez
5e47238489
Rename leftover TextInputWidget to Marker
2020-04-13 04:38:35 +02:00
Olivier Pinon
41f6a325e9
#288 Renamed XXXWidget to Marker
2020-04-12 01:20:40 +02:00
Olivier Pinon
f7d7ab1ba9
Remove unnecessary 'static lifetime on Renderer
2020-04-12 00:57:44 +02:00
Héctor Ramón Jiménez
f652e84187
Make cursor unavailable on leave in iced_winit
...
For now, we just set the cursor position to some negative coordinates.
This is a temporary hack until we are able to encode cursor
availability. Layers and/or multi-window support will make this
apparent.
2020-04-12 00:38:18 +02:00
Héctor Ramón
703beae05e
Merge pull request #268 from FabianLars/ctrl-del
...
implement ctrl + del on text-input
2020-04-07 04:39:16 +02:00
FabianLars
6ca97788b2
implement ctrl + del on text-input
2020-04-06 15:22:52 +02:00