Héctor Ramón Jiménez
ecd0997576
Center contents with Container in exit example
...
... also add some `padding` to buttons!
2022-01-03 12:09:07 +07:00
Drake Tetreault
8a70d10401
Allow Sandbox applications to exit.
2021-12-29 09:34:37 -08:00
Nathan Henrie
a88bf0fed7
Fix path to ferris.png
...
Fixes https://github.com/iced-rs/iced/issues/1156
2021-12-11 16:51:54 -07:00
Héctor Ramón Jiménez
fa9fb65ace
Remove unused fields in pokedex example
2021-12-07 16:13:53 +07:00
Héctor Ramón Jiménez
37c72793d0
Remove unused field in solar_system example
2021-12-07 16:12:34 +07:00
Héctor Ramón Jiménez
f7792d89d6
Hide Box allocation in component::view
...
... we may be able to avoid it with generics in the future.
2021-11-29 15:04:13 +07:00
Héctor Ramón Jiménez
010b62b9ee
Draft component example 🎉
2021-11-29 15:04:13 +07:00
Daniel May
1a6c912332
Add checkbox text_color styling
2021-11-14 11:35:12 +01:00
Héctor Ramón
f084ed8df1
Merge pull request #1106 from RamType0/RemoveUnnecessaryStringAllocationInExample
...
Remove unnecessary String allocation
2021-11-10 23:59:35 +07:00
Héctor Ramón Jiménez
e6627bb96d
Fix formatting with cargo fmt
2021-11-10 16:35:13 +07:00
Héctor Ramón Jiménez
9fe65ed729
Rename Renderer::present to with_primitives
2021-11-05 15:38:27 +07:00
Héctor Ramón Jiménez
023aded277
Rename fill_rectangle to fill_quad in Renderer
2021-11-04 19:24:11 +07:00
Ram.Type-0
0245f289b2
Remove unnecessary String allocation
...
Remove unnecessary String allocation by passing &format! or &x.to_string as impl Into<String>
2021-11-02 00:05:25 +09:00
Héctor Ramón Jiménez
e70a6be937
Merge branch 'master' into remove-renderer-traits
2021-10-31 17:52:21 +07:00
Héctor Ramón Jiménez
0d3c9ef7bd
Reintroduce Box for style_sheet in TextInput
2021-10-31 17:45:57 +07:00
Héctor Ramón Jiménez
0c76e0307f
Reintroduce Box for style_sheet in Slider
2021-10-31 17:42:43 +07:00
Héctor Ramón Jiménez
eed19dcf81
Reintroduce Box for style_sheet in Scrollable
2021-10-31 17:39:24 +07:00
Héctor Ramón Jiménez
bd7b086ec1
Reintroduce Box for style_sheet in Radio
2021-10-31 17:14:10 +07:00
Héctor Ramón Jiménez
40a5de5811
Reintroduce Box for style_sheet in Container
2021-10-31 17:02:59 +07:00
Héctor Ramón Jiménez
fcc282bd76
Reintroduce Box for style_sheet in Checkbox
2021-10-31 16:58:02 +07:00
Héctor Ramón Jiménez
d36ce33a95
Reintroduce Box for style_sheet in Button
2021-10-31 16:53:18 +07:00
Héctor Ramón Jiménez
661cb5736e
Rewrite cursor icon logic for integration_wgpu example
2021-10-31 16:36:34 +07:00
Héctor Ramón Jiménez
844fecd602
Rewrite cursor icon logic for integration_opengl example
2021-10-31 16:36:18 +07:00
Héctor Ramón Jiménez
0aafcde0ef
Remove widget module re-exports in iced_native
2021-10-31 16:14:34 +07:00
Héctor Ramón Jiménez
e5e477aa69
Migrate geometry example to new Renderer API
2021-10-30 20:42:09 +07:00
Héctor Ramón Jiménez
7c08c6bd13
Remove Renderer trait for Checkbox
2021-10-21 18:50:27 +07:00
Héctor Ramón Jiménez
d39ad717ed
Wire up styling to Radio in iced_native
2021-10-20 19:18:40 +07:00
Héctor Ramón Jiménez
e914888f57
Implement Widget::draw for TextInput
2021-10-20 18:40:39 +07:00
Héctor Ramón Jiménez
11bcb13427
Wire up styling to Slider in iced_native
2021-10-20 15:50:42 +07:00
Héctor Ramón Jiménez
be97a5d502
Introduce mouse_interaction method to Widget trait
2021-10-18 16:43:18 +07:00
Héctor Ramón Jiménez
3140cdc4ba
Wire up styling to Button in iced_native
2021-10-18 16:02:30 +07:00
Héctor Ramón Jiménez
95acc1deb8
Implement Widget::draw for custom_widget example
2021-10-18 15:49:28 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native
2021-10-18 15:36:32 +07:00
Héctor Ramón Jiménez
edea093350
Move Defaults from iced_graphics to iced_native
2021-10-18 15:19:04 +07:00
Héctor Ramón Jiménez
54a9a232f8
Draw scrollbar in Widget::draw for Scrollable
2021-10-18 14:48:33 +07:00
Héctor Ramón Jiménez
03b3493138
Remove trait-specific draw logic in iced_native
2021-10-14 16:07:22 +07:00
Poly
65f690b075
Update wgpu to 0.11
2021-10-13 19:40:32 +02:00
sundyli
98fb0dbf9d
Update README.md
2021-10-04 21:54:38 +08:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
dda032c5b8
Add spaces around iced_wgpu feature list in Cargo.toml of integration_wgpu
2021-08-25 15:39:41 +07:00
Poly
18753b77fc
wgpu: Update to 0.10
2021-08-19 03:06:38 +02:00
Héctor Ramón Jiménez
138132758a
Update README in examples directory
2021-08-13 21:00:22 +07:00
Héctor Ramón Jiménez
f1f58b2a8a
Fix panic! warnings in integration_opengl example
2021-08-13 20:22:49 +07:00
Héctor Ramón Jiménez
9567808636
Fix formatting of integration_opengl example
2021-08-13 20:22:47 +07:00
Héctor Ramón Jiménez
77a0b68aa1
Rename integration examples
2021-08-13 20:12:07 +07:00
Tamás Szelei
a646b11109
Add integration_gl example
2021-08-13 20:10:39 +07:00
Héctor Ramón
45778ed598
Merge pull request #667 from BillyDM/wgpu_outdatedframe
...
Don't panic when wgpu swapchain frame is outdated
2021-08-05 14:44:32 +07:00