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
Héctor Ramón Jiménez
7756081fdb
Refactor window creation in iced_winit
2019-12-03 07:20:22 +01:00
Héctor Ramón Jiménez
369ed9bc2e
Add decorations to settings::Window
2019-12-03 07:08:12 +01:00
Héctor Ramón Jiménez
31e3b6fbcb
Unify logic by introducing scrollable::Scrollbar
2019-12-03 06:49:31 +01:00
Friz64
6b25b4df22
Reset tour start to 0
2019-12-02 19:12:05 +01:00
Friz64
6943041e0f
Address suggestions
2019-12-02 19:12:05 +01:00
Friz64
9a733bb3c8
Support null renderer
2019-12-02 19:12:05 +01:00
Friz64
c12ba14dda
Move scrolling percentage logic to separate function
2019-12-02 19:12:05 +01:00
Friz64
f8fac432c6
Finalize work
2019-12-02 19:10:07 +01:00
Friz64
5eec3a8867
First implementation
2019-12-02 19:09:17 +01:00
Héctor Ramón
ff0dc44cd7
Merge pull request #99 from hecrj/fix/web-render-after-command
...
Schedule render after `Command` futures finish in `iced_web`
2019-12-02 18:00:48 +01:00
hatoo
287f3ea99a
Add tailing newline to winit/Cargo.toml
2019-12-02 21:58:35 +09:00
hatoo
97f1f3dcf4
Modify src/settings.rs to keep original API
2019-12-02 21:57:07 +09:00
hatoo
a1f9be3089
Remove unneeded dependency "winapi" from iced
2019-12-02 21:44:08 +09:00
Héctor Ramón
be0df0669e
Merge pull request #101 from Shootertrex/fix/image-widget-hashing
...
Added path to image hash so it updates when path changes
2019-12-02 00:26:51 +01:00
Nicholas Pienta
f9abee391d
Added path to image hash so it updates when path changes
2019-12-01 18:13:01 -05:00
Héctor Ramón Jiménez
e648de560d
Use PowerPreference::Default in iced_wgpu
2019-12-01 23:36:29 +01:00
Héctor Ramón Jiménez
67570a0a1d
Add repr(C) to GPU types
2019-12-01 19:03:05 +01:00
Héctor Ramón Jiménez
dd0bd29b68
Update CHANGELOG
2019-12-01 18:50:29 +01:00
Héctor Ramón Jiménez
2995c50b1c
Schedule render after Command futures finish
2019-12-01 18:03:35 +01:00
hatoo
a33f49ff4b
Remove platform-specific logic from iced
...
Make Window.platform_specific use iced_winit::settings::PlatformSpecific
2019-12-01 14:55:05 +09:00
Héctor Ramón
805c5ad0cd
Merge pull request #84 from hecrj/fix/event-processing
...
Process events only when necessary
2019-12-01 03:33:40 +01:00
Héctor Ramón
25ed33329b
Merge pull request #74 from hecrj/fix/font-load-panic
...
Fallback to embedded font when system font is unsupported
2019-12-01 03:33:24 +01:00
Héctor Ramón
e404f5098a
Merge pull request #92 from nvzqz/type-conversions
...
Add `From` impls for `Length`, `Point`, and `Size`
2019-11-30 17:01:01 +01:00
hatoo
5077f1dc6a
Add platform specific settings
2019-11-30 21:48:33 +09:00
hatoo
f0a857ddde
Add decorations to Setting
2019-11-30 21:03:50 +09:00
Héctor Ramón Jiménez
1747eb2745
Fix typo in image::Handle docs
2019-11-30 04:10:16 +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
Héctor Ramón Jiménez
fab6d79e84
Implement basic image cache trimming in iced_wgpu
2019-11-30 02:55:14 +01: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
505588d585
Allow to load an image from memory
...
New `image::Handle` opaque type uniquely identifying some `image::Data`,
allowing reliable caching.
2019-11-29 21:44:39 +01:00
Héctor Ramón Jiménez
826bc374b1
Process events only when necessary
...
Additionally, this also fixes a bug where the old size was being used
for layouting after a resize.
2019-11-28 21:05:17 +01:00
Héctor Ramón Jiménez
811d8b90d7
Add simple counter example
2019-11-26 22:31:46 +01:00
Héctor Ramón Jiménez
80a8a57471
Stop loading a mono font just for the debug view
2019-11-26 15:33:38 +01:00
Héctor Ramón Jiménez
a99aa1dd61
Fallback to embedded font when system font fails
2019-11-26 15:32:11 +01:00
Héctor Ramón
84874ac5dc
Merge pull request #68 from hecrj/feature/application-settings
...
Allow `Application` configuration with `Settings`
2019-11-25 15:00:53 +01:00
Héctor Ramón Jiménez
862859142b
Add CHANGELOG to subcrates
2019-11-25 14:55:14 +01:00
Héctor Ramón Jiménez
1344ea84fc
Update debug view GIF in README
2019-11-25 14:40:18 +01:00