Héctor Ramón
14c1e70f66
Merge pull request #952 from aentity/fix_svg_memory
...
Use ceil on svg dimensions, fix svg memory usage ref #841
2021-07-21 17:43:37 +07:00
aentity
665422e256
Use ceil on svg dimensions, fix svg memory usage
...
Calls ceil() on dimension bounds as this appears fix svg memory
unbounded usage because no longer cache miss.
The height and width return from resvg seem to always be ceiling
of float dimensions, so we try to match.
2021-07-21 02:26:53 -04:00
Héctor Ramón
8e29709b69
Merge pull request #945 from derezzedex/menu
...
feat: add menus
2021-07-20 21:44:33 +07:00
Héctor Ramón Jiménez
82db3c78b6
Update winit and glutin dependencies
...
... and remove crates.io patch
2021-07-20 21:34:44 +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
c8ac77e4e9
Write documentation for menu method in Application
2021-07-19 21:05:16 +07:00
Héctor Ramón Jiménez
a2f49a74d0
Replace content with title in menu module
2021-07-19 21:01:24 +07:00
Héctor Ramón Jiménez
3099f36100
Implement Menu::map naively
2021-07-19 20:59:09 +07:00
Héctor Ramón
a6dbaf0f5f
Merge pull request #953 from hecrj/fix/pane-grid-title-bar-overlay
...
Fix implementation of `Widget::overlay` for `pane_grid::TitleBar`
2021-07-15 17:32:02 +02:00
Héctor Ramón Jiménez
4dc1bba5cd
Remove unnecesary use of Option::unwrap
...
... in `overlay` implementation for `pane_grid::TitleBar`
2021-07-15 16:49:19 +02:00
Héctor Ramón Jiménez
2993e9b466
Fix implementation of Widget::overlay for pane_grid::TitleBar
2021-07-15 16:43:52 +02:00
Héctor Ramón Jiménez
e5c958e9d6
Add new sponsors page to FUNDING 🎉
2021-07-13 21:46:55 +02:00
Héctor Ramón Jiménez
2e7eac7d21
Implement conversion::menu_message
2021-07-13 21:31:34 +02:00
Héctor Ramón Jiménez
5df2a92f28
Force Application::Message to implement Clone
...
A `Message` should represent an application event (e.g. user
interactions, command results, subscription results...). Therefore, it
should always consist of pure, cloneable data.
2021-07-13 21:15:07 +02:00
Héctor Ramón Jiménez
4abaee8b23
Use Menu::default for root level menu in conversion::menu
2021-07-13 21:11:13 +02:00
Héctor Ramón Jiménez
6221adf2b1
Draft conversion::menu_message in iced_winit
...
... and wire it up to the runtime loop
2021-07-13 20:55:21 +02:00
Héctor Ramón Jiménez
f3b056a6fc
Generate unique identifiers for entries in conversion::menu
2021-07-13 20:46:23 +02:00
Héctor Ramón Jiménez
31997d255f
Store and synchronize Menu in application::State
2021-07-12 22:28:18 +02:00
Héctor Ramón Jiménez
b3ff522c18
Simplify Hotkey conversion in conversion::menu
2021-07-12 22:11:06 +02:00
Héctor Ramón Jiménez
b57d567981
Use bitflags for keyboard::Modifiers
2021-07-12 22:01:57 +02:00
Héctor Ramón Jiménez
735cfb7908
Move menu module from iced_native to iced_core
2021-07-12 21:44:01 +02:00
Héctor Ramón Jiménez
1428e9180a
Make Menu API a bit more functional
2021-07-12 21:38:54 +02:00
Héctor Ramón Jiménez
c4552a72d4
Update winit dependency in iced-rs
2021-07-12 21:21:22 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
Héctor Ramón Jiménez
4994d34aba
Update winit and glutin to latest master
2021-06-30 23:44:51 +02:00
Héctor Ramón Jiménez
1b6cf05f5f
Install libxkbcommon-dev for ubuntu-latest in CI
2021-06-26 12:19:23 +02:00
Héctor Ramón
c6c3594c83
Merge pull request #927 from diegodox/fix-typo
...
Fix typo in documentation of `canvas::Program`
2021-06-26 11:57:31 +02:00
Héctor Ramón
06d0158efb
Merge pull request #917 from derezzedex/macos-url
...
Enable receiving URLs on MacOS
2021-06-25 14:47:14 +02:00
Richard
612585109f
Use winit and glutin forks in iced-rs org
2021-06-25 14:15:11 +02:00
Richard
96a462d2f2
Use new enum variant and new winit repo
2021-06-25 14:14:03 +02:00
Richard
9ae22b58d8
Added events for url handling and create example
2021-06-25 14:14:03 +02:00
Héctor Ramón
d2c8a3e04b
Merge pull request #919 from Imberflur/winit-0.25
...
Bump winit to 0.25
2021-06-24 19:30:59 +02:00
Imbris
ba51661a2a
Bump winit to 0.25
2021-06-23 17:38:08 -04:00
Diego Fujii
80df17ab55
fix-typo
2021-06-24 00:16:08 +09:00
Héctor Ramón
b62fcca9b9
Merge pull request #915 from yusdacra/docs/update-links
...
docs: update all 0.2 github links to 0.3
2021-06-22 12:19:38 +02:00
Héctor Ramón
94ee2566c4
Merge pull request #920 from clarkmoody/feature/pane-grid-title-bar-overlay
...
Pane Grid Title Bar Overlay
2021-06-22 12:02:07 +02:00
Héctor Ramón
bb6e06127e
Merge pull request #925 from PolyMeilex/master
...
Update `wgpu` to `0.9`
2021-06-22 11:39:18 +02:00
Héctor Ramón Jiménez
15c17a7250
Use match statement in Content::overlay
...
... to improve readability a bit.
2021-06-22 11:36:36 +02:00
Poly
a53e7559fe
Use vertex_attr_array macro
2021-06-22 11:23:11 +02:00
Poly
c70f90f320
Update wgpu 0.9
2021-06-22 11:23:10 +02:00
Clark Moody
27b42ca6b6
Allow overlay from pane grid title bar
2021-06-17 14:51:23 -05:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3
2021-06-14 21:01:37 +03:00
Héctor Ramón
e68da229b3
Merge pull request #646 from mtsr/disable-button
...
Disabled button docs and consistent behavior
2021-06-10 19:12:11 +07:00
Héctor Ramón
d1797dda87
Revert changes in tour example
2021-06-10 18:58:44 +07:00
Héctor Ramón
d46dd67a91
Update disabled example of Button in docs
2021-06-10 18:58:40 +07:00
Jonas Matser
e66120b9c1
Fix failing doctests
2021-06-10 18:28:38 +07:00
Jonas Matser
dbc1181011
Adds doc comment for disabled button
...
Makes disabled button behavior consistent in web
2021-06-10 18:28:37 +07:00
Héctor Ramón
f6ff87bb8f
Merge pull request #818 from thenlevy/check_bounds
...
Prevent scissor_rect region to be larger than the target texture in wgpu::Backend::flush
2021-06-10 18:24:42 +07:00
Héctor Ramón
56f673d819
Revert "Attempt to fix scissor_rect validation error"
...
This reverts commit 656dc357f8 .
2021-06-09 21:30:48 +07:00
Héctor Ramón
5224cc7f26
Floor width and height in Rectangle::floor
2021-06-09 21:30:20 +07:00