Commit graph

2245 commits

Author SHA1 Message Date
Héctor Ramón
7ed0dbbcc5
Merge pull request #1288 from tarkah/update-palette-0.6
update palette to 0.6
2022-03-17 15:51:39 +07:00
Cory Forsstrom
f2b0e02c25 update palette to 0.6 2022-03-16 16:14:08 -07:00
Héctor Ramón Jiménez
6b0cbdd45a
Remove unnecessary unreachable! in download_progress example 2022-03-15 22:36:31 +07:00
Héctor Ramón Jiménez
a53fa91e0d
Use Limits::downlevel_defaults in iced_wgpu 2022-03-07 22:32:09 +07:00
Héctor Ramón
4411da25cf
Merge pull request #1264 from tarkah/canvas/clip
Add clip to canvas
2022-03-05 13:31:39 +07:00
Héctor Ramón Jiménez
27e859e153
Use Rectangle directly in Frame::with_clip 2022-03-02 21:03:46 +07:00
Héctor Ramón
ee6f4cb2ac
Merge pull request #1270 from iced-rs/skip-canvas-draw
Skip `Canvas::draw` if `bounds` have no logical pixels
2022-03-01 14:03:56 +07:00
Héctor Ramón Jiménez
f85b421ae7
Fix overlay flickering after Application::update 2022-03-01 14:02:46 +07:00
Héctor Ramón Jiménez
644c1b70ca
Skip Canvas::draw if bounds have no logical pixels 2022-02-28 18:15:39 +07:00
Cory Forsstrom
f40da376ce Add doc comment 2022-02-23 11:36:41 -08:00
Cory Forsstrom
16b63031c1 Add with_clip for canvas 2022-02-23 11:05:52 -08:00
Héctor Ramón
af7cbf0003
Merge pull request #1263 from iced-rs/remove-hash-layout
Remove `hash_layout` method from `Widget` trait
2022-02-23 22:41:22 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Héctor Ramón
9fe5080153
Merge pull request #1219 from Alch-Emi/image-modes
ContentFit support for images
2022-02-23 16:56:01 +07:00
Héctor Ramón Jiménez
33b9b50883
Showcase only Contain, Cover, and Fill image modes in tour 2022-02-23 16:32:12 +07:00
Héctor Ramón
e0185b8cda
Merge pull request #1262 from nicksenger/fix/overlay-layouts
Fix: overlay layout for `Responsive`
2022-02-23 15:58:39 +07:00
Nick Senger
a12a92c266
fix: overlay layout for Responsive 2022-02-22 23:38:32 +07:00
Héctor Ramón Jiménez
6f6ce15a20
Keep using Ferris in the image section of the tour
Wide ferris is cute :3
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
15b4bbd49d
Hash content_fit in hash_layout of Image and Svg 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8d94cd4c5c
Remove redundant layout.bounds() calls in Image and Svg 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
83c0e0f7a8
Add ContentFit support to Svg widget 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
c910e23919
Expose ContentFit in root 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
6822d1d9f2
Center Image inside available bounds when possible 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
0aff444941
Rename Image::fit to content_fit
... just for consistency!
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8b5c9dfa71
Make documentation of Image::fit consistent 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
395eacfc10
Use a new clipping layer only when necessary in Image::draw 2022-02-16 18:19:36 +07:00
Héctor Ramón Jiménez
c6486978de
Rename image module to content_fit in iced_core
Since we are just exposing the `ContentFit` type and not the module `image` at all.
2022-02-16 18:19:36 +07:00
Emi Simpson
ca1fcdaf14
Add support for ContentFit for Image 2022-02-16 18:19:33 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉 2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
554e0a090e
Add index.html to counter example 2022-02-09 17:50:12 +07:00
Héctor Ramón
313aff5734
Merge pull request #1217 from SynergyBest/master
Fix links
2022-02-08 01:32:40 +07:00
ImgBotApp
c70929bf2c
[ImgBot] Optimize images
*Total -- 967.49kb -> 703.99kb (27.24%)

/docs/images/radio.png -- 5.29kb -> 1.58kb (70.18%)
/docs/images/text_input.png -- 3.18kb -> 1.27kb (60.17%)
/docs/images/checkbox.png -- 5.56kb -> 2.22kb (60.17%)
/examples/color_palette/screenshot.png -- 102.74kb -> 43.75kb (57.42%)
/examples/tour/images/ferris.png -- 32.29kb -> 15.91kb (50.73%)
/docs/graphs/ecosystem.png -- 124.13kb -> 67.44kb (45.67%)
/docs/graphs/iced.png -- 97.75kb -> 53.27kb (45.5%)
/docs/graphs/native.png -- 57.90kb -> 33.67kb (41.85%)
/docs/images/text.png -- 4.95kb -> 2.99kb (39.61%)
/docs/graphs/foundations.png -- 18.19kb -> 11.19kb (38.46%)
/examples/scrollable/screenshot.png -- 144.78kb -> 102.53kb (29.18%)
/examples/svg/resources/tiger.svg -- 67.02kb -> 64.50kb (3.76%)
/docs/logo.svg -- 1.37kb -> 1.35kb (1.57%)
/docs/images/todos_desktop.jpg -- 302.36kb -> 302.33kb (0.01%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-02-07 23:13:29 +07:00
Theo Robinson
4830a17d65
Fix links
Change dead links to updated ones.
Change/Convert all file links to relative links so they are branch
agnostic.
2022-02-07 23:13:25 +07:00
Héctor Ramón
880671e104
Merge pull request #1231 from TannerRogalsky/allow-the-creation-of-unconnected-clipboard
Allow the creation of a clipboard without a window.
2022-02-07 22:53:10 +07:00
Tanner Rogalsky
2e8fb09568 Allow the creation of a clipboard without a window. 2022-02-05 06:55:22 -05:00
Héctor Ramón
c15701581e
Merge pull request #1225 from tarkah/feat/canvas-line-dash
Add line dash API
2022-02-04 14:44:08 +07:00
Héctor Ramón Jiménez
bace264bfe
Access lyon_algorithms indirectly through lyon 2022-02-03 17:19:48 +07:00
Héctor Ramón Jiménez
f56c8a7361
Ask for a slice of segments instead of ownership in LineDash 2022-02-03 17:18:05 +07:00
Héctor Ramón Jiménez
74a64d88e1
Differentiate between question and discussion in issue templates 2022-02-02 15:15:28 +07:00
Héctor Ramón Jiménez
0ce2deff5a
Make titles of issue templates more relatable 2022-02-02 15:04:56 +07:00
Héctor Ramón Jiménez
e068e9cc82
Remove codebase from bug report template
... since a bug report may not necessarily indicate an issue in the
codebase.
2022-02-02 14:52:04 +07:00
Héctor Ramón Jiménez
61543e4c04
Improve description of Discussion contact link 2022-02-02 14:50:47 +07:00
Héctor Ramón Jiménez
b10ad95645
Improve titles of issue templates 2022-02-02 14:47:35 +07:00
Héctor Ramón Jiménez
f99f85f447
Add config.yml to .github/ISSUE_TEMPLATE 2022-02-02 14:45:38 +07:00
Héctor Ramón Jiménez
89812cb9a9
Fix capitalization of title in bug report template 2022-02-02 14:37:57 +07:00
Héctor Ramón Jiménez
375ca7f504
Fix duplicate label field in bug report template 2022-02-02 14:37:23 +07:00
Héctor Ramón Jiménez
bf00b98972
Remove newlines from bug report template 2022-02-02 14:36:54 +07:00
Héctor Ramón Jiménez
dc0ffbfc13
Fix missing closing backtick in bug report template 2022-02-02 14:35:24 +07:00
Héctor Ramón Jiménez
1c6d4f3196
Add issue template for bug reports 2022-02-02 14:34:27 +07:00
Héctor Ramón Jiménez
d95889aca9
Fix default backend in iced_futures
Fixes #1228.
2022-02-01 11:40:58 +07:00