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
Héctor Ramón Jiménez
f3916decf2
Fix typo in integration example
2021-08-04 18:20:25 +07:00
Tilmann Meyer
d7975a9de5
wgpu: Use the preferred texture format of the surface
...
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
2021-08-03 11:30:45 +02:00
Billy Messenger
a7d2834a6d
add custom error for Compositor::draw()
2021-07-22 13:08:13 -05:00
Billy Messenger
e822f654e4
Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe
2021-07-22 12:37:39 -05:00
Héctor Ramón
587dbbca42
Merge pull request #776 from AldoMX/master
...
Added `select_all` method to `TextInput`.
2021-07-22 20:48:03 +07:00
Héctor Ramón Jiménez
72d5d9b4bd
Add newline to todos example
...
... just for readability
2021-07-22 20:37:12 +07:00
Héctor Ramón Jiménez
1b36068847
Introduce placeholder_color to pick_list::Style
2021-07-22 20:22:32 +07:00
Jon Pacheco
9c75ddcb33
feat: add placeholder to pick_list example
2021-07-22 19:13:00 +07:00
Héctor Ramón
9cf5f3e1ef
Merge pull request #929 from TimUntersberger/winit-improv
...
feat: add position to window settings
2021-07-22 17:49:18 +07:00
Héctor Ramón Jiménez
39b8f7de50
Center window in game_of_life example
2021-07-21 19:10:11 +07:00
Héctor Ramón Jiménez
4de2714213
Remove winit example
...
... we can extend an existing example instead!
2021-07-21 18:11:31 +07:00
Héctor Ramón Jiménez
b97954a1ee
Add a presets Menu to the game_of_life example
2021-07-19 21:18:54 +07:00
Héctor Ramón Jiménez
b57d567981
Use bitflags for keyboard::Modifiers
2021-07-12 22:01:57 +02:00