Héctor Ramón Jiménez
3a327e08e9
Rename Empty widget to Space
2019-12-30 21:33:27 +01:00
Héctor Ramón Jiménez
8426bf953c
Implement Empty widget
...
It can be useful if you want to fill some space with nothing.
2019-12-30 19:20:59 +01:00
Héctor Ramón Jiménez
7163e1d8b6
Implement Default for iced_wgpu::Primitive
2019-12-30 19:17:00 +01:00
Héctor Ramón Jiménez
bf74e6e7d4
Implement Default for MouseCursor
2019-12-30 19:16:46 +01:00
Héctor Ramón Jiménez
4b86c2ff98
Use crates version of surf as a dev dependency
2019-12-28 12:21:06 +01:00
Héctor Ramón Jiménez
b1f89699b4
Fix Command::batch documentation
2019-12-28 12:19:04 +01:00
Héctor Ramón Jiménez
62474d0e75
Use personal fork of winit until 0.20 lands
...
Fixes #135
2019-12-24 02:56:12 +01:00
Héctor Ramón
8fcf7ccaa7
Merge pull request #134 from hecrj/fix/invisible-svg-panic
...
Avoid rasterizing SVG when a dimension is 0
2019-12-21 23:53:01 +01:00
Héctor Ramón Jiménez
d78ae3c852
Avoid rasterizing SVG when a dimension is 0
2019-12-21 08:16:36 +01:00
Héctor Ramón Jiménez
2ec0a43c4a
Fix sneaky bug with padding in flex layout
2019-12-21 07:18:20 +01:00
Héctor Ramón Jiménez
26ed518fbe
Fix scroll percentage calculation in Scrollable
2019-12-21 07:09:50 +01:00
Héctor Ramón Jiménez
c04dff99da
Fix sneaky overflow in TextInput when pasting
2019-12-21 05:49:09 +01:00
Héctor Ramón Jiménez
938177e225
Move cursor position to start on left boundary click
2019-12-21 05:36:36 +01:00
Héctor Ramón Jiménez
36e7ac2048
Fix cursor positioning in TextInput on overflow
2019-12-21 05:30:48 +01:00
Héctor Ramón Jiménez
453d2d5bb0
Implement Command::map
2019-12-19 21:08:59 +01:00
Héctor Ramón
773a23630b
Merge pull request #132 from hecrj/feature/read-clipboard
...
Clipboard access
2019-12-19 17:43:25 +01:00
Héctor Ramón
9cf61fb82c
Merge pull request #131 from hecrj/fix/web-subscription-missing
...
Fix `Subscription` missing in `iced_web`
2019-12-19 17:07:20 +01:00
Héctor Ramón
c822ea753e
Merge pull request #130 from hecrj/fix/resize-measure-cache
...
Resize text measure cache to avoid panic
2019-12-19 17:07:09 +01:00
Héctor Ramón Jiménez
8c8c5bb766
Stop using Travis CI
2019-12-19 07:05:54 +01:00
Héctor Ramón Jiménez
972b9520bf
Use latest window_clipboard changes
2019-12-19 06:34:44 +01:00
Héctor Ramón Jiménez
68c8ebcd77
Fix web::Hasher doc comment
2019-12-19 00:09:19 +01:00
Héctor Ramón Jiménez
eb4f55c60b
Check iced builds when targetting Wasm in CI
2019-12-18 23:57:31 +01:00
Héctor Ramón Jiménez
9ca65c9f18
Fix missing Subscription type in iced_web
2019-12-18 23:57:02 +01:00
Héctor Ramón
441c6730e9
Merge pull request #128 from Gohla/fix_unnecessary_bound
...
Remove unnecessary bound in iced_web Container
2019-12-18 23:20:48 +01:00
Héctor Ramón
6f9de4130f
Merge pull request #127 from Gohla/web_styling
...
Add several missing style attributes in iced_web
2019-12-18 23:20:19 +01:00
Héctor Ramón Jiménez
0d7e236039
Resize text measure cache to avoid panic
...
This should not be really necessary, as we are not really drawing
anything with the measure brush... But we are using `glyph_brush`
in an unconventional way, so that may be the cause. We need to redesign
`wgpu_glyph` or come up with an alternative.
2019-12-18 23:14:54 +01:00
Gabriel Konat
7bb1b81e79
Fix unnecessary bound in web.
2019-12-18 12:02:22 +01:00
Gabriel Konat
95988e8e25
Add several missing style attributes in iced_web.
2019-12-18 11:30:51 +01:00
Héctor Ramón Jiménez
68f3c9c4c6
Implement clipboard pasting in TextInput
2019-12-18 09:11:33 +01:00
Héctor Ramón Jiménez
5a9527894a
Add xcb libraries to Travis CI
2019-12-18 07:56:05 +01:00
Héctor Ramón Jiménez
a14b39555e
Allow clipboard access in Widget::on_event
2019-12-18 07:45:49 +01:00
Héctor Ramón
0f2e20f5e5
Merge pull request #122 from hecrj/feature/event-subscriptions
...
Event subscriptions
2019-12-16 21:38:56 +01:00
Héctor Ramón
3702b10997
Merge pull request #111 from Maldela/svg
...
Svg and icon support
2019-12-16 21:38:33 +01:00
Héctor Ramón Jiménez
514ccf8a72
Cache Svg load result properly
...
This avoids trying to reload the file constantly on every frame.
2019-12-15 07:07:49 +01:00
Héctor Ramón Jiménez
232d4873ba
Put svg rendering behind a feature gate
...
This reduces binary size when SVG supoprt is not needed.
2019-12-15 06:45:20 +01:00
Héctor Ramón Jiménez
aa29849976
Add svg example
2019-12-15 06:31:53 +01:00
Héctor Ramón Jiménez
6ba2461445
Update Svg documentation
2019-12-15 06:28:44 +01:00
Héctor Ramón Jiménez
09707f29fc
Rerasterize SVGs when resized and refactor a bit
2019-12-15 06:19:07 +01:00
Héctor Ramón Jiménez
430ab6e444
Port todos to async_std
2019-12-14 20:48:32 +01:00
Héctor Ramón Jiménez
5185d6a0f3
Fix Widget::width for Checkbox
2019-12-14 07:09:37 +01:00
Héctor Ramón Jiménez
3daa9c2cc8
Log broadcast error as an error instead of a warning
2019-12-14 06:42:26 +01:00
Héctor Ramón Jiménez
d6c3da21f7
Write docs for subscriptions and reorganize a bit
2019-12-14 05:56:46 +01:00
Héctor Ramón Jiménez
293314405f
Make iced_native subscription input opaque
2019-12-14 04:49:13 +01:00
Héctor Ramón Jiménez
ba06d458d3
Move native events subscription to iced_native
2019-12-14 04:12:42 +01:00
Héctor Ramón Jiménez
e71978456a
Remove unnecessary clone in subscription::Map
2019-12-14 03:57:04 +01:00
Héctor Ramón Jiménez
c13ef73e8b
Hash Duration of time::Every in stopwatch
2019-12-14 02:20:45 +01:00
Héctor Ramón Jiménez
7715486906
Use generic Hasher in stopwatch
2019-12-14 02:12:25 +01:00
Héctor Ramón Jiménez
65ff3744a0
Remove unnecessary event loop proxy Mutex
...
I am not sure why I had to use it in the first place...
2019-12-14 01:33:31 +01:00
Héctor Ramón Jiménez
c688452d7b
Consume Recipe when building a Stream
2019-12-14 01:13:01 +01:00
Héctor Ramón Jiménez
69ed631d44
Rename timer example to stopwatch
2019-12-14 00:45:38 +01:00