Commit graph

429 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
f0381a7fb3 Use surf in pokedex example 2019-12-14 00:32:05 +01:00
Héctor Ramón Jiménez
ffa46898d9 Add timer example 2019-12-13 23:58:23 +01:00
Héctor Ramón Jiménez
e06a4d1ce4 Simplify events example 2019-12-10 04:06:12 +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
e189c22bb0 Rename clock example to events 2019-12-09 22:39:28 +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
9b84b6e403 Merge branch 'master' into feature/event-subscriptions 2019-12-08 06:53:54 +01:00
Héctor Ramón
f942fc3b68
Merge pull request #113 from hecrj/feature/password-input
Password input
2019-12-08 06:42:39 +01:00
Héctor Ramón Jiménez
a7694e0112 Update native CHANGELOG 2019-12-08 06:24:47 +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
f5d3164908 Simplify custom_widget example 2019-12-07 07:46:31 +01:00
Héctor Ramón Jiménez
c59ff69473 Change TextInput word-jump modifier key on macOS 2019-12-07 07:24:55 +01:00
Héctor Ramón Jiménez
cdee847cea Showcase new TextInput::password in tour 2019-12-07 07:19:05 +01:00
Héctor Ramón Jiménez
34bdfe9416 Implement TextInput::password for secure data 2019-12-07 07:18:15 +01:00
Héctor Ramón Jiménez
749722fca6 Add custom_widget example
It showcases how to build a simple native custom widget that draws a
circle.
2019-12-07 05:47:14 +01:00
Héctor Ramón
05a2a619c1
Merge pull request #108 from hecrj/feature/text-input-behavior
Improve text input behavior
2019-12-06 20:42:25 +01:00
Héctor Ramón Jiménez
4268556edb Update CHANGELOG 2019-12-06 06:13:22 +01:00
Héctor Ramón Jiménez
69590bcf72 Consider word bounds in TextInput cursor jumps 2019-12-06 05:45:06 +01:00
Héctor Ramón Jiménez
a56eef0fec Use unicode-segmentation for text_input::Value 2019-12-06 04:46:53 +01:00
Héctor Ramón Jiménez
114a759d2c Implement word movement in TextInput 2019-12-06 04:01:54 +01:00
Héctor Ramón Jiménez
65cac922b3 Add ModifiersState to keyboard::Event::Input 2019-12-06 04:01:48 +01:00
Héctor Ramón Jiménez
e55dfa7551 Add clock example 2019-12-05 06:10:47 +01:00
Héctor Ramón Jiménez
d575f45411 Draft first version of event subscriptions 🎉 2019-12-05 06:10:13 +01:00
Héctor Ramón Jiménez
31b0b7f580 Update native CHANGELOG 2019-12-05 03:34:15 +01:00
Héctor Ramón Jiménez
7c8799e493 Support Home and End keys for TextInput 2019-12-05 03:16:50 +01:00
Héctor Ramón Jiménez
ef987ae2ec Remove unnecessary use of abs 2019-12-05 03:14:32 +01:00
Héctor Ramón Jiménez
14fb7e13fb Place TextInput cursor position on click 2019-12-05 03:09:39 +01:00
Héctor Ramón Jiménez
e92ea48e88 Make Button::background generic 2019-12-05 01:57:35 +01:00
Héctor Ramón
f87ddf1056
Merge pull request #107 from Maldela/background
Implemented `From<Color` for `Background`
2019-12-05 00:19:13 +01:00
Malte Veerman
33ad332ce9 Implemented From<Color for Background 2019-12-04 22:02:07 +01:00
Héctor Ramón
ed045b45ba
Merge pull request #106 from Gohla/no_cfg_attr
Use cfg and path attribute instead of cfg_attr for IntelliJ Rust support
2019-12-04 19:52:59 +01:00
Gabriel Konat
5a974fe72d Use cfg and path attribute instead of cfg_attr for IntelliJ Rust support 2019-12-04 14:39:20 +01:00
Héctor Ramón
d1eb187e26
Merge pull request #90 from hecrj/feature/image-from-bytes
Load images from memory and image viewer example
2019-12-04 04:28:07 +01:00
Héctor Ramón Jiménez
2144109dd7 Update changelogs 2019-12-04 04:11:10 +01:00
Héctor Ramón Jiménez
1f60e28204 Update Image::hash_layout to hash new Handle 2019-12-04 04:04:18 +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
Héctor Ramón Jiménez
4293dcb254 Rename image::Handle::from_bytes to from_memory
Also, replace `image` example with a new `pokedex` example using the
PokéAPI.
2019-12-04 03:55:33 +01:00
Héctor Ramón
6c145bbb23
Merge pull request #95 from Friz64/scrolling-behaviour
Make scrolling behave like you'd expect it to
2019-12-04 01:14:13 +01:00
Friz64
2cd517c099 Correct documentation oversight 2019-12-03 15:19:59 +01:00
Héctor Ramón Jiménez
0b5409c53d Fix TextInput inner border radius in iced_wgpu 2019-12-03 07:40:56 +01:00
Héctor Ramón
60b32a9fed
Merge pull request #94 from hatoo/improve-setting
Improve window setting
2019-12-03 07:38:03 +01:00