Commit graph

596 commits

Author SHA1 Message Date
Michael Aaron Murphy
0249640213
feat: Add Color::into_rgb8 2022-12-06 03:59:53 +01:00
Héctor Ramón Jiménez
23299a555f
Bump versions 🎉 2022-11-10 18:15:10 +01:00
Héctor Ramón Jiménez
a6298ba12c
Fix outdated links in documentation 2022-11-10 18:14:40 +01:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉 2022-11-10 01:20:11 +01:00
Héctor Ramón Jiménez
04087b2a86
Remove redundant std::convert namespace in padding 2022-11-08 04:11:45 +01:00
Héctor Ramón Jiménez
24d031b51c
Cast to u16 first then divide by 2 in Padding::fit 2022-11-08 04:11:06 +01:00
Héctor Ramón Jiménez
7476663069
Rename Padding::constrain to fit 2022-11-08 03:56:05 +01:00
Cory Forsstrom
2c103f8654 Constrain padding to inner & outer sizes 2022-10-27 11:50:12 -07:00
Héctor Ramón Jiménez
be5964db83
Write documentation for color! macro 2022-09-23 20:11:43 +02:00
Joshua
82cf8d2d12
Macro for easy colour generation 2022-09-23 20:09:03 +02:00
Héctor Ramón Jiménez
b0705d2f4c
Fix latest clippy lints 2022-08-17 16:09:25 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
6fe6daa64f
Add html_logo_url to iced_core and iced_lazy 2022-05-02 20:33:10 +02:00
Héctor Ramón Jiménez
aecbd46123
Replace hecrj in links with iced-rs 2022-05-02 20:26:59 +02:00
Héctor Ramón Jiménez
68e9eb0a9b
Fix broken intra-doc links in documentation 2022-04-30 14:20:52 +02:00
Héctor Ramón Jiménez
ac35fe3edf
Point repository links to 0.4 branch in documentation 2022-04-30 13:54:07 +02:00
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
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
1a737b8e20
Replace Zulip links with Discord 2022-01-31 21:18:39 +07:00
Héctor Ramón Jiménez
e730d97f61
Implement time module for wasm-bindgen backend in iced_futures 2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
83c649b574
Move time module from iced_native to iced_core 2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
8f97619785
Simplify version of the palette dependency 2022-01-12 20:05:05 +07:00
LordRatte
ff2a470fd8
Change GitHub namespace to new org for all files 2022-01-03 11:36:13 +07:00
Imbris
f86d96be0f Include alignment in the container layout hash 2021-12-06 14:27:24 -05:00
Héctor Ramón Jiménez
343f9b7e2e
Merge iced_core::text with iced_native::text 2021-11-04 18:28:06 +07: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
Cory Forsstrom
be51cac3d7
Add Align::Fill variant 2021-09-20 15:11:06 +07:00
Héctor Ramón
099981cfc2
Merge pull request #1047 from iced-rs/revert-menus
Revert system menus support
2021-09-15 15:50:25 +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
643500bbdf
Use Option to encode empty text case in hit test methods 2021-09-15 14:49:13 +07:00
Héctor Ramón Jiménez
7614127d36
Rename HitTestResult to Hit
... and also move it to a new `text` module in `iced_core`
2021-08-26 14:41:33 +07:00
Tom
aa63841e2c Implement textual hit testing 2021-08-21 10:31:26 -07:00
Héctor Ramón Jiménez
bbdc3dbfef
Introduce COMMAND constant to keyboard::Modifiers 2021-07-27 12:54:39 +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
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 Jiménez
31997d255f
Store and synchronize Menu in application::State 2021-07-12 22:28:18 +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
Richard
9fc5ad23ed Initial menu implementation 2021-07-05 16:24:10 -03:00
Héctor Ramón
5224cc7f26 Floor width and height in Rectangle::floor 2021-06-09 21:30:20 +07:00
Héctor Ramón
8a3b71df8b Replace ignored doc-tests with additional documentation for Padding 2021-06-01 19:45:47 +07:00
Héctor Ramón
b94cd7a2a8 Use Padding::horizontal and Padding::vertical helpers 2021-06-01 19:21:43 +07:00
Héctor Ramón
d83e263abe Introduce vertical and horizontal methods to Padding 2021-06-01 19:13:11 +07:00
Ben LeFevre
fe0a27c56d Add support for asymmetrical padding 2021-06-01 19:05:39 +07:00