Héctor Ramón Jiménez
2334c7d1d5
Stop tracking pressed_modifiers in PaneGrid
2020-07-09 05:28:42 +02:00
Héctor Ramón Jiménez
e3cd947437
Write documentation for new PaneGrid API
2020-07-09 05:26:11 +02:00
Héctor Ramón Jiménez
733ec6b2ea
Fix default text size in TitleBar
2020-07-08 11:48:16 +02:00
Héctor Ramón Jiménez
f3dfaa2c43
Merge branch 'master' into feature/pane-grid-titlebar
2020-07-08 11:44:40 +02:00
Héctor Ramón Jiménez
5c4f5ae5ec
Export Canvas if glow_canvas feature is enabled
2020-07-08 10:20:55 +02:00
Héctor Ramón Jiménez
dfeb3db003
Use default_font_size for TextInput widget
2020-07-06 23:58:15 +02:00
Héctor Ramón Jiménez
946bbd2683
Truncate Debug messages after 100 characters
2020-07-04 03:12:18 +02:00
Héctor Ramón
3f44d331d9
Merge pull request #432 from hecrj/improvement/update-dodrio
...
Update `dodrio` in `iced_web`
2020-07-01 22:44:48 +02:00
Héctor Ramón
99a50d6b2f
Merge pull request #431 from hecrj/feature/pane-grid-splits
...
Splits iterator for `PaneGrid` and minor improvements
2020-07-01 22:44:37 +02:00
Héctor Ramón
79aa225001
Merge pull request #430 from hecrj/feature/keyboard-modifiers-event
...
Add `ModifiersChanged` to `keyboard::Event`
2020-07-01 22:44:26 +02:00
Héctor Ramón
5190bcea80
Merge pull request #285 from frapa/add_support_for_window_icons
...
Add support for setting window icon
2020-07-01 22:44:11 +02:00
Héctor Ramón Jiménez
75464ad894
Use String::from_str_in in iced_web
2020-07-01 07:36:42 +02:00
Héctor Ramón Jiménez
d873c37e31
Update dodrio dependency in iced_web
2020-07-01 07:19:51 +02:00
Héctor Ramón
08e13e00f1
Merge pull request #292 from TomPridham/feature/accessibility-web
...
add some accessibility features to web widgets
2020-07-01 07:09:27 +02:00
Héctor Ramón Jiménez
ffd195cdb5
Fix empty id and name attributes in iced_web
2020-07-01 06:52:13 +02:00
Héctor Ramón Jiménez
a0cc7e4e43
Move Icon to iced crate and introduce Error
2020-07-01 06:10:31 +02:00
Francesco Pasa
9a037a23e9
Add support for setting window icon
...
This adds a new property from Settings:🪟 :iconand a Icon struct which can be converted to winit:🪟 :Icon.
It also adds code to display this icon in Application::run. Due to the fact that the Icon struct is non copyable, I also had to remove the Copy trait from all Settings, both in `iced` and `iced_winit`.
2020-07-01 05:37:28 +02:00
Héctor Ramón Jiménez
e8aeb86698
Use keyboard::ModifiersChanged in PaneGrid
2020-06-30 07:38:04 +02:00
Héctor Ramón Jiménez
78cb805fac
Add ModifiersChanged to keyboard::Event
2020-06-30 07:36:13 +02:00
Héctor Ramón Jiménez
e50c61f7ff
Add unfocus method to pane_grid::State
2020-06-30 02:53:15 +02:00
Héctor Ramón Jiménez
cee8400663
Unfocus Pane in pane_grid on click outbounds
2020-06-30 01:02:39 +02:00
Héctor Ramón Jiménez
23f753e599
Introduce splits method in pane_grid::Node
2020-06-30 01:02:28 +02:00
Héctor Ramón Jiménez
cb530ccf2f
Rename regions and splits in pane_grid::Node
2020-06-30 01:02:26 +02:00
Héctor Ramón Jiménez
1bc69e7a8a
Expose defaults module in iced_graphics
...
Fixes #429
2020-06-28 21:38:03 +02:00
Héctor Ramón Jiménez
b5d842f877
Show idle cursor when hovering a disabled Button
2020-06-27 03:40:04 +02:00
Héctor Ramón
754b8f819e
Merge pull request #424 from hecrj/feature/window-max-and-min-size
...
Add `min_size` and `max_size` to `window::Settings`
2020-06-25 17:03:35 +02:00
Héctor Ramón
038f75eef1
Merge pull request #421 from hecrj/fix/triangle-uniform-bindgroup
...
Recreate uniforms `BindGroup` when necessary
2020-06-25 02:06:38 +02:00
Héctor Ramón Jiménez
65a4dca0d9
Add min_size and max_size to window::Settings
2020-06-25 00:32:41 +02:00
Héctor Ramón Jiménez
ab53df8e9d
Recreate uniforms BindGroup when necessary
2020-06-23 21:11:13 +02:00
Héctor Ramón Jiménez
f30a666dc8
Decouple cursor_position from Cache
...
Instead, we ask explicitly for it in the different `update` and `draw` methods.
This way, the runtime can derive the logical position of the cursor from
the source of truth.
2020-06-23 06:44:34 +02:00
Héctor Ramón Jiménez
bbdf558bd7
Relayout when Application::scale_factor changes
2020-06-23 06:12:06 +02:00
Héctor Ramón
eec65a055f
Merge pull request #415 from hecrj/feature/configurable-scale-factor
...
Add `scale_factor` to `Application` and `Sandbox`
2020-06-20 19:20:37 +02:00
Héctor Ramón
1432c82bdf
Merge pull request #413 from hecrj/feature/configurable-default-text-size
...
Make default text size configurable in `Settings`
2020-06-19 19:24:52 +02:00
Héctor Ramón Jiménez
c9696ca687
Add scale_factor to Application and Sandbox
2020-06-19 19:17:05 +02:00
Héctor Ramón Jiménez
b3c192a2e4
Make default text size configurable in Settings
2020-06-19 00:16:22 +02:00
Héctor Ramón
d19c02035f
Merge pull request #407 from hecrj/feature/generic-slider
...
Make `Slider` value type generic
2020-06-14 18:11:25 +02:00
Héctor Ramón
50c37ff3d7
Merge pull request #406 from hecrj/feature/background-color
...
Add `background_color` to `Application` and `Sandbox`
2020-06-14 18:10:14 +02:00
Héctor Ramón Jiménez
f5e16312bf
Update Slider docs in iced_web
2020-06-13 15:04:49 +02:00
Héctor Ramón Jiménez
6b4a4655c1
Make Slider value generic in iced_web
2020-06-13 14:59:09 +02:00
Héctor Ramón Jiménez
d7d2e0a8aa
Increase precision in color_palette example
2020-06-13 14:50:21 +02:00
Héctor Ramón Jiménez
3cc32abc7c
Reduce slider step in progress_bar example
2020-06-13 14:39:48 +02:00
Héctor Ramón Jiménez
7bc7b60321
Mention generic range in Slider documentation
2020-06-13 14:36:10 +02:00
Héctor Ramón Jiménez
4aed3ede92
Use generic Slider in tour example
2020-06-13 14:34:39 +02:00
Héctor Ramón Jiménez
c71d83fe0e
Remove unnecessary type annotations in Slider
2020-06-13 14:34:23 +02:00
Héctor Ramón Jiménez
0b819de3e2
Make Slider value type generic
2020-06-13 14:17:41 +02:00
Héctor Ramón
f131969c47
Merge pull request #381 from loewenheim/slider_step
...
Added `step` member to slider widgets
2020-06-13 13:21:49 +02:00
Héctor Ramón Jiménez
4c0286e8ac
Add background_color to Application and Sandbox
2020-06-12 22:12:15 +02:00
Héctor Ramón
2a516dfc48
Merge pull request #401 from Vanille-N/master
...
Calculated sweep_angle in call to lyon::geom::Arc was actually end_angle
2020-06-11 16:46:47 +02:00
Vanille-N
7b6f1baa69
Calculated sweep_angle in call to lyon::geom::Arc was actually end_angle
...
Adresses `Arc end_angle should be renamed to span_angle #400`
2020-06-11 14:58:47 +02:00
Sebastian Zivota
c3643eaf6d
Add step member to slider widgets
...
Both the native and the web slider now have a member `step` to control
the least possible change of the slider's value. It defaults to 1.0
for all sliders and can be adjusted with the step method.
2020-06-11 00:18:24 +02:00