Héctor Ramón Jiménez
6786b8a3aa
Implement Default for Font
2020-04-23 22:17:00 +02:00
Héctor Ramón Jiménez
b549b509c9
Align text in iced_wgpu on a case-by-case basis
2020-04-10 01:39:36 +02:00
Héctor Ramón Jiménez
4fc17dfd66
Fix Size::new documentation
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c2cb1a0c81
Improve Point::ORIGIN documentation
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
31aaf207d6
Remove redundant check in ModifiersState::matches
2020-03-20 04:10:58 +01:00
Héctor Ramón Jiménez
18f016cba7
Use f32::hypot in Point::distance
2020-03-20 04:08:18 +01:00
Héctor Ramón Jiménez
50b02d41a0
Check only for partial match of modifier keys
2020-03-18 07:10:36 +01:00
Héctor Ramón Jiménez
05beb87852
Move common keyboard types to iced_core
...
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
f08cb4ad56
Implement mouse-based pane resizing for PaneGrid
2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
b74e7e7353
Implement Primitive::Cached
2020-03-07 23:45:54 +01:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
...
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
126133ead7
Fix Clip primitive intersection in iced_wgpu
2020-02-22 18:25:43 +01:00
Héctor Ramón Jiménez
945dfabd71
Move Size to iced_core
2020-02-14 05:35:42 +01:00
Héctor Ramón Jiménez
558abf648b
Add transform stack to canvas::Frame
2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
a30553ddbb
Forbid unsafe code and Rust 2018 idioms
2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
f14009601e
Write documentation for iced_futures
2020-01-20 09:49:17 +01:00
Héctor Ramón Jiménez
b5b17ed4d8
Create iced_futures and wire everything up
2020-01-19 10:17:44 +01:00
Héctor Ramón Jiménez
d50ff9b5d9
Implement Runtime and Executor in iced_core
...
They can be leveraged by shells to easily execute commands
and track subscriptions.
2020-01-19 09:06:48 +01:00
Héctor Ramón Jiménez
32f7ca261f
Implement subscription::Tracker in iced_core
2020-01-19 08:36:44 +01:00
Héctor Ramón Jiménez
5de404ddd9
Take IntoIterator instead of Iterator
2020-01-16 07:01:25 +01:00
Héctor Ramón Jiménez
f7a8b6983c
Remove Mul implementation for Vector
2020-01-07 04:56:32 +01:00
Héctor Ramón Jiménez
fce89d0ffe
Use constants for colors in styling example
2020-01-07 01:17:32 +01:00
Héctor Ramón Jiménez
2bbd395d5d
Draft styling example
2020-01-06 18:44:45 +01:00
Héctor Ramón Jiménez
bbc8f837d7
Merge branch 'master' into feature/custom-styling
2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
1a0effa961
Add border and shadow styling to Button
2020-01-05 19:29:12 +01:00
Songtronix
d60f3b89a7
add(widget): primitive progressbar widget
2020-01-02 11:11:08 +01:00
Héctor Ramón Jiménez
9ab7c47dc7
Add border_width and border_color to Quad
2019-12-31 21:38:52 +01:00
Héctor Ramón Jiménez
aecc3ad195
Add Length::FillPortion variant
...
It allows to specify the amount of available space an element should
take relative to other elements.
2019-12-30 19:33:27 +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
453d2d5bb0
Implement Command::map
2019-12-19 21:08:59 +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
e71978456a
Remove unnecessary clone in subscription::Map
2019-12-14 03:57:04 +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
cdb7acf6c2
Implement Subscription::map and from_recipe
2019-12-10 03:43:00 +01:00
Héctor Ramón Jiménez
98160406f7
Allow listening to runtime events in subscriptions
2019-12-08 08:21:26 +01:00
Héctor Ramón Jiménez
48145ba51e
Use oneshot and future::select to cancel streams
2019-12-07 08:51:44 +01:00
Héctor Ramón Jiménez
d575f45411
Draft first version of event subscriptions 🎉
2019-12-05 06:10:13 +01:00
Malte Veerman
33ad332ce9
Implemented From<Color for Background
2019-12-04 22:02:07 +01:00
Héctor Ramón Jiménez
561c3641c6
Merge branch 'master' into feature/image-from-bytes
2019-12-04 04:01:12 +01:00
Nikolai Vazquez
267e242238
Make many functions const
...
The point is to set up repeated components or boilerplate before their
use sites.
The majority of these make sense as `const`. However, some functions
such as those regarding state may not make sense as `const`.
2019-11-29 21:24:52 -05:00
Nikolai Vazquez
62725a76ef
Add From impls for Length, Point, and Size
2019-11-29 20:52:26 -05:00
Héctor Ramón Jiménez
cdd34e1e4b
Implement image viewer example
2019-11-30 02:14:56 +01:00
Héctor Ramón Jiménez
3a678561f2
Fix documentation for Axis
2019-11-23 12:00:50 +01:00
Héctor Ramón Jiménez
d136b7ce64
Uncomment missing debug implementations rule
2019-11-22 21:16:40 +01:00
Héctor Ramón Jiménez
a7dba612f0
Write docs for iced and iced_native
2019-11-22 19:36:57 +01:00
Héctor Ramón Jiménez
65eb218d3d
Move widgets from core to native and web
...
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
d3553adf27
Write documentation for iced_core
2019-11-18 07:16:19 +01:00
Héctor Ramón Jiménez
a803ab240b
Rename Command::attempt to Command::perform
2019-11-18 00:10:40 +01:00
Héctor Ramón Jiménez
e640b87590
Derive Clone for text_input::State
2019-11-17 07:03:22 +01:00
Héctor Ramón Jiménez
e0bdb203f2
Implement future-based Command in iced_core
2019-11-17 07:02:38 +01:00