Commit graph

2616 commits

Author SHA1 Message Date
Héctor Ramón
3c9af1eb31
Merge pull request #1227 from LordRatte/feature-colour-macro
`color!` macro
2022-09-23 20:26:53 +02:00
Héctor Ramón Jiménez
be5964db83
Write documentation for color! macro 2022-09-23 20:11:43 +02:00
Héctor Ramón Jiménez
b8401c61a1
Export color! macro in iced and iced_native 2022-09-23 20:10:35 +02:00
Joshua
82cf8d2d12
Macro for easy colour generation 2022-09-23 20:09:03 +02:00
Héctor Ramón
bfd24c27db
Merge pull request #1174 from daladim/icon_from_file
Added convenience functions for window::icon::Icon
2022-09-23 20:02:57 +02:00
Héctor Ramón
489a85518b
Merge pull request #1444 from iced-rs/fix/clippy-lints
Fix latest `clippy` lints
2022-09-23 18:04:16 +02:00
Héctor Ramón
35cf105072
Merge pull request #1136 from xkenmon/feature/example-sierpinski-triangle
Implement sierpinski-triangle example
2022-09-23 17:54:36 +02:00
Héctor Ramón Jiménez
3e82ab069e
Fix latest clippy lints 2022-09-23 17:51:42 +02:00
xkenmon
79d045cfe1
Implement sierpinski-triangle example 2022-09-23 17:41:34 +02:00
Héctor Ramón
7420ea7a6b
Merge pull request #1107 from RamType0/TextContentByCow
Text content by cow
2022-09-21 21:11:54 +02:00
Ram.Type-0
ce3b89639d
Take Cow in Text::new 2022-09-21 20:59:17 +02:00
Héctor Ramón
f15bc3ca34
Merge pull request #1425 from 0x192/master
Make `overlay::menu` accessible
2022-09-21 13:26:02 +02:00
Héctor Ramón Jiménez
7a35d1cec0
Expose overlay::Element 2022-09-21 13:09:30 +02:00
Héctor Ramón Jiménez
183b925c95
Fix doc comments in overlay 2022-09-21 12:58:56 +02:00
0x192
214f6f9cba
Make menu style accessible 2022-09-21 12:58:56 +02:00
Héctor Ramón
a22cdc9aa5
Merge pull request #1437 from wash2/window_size_sync
fix: sync size of window and viewport
2022-09-20 19:03:00 +02:00
Héctor Ramón Jiménez
1bfd032169
Improve code styling in application::State 2022-09-20 18:40:36 +02:00
Héctor Ramón
cbe7200b54
Merge pull request #1440 from ids1024/move
Document that `window::Action::Move` is unsupported on Wayland
2022-09-20 15:26:10 +02:00
Ian Douglas Scott
4a6fd6b5bc Document that window::Action::Move is unsupported on Wayland
https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_outer_position
notes that this isn't supported on Wayland.

Wayland by design doesn't allow applications to position windows
arbitrarily. GTK4 in comparison removed `gtk_window_move()` (which
naturally didn't work on Wayland).
2022-09-15 12:08:39 -07:00
Héctor Ramón Jiménez
4655411256
Make Cache::clear immutable 2022-09-13 17:38:44 +02:00
Ashley Wulber
b113bb8a09
fix: formatting 2022-09-10 23:14:47 -04:00
Ashley Wulber
8de87b8f1b
fix: sync size of window and viewport 2022-09-10 22:43:09 -04:00
Héctor Ramón
cb395abd19
Merge pull request #1433 from 13r0ck/integration-docs
Update docs for renamed integration examples
2022-09-08 09:11:12 +02:00
Héctor Ramón
dcdbe1b0f4
Merge pull request #1434 from fralonra/patch-3
Update docs for running `integration_wgpu` example
2022-09-08 09:10:26 +02:00
Zoron
ef39d85696
Update docs for running integration_wgpu example 2022-09-08 13:58:28 +08:00
13r0ck
92958e49ad Update docs for renamed integration examples
The integration examples were renamed in
77a0b68aa1 , this just updates the
docs to point to the updates links.
2022-09-07 14:50:58 -06:00
Héctor Ramón
d659811964
Merge pull request #1429 from pheki/remove-pure-docs-rs
Remove old pure feature from docs.rs build metadata
2022-09-07 10:31:02 +02:00
Aphek
8ad6889ee0 Remove old pure feature from docs.rs build metadata 2022-08-31 22:53:42 -03:00
Héctor Ramón
ab1ac8228f
Merge pull request #1410 from wyatt-herkamp/0.27_update
Update `winit` to `0.27` and `glutin` to `0.29`
2022-08-29 14:50:40 +02:00
Héctor Ramón Jiménez
28a30079d1
Return Mode::Hidden in window::Action::FetchMode
... when the window is not visible.
2022-08-29 14:24:03 +02:00
Wyatt Herkamp
7ec4747304
Update winit and glutin forks 2022-08-29 14:20:02 +02:00
Héctor Ramón
94fc3d993e
Merge pull request #1424 from mtkennerly/bugfix/pane-grid-undraggable-area-when-cramped
When pane grid title bar is cramped, still show content until hover and allow dragging where content would've been
2022-08-27 11:53:36 +02:00
Matthew Kennerly
ea2df18147
When pane grid title bar is cramped, still show content until hover and allow dragging where content would've been 2022-08-27 06:25:12 +08:00
Héctor Ramón
4158a9a0cd
Merge pull request #1423 from iced-rs/feature/element-explain
Reintroduce `Element::explain`
2022-08-26 20:19:15 +02:00
Héctor Ramón
59bccb4ca1
Merge pull request #1422 from iced-rs/fix/invisible-window
Fix invisible window on Windows
2022-08-26 20:10:14 +02:00
Héctor Ramón
94687696aa
Merge pull request #1421 from iced-rs/fix/tooltip-mouse-interaction
Fix incorrect layout in `mouse_interaction` for `Tooltip`
2022-08-26 20:05:38 +02:00
Héctor Ramón Jiménez
a07cb8588f
Reintroduce Element::explain 2022-08-26 20:04:02 +02:00
Héctor Ramón Jiménez
c08c78ad17
Fix invisible window on Windows
... by reverting the changes that were supposed to hide the window
initially and only show it after rendering the first frame.
2022-08-26 19:48:40 +02:00
Héctor Ramón Jiménez
a5209f24e4
Fix incorrect layout in mouse_interaction for Tooltip 2022-08-26 19:44:22 +02:00
Héctor Ramón
da7e859840
Merge pull request #1389 from iced-rs/refactor-window-mode
Replace `window::Mode` with window commands
2022-08-18 15:03:56 +02:00
Héctor Ramón Jiménez
11f5527d76
Implement SetMode and FetchMode window actions 2022-08-18 14:39:15 +02:00
Héctor Ramón Jiménez
277b848ad8
Remove window::Mode and introduce Settings::visible
Additionally, only show the window once one frame has been rendered to avoid blank flashes on Windows.
2022-08-18 14:09:20 +02:00
Héctor Ramón
07cbed1064
Merge pull request #1414 from tarkah/fix/tooltip-inside-scrollable
Don't constrict tooltip text layout to viewport size
2022-08-17 20:59:28 +02:00
Cory Forsstrom
efd3705c41 Don't constrict tooltip text layout to viewport size 2022-08-17 10:00:36 -07:00
Héctor Ramón
bf7ea8121c
Merge pull request #1405 from tarkah/fix/tooltip-inside-scrollable
Fix Tooltip inside Scrollable
2022-08-17 16:34:49 +02:00
Cory Forsstrom
1ae3a94de2
Add snap within viewport builder 2022-08-17 16:15:24 +02:00
Cory Forsstrom
3fe2e14a42
Don't clip tooltip 2022-08-17 16:15:24 +02:00
Héctor Ramón
f728d6c059
Merge pull request #1409 from wuxianucw/master
Relax `Fn` trait bounds in `Command` & `Action`
2022-08-17 16:09:56 +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
23229e00f6
Use FnOnce in Command::perform
... and revert `FnMut` usage.
2022-08-17 15:54:31 +02:00