Commit graph

4281 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
f39a5fd895
Use TypeId to identify subscription::Map 2024-02-05 00:52:16 +01:00
Héctor Ramón Jiménez
e14e8e2e9a
Fix new beta toolchain warnings 2024-02-05 00:51:51 +01:00
Héctor Ramón Jiménez
8792fc0bb7
Fix unused import in game_of_life example 2024-02-05 00:26:47 +01:00
Héctor Ramón Jiménez
854e967a26
Fix unused Instant in game_of_life example 2024-02-05 00:25:40 +01:00
Héctor Ramón
878134883e
Merge pull request #2170 from varbhat/vbt/colorpalettes
Add Nord, Dracula, Solarized and Gruvbox themes
2024-02-03 19:07:06 +01:00
Héctor Ramón Jiménez
ed02c1b24d
Capitalize theme names in docs of Theme 2024-02-03 18:56:33 +01:00
Héctor Ramón Jiménez
25779358b6
Update CHANGELOG 2024-02-03 18:54:16 +01:00
Héctor Ramón Jiménez
ed159cb963
Fix import style in style::theme::palette 2024-02-03 18:52:48 +01:00
Héctor Ramón Jiménez
17cb548e20
Use Theme::ALL for theme selector in styling example 2024-02-03 18:51:30 +01:00
Héctor Ramón Jiménez
5770efe06d
Capitalize theme names in style::theme::palette 2024-02-03 18:41:06 +01:00
Héctor Ramón Jiménez
fb646a7f14
Make color! macro const-friendly 2024-02-03 18:37:42 +01:00
Var Bhat
04b9dc4e2d
Add Dracula, Nord, Solarized and Grubvox variants to Theme 2024-02-03 18:29:25 +01:00
Var Bhat
6492d9d927
make color! macro expand hex as Color directly 2024-02-03 18:25:03 +01:00
Héctor Ramón
6756594fc6
Merge pull request #2147 from Remmirad/mouse_area_hover_events
Add mouse move events to MouseArea
2024-02-03 18:17:42 +01:00
Héctor Ramón Jiménez
3da6afdc41
Update CHANGELOG 2024-02-03 18:06:50 +01:00
Héctor Ramón Jiménez
8ea85f3b12
Use Fn instead of FnMut in MouseArea
... and simplify event logic a bit.
2024-02-03 18:05:40 +01:00
Remmirad
bd13c580f0
Fix lints 2024-02-03 17:52:48 +01:00
Remmirad
ce23498edf
Add mouse move events to MouseArea 2024-02-03 17:52:39 +01:00
Héctor Ramón
1d58d44fad
Merge pull request #2146 from Decodetalkers/customaction
feat: somewhere to place extra actions by platform
2024-02-03 15:23:06 +01:00
Héctor Ramón Jiménez
4375e4b83c
Update CHANGELOG 2024-02-03 15:12:56 +01:00
Héctor Ramón Jiménez
ece50a1a95
Organize imports in runtime::command::action 2024-02-03 15:12:07 +01:00
Héctor Ramón Jiménez
2656906903
Rename PlateformSpecific variant in Action to Custom 2024-02-03 15:10:45 +01:00
ShootingStarDragons
6e97595d95
feat: somewhere to place extra actions by platform
I have view iced-sckt forked iced, and add the extra actions. and there
do are some extra actions, like set margin for layer-shell, set lock for
ext-session-shell. I think add an any will be of help maybe
2024-02-03 14:54:59 +01:00
Héctor Ramón
0b2c9db228
Merge pull request #2140 from blazra/master
Improve `TextEditor` slow scrolling behavior with touchpads
2024-02-03 14:28:54 +01:00
Héctor Ramón Jiménez
719798441d
Fix clippy lints 2024-02-03 14:19:08 +01:00
Héctor Ramón Jiménez
db9ca1a147
Run cargo fmt 2024-02-03 14:18:11 +01:00
Héctor Ramón Jiménez
066ee088d9
Update CHANGELOG 2024-02-03 14:15:40 +01:00
Radovan Blažek
79a348464e
Improve TextEditor slow scrolling behavior with touchpads.
If you scroll by only a fraction of a line, the TextEditor
stores this fraction and adds it on the next scroll event.
2024-02-03 14:14:50 +01:00
Héctor Ramón Jiménez
358f004fa0
Update CHANGELOG 2024-02-02 16:26:00 +01:00
Héctor Ramón
1049fbbb1c
Merge pull request #2223 from brianch/fix-sysinfo-example
Small fix to the Information struct docs and fix memory info. in the system_information example.
2024-02-02 16:15:40 +01:00
Héctor Ramón Jiménez
aa153d04e7
Update CHANGELOG 2024-02-02 16:04:12 +01:00
brianch
701bf22af6
The memory information is returned in bytes and not kb.
Fix the documentation of the Information struct, and the example
system_information that uses it.

Co-authored-by: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com>
2024-02-02 16:02:17 +01:00
Héctor Ramón
aea172543c
Merge pull request #2120 from iced-rs/transform-primitive
`Transform` primitive
2024-02-02 14:54:56 +01:00
Héctor Ramón Jiménez
b3adf31845
Apply Transformation to RawText primitives 2024-02-02 14:43:04 +01:00
Héctor Ramón Jiménez
a06682ff42
Use with_translation wherever possible 2024-02-02 14:31:17 +01:00
Héctor Ramón Jiménez
d8dffa411b
Transform clip_bounds in wgpu::text 2024-02-02 02:31:47 +01:00
Héctor Ramón Jiménez
7cba9a3e7f
Implement loupe example 2024-02-02 02:27:25 +01:00
Héctor Ramón Jiménez
f4d6648601
Introduce with_transformation to Renderer trait 2024-02-02 02:24:45 +01:00
Héctor Ramón Jiménez
a6e91d13d5
Allow only uniform scaling in Transformation 2024-02-02 01:57:03 +01:00
Héctor Ramón Jiménez
aa41d7656e
Apply Transform scaling to text primitives 2024-02-02 01:55:32 +01:00
Héctor Ramón Jiménez
9b8614a4e2
Implement transform method for Geometry 2024-02-02 01:53:28 +01:00
Héctor Ramón Jiménez
5467c19c80
Replace Primitive::Translate with Transform 2024-02-02 01:53:23 +01:00
Héctor Ramón
759f0e9225
Merge pull request #2109 from avsaase/feat/checkbox-disabled
Add option to disable checkbox
2024-02-01 13:51:11 +01:00
Héctor Ramón Jiménez
b0d40d70a0
Update CHANGELOG 2024-02-01 13:27:17 +01:00
Héctor Ramón Jiménez
021faf20ea
Simplify draw logic in Checkbox 2024-02-01 13:24:58 +01:00
Héctor Ramón Jiménez
faeb4536b3
Simplify on_toggle_maybe for Checkbox 2024-02-01 13:22:14 +01:00
Héctor Ramón Jiménez
4afe1c7111
Fix spacing in checkbox example 2024-02-01 13:16:34 +01:00
Héctor Ramón Jiménez
dfe1780128
Use then_some instead of then in checkbox example 2024-02-01 13:16:34 +01:00
Héctor Ramón Jiménez
d0e94419b5
Use strong background for Secondary checkbox accent 2024-02-01 13:16:34 +01:00
Héctor Ramón Jiménez
8a0632d5ba
Simplify checkbox example 2024-02-01 13:16:34 +01:00