Commit graph

1864 commits

Author SHA1 Message Date
Billy Messenger
6c179379a0 tweak default rule style 2021-08-12 09:57:59 -05:00
Héctor Ramón
0f5242a728
Merge pull request #654 from atbentley/hide-titlebar-macos
Hide titlebar on macos
2021-08-12 21:04:20 +07:00
Héctor Ramón Jiménez
e3f170a341
Fix minor formatting nitpicks 2021-08-12 20:47:16 +07:00
Héctor Ramón Jiménez
853e938096
Convert empty struct PlatformSpecific into empty type 2021-08-12 20:46:38 +07:00
Andrew Bentley
bbe5fe9d71
Add PlatformSpecific winit settings for macOS 2021-08-12 20:44:11 +07:00
Héctor Ramón
a7c40665fe
Merge pull request #652 from twitchyliquid64/text_input_fix
text_input: Do not capture Tab/Up/Down keys
2021-08-12 12:58:08 +07:00
Héctor Ramón
86f5e56c55
Merge pull request #517 from Kaiden42/embedded
iced_web: Add an option to select the element
2021-08-12 12:31:19 +07:00
Héctor Ramón
3d640632f1
Merge pull request #599 from oknozor/wayland-app-id
Add wayland app_id
2021-08-11 20:15:49 +07:00
Héctor Ramón Jiménez
7337ab63bc
Introduce explicit id field to Settings
... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application.
2021-08-11 19:48:55 +07:00
Paul Delafosse
e3bc050aae
Match winit unix targets for wayland app_id 2021-08-11 19:16:31 +07:00
Paul Delafosse
0586e48c70
Add wayland app_id
see: 4ed0cafeef/stable/xdg-shell/xdg-shell.xml (L640)
2021-08-11 19:16:30 +07:00
Héctor Ramón
45778ed598
Merge pull request #667 from BillyDM/wgpu_outdatedframe
Don't panic when wgpu swapchain frame is outdated
2021-08-05 14:44:32 +07:00
Héctor Ramón Jiménez
3e03a42bc6
Use thiserror to derive Error for SwapChainError 2021-08-04 21:52:02 +07:00
Héctor Ramón
63bdbf817e
Merge pull request #978 from ATiltedTree/use-preffered-format
wgpu: Use the preferred texture format of the surface
2021-08-04 18:48:19 +07:00
Héctor Ramón Jiménez
f3916decf2
Fix typo in integration example 2021-08-04 18:20:25 +07:00
Tilmann Meyer
d7975a9de5
wgpu: Use the preferred texture format of the surface
Signed-off-by: Tilmann Meyer <me@atiltedtree.dev>
2021-08-03 11:30:45 +02:00
Héctor Ramón
cdd2f247f8
Merge pull request #980 from yamadapc/fix-glow-context-multiple-windows
Fix glow and multiple windows usage
2021-08-03 15:12:59 +07:00
yamadapc
77a6506710 Fix glow and multiple windows usage
The context might not be current at redraw
2021-08-03 06:36:51 +10:00
Héctor Ramón
a08e4ebccb
Merge pull request #971 from tarkah/fix/pane-dragging-overlay
fix: allow titlebar overlays to close when dragging pane
2021-07-28 15:47:13 +07:00
Héctor Ramón Jiménez
6618c6bdd9
Simplify is_picked expression in pane_grid 2021-07-28 15:36:30 +07:00
Cory Forsstrom
be65a847b0 Prevent body events pane is picked / dragging 2021-07-27 15:41:45 -07:00
Cory Forsstrom
2a49e415d2 Fix overlay in titlebar when initiating drag 2021-07-27 15:25:28 -07:00
Héctor Ramón
2586210259
Merge pull request #967 from hecrj/feature/command-keyboard-modifier
Introduce `COMMAND` constant to `keyboard::Modifiers`
2021-07-27 13:14:41 +07:00
Héctor Ramón
f94b50021d
Merge pull request #966 from hecrj/pick-list-scroll-modifier
Allow `PickList` selection with mouse scroll only if command is pressed
2021-07-27 13:00:57 +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
78b345bc59
Allow PickList selection with mouse scroll only if command is pressed
This should avoid unintended interactions when using a `PickList` inside
a `Scrollable`
2021-07-27 12:48:14 +07:00
Héctor Ramón
1cef6a2a58
Merge pull request #965 from tarkah/feature/window-event-moved
Add window::Event::Moved
2021-07-27 08:40:49 +07:00
Cory Forsstrom
81eb3c276d Add window::Event::Moved 2021-07-26 12:36:13 -07:00
Billy Messenger
b629a80254 small documentation error 2021-07-22 13:26:27 -05:00
Billy Messenger
e5010b8ab8 redo custom error for Compositor::draw() 2021-07-22 13:23:36 -05:00
Billy Messenger
a7d2834a6d add custom error for Compositor::draw() 2021-07-22 13:08:13 -05:00
Billy Messenger
191288771f only panic when wgpu gives OutOfMemory swapchain error 2021-07-22 12:38:56 -05:00
Billy Messenger
e822f654e4 Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe 2021-07-22 12:37:39 -05:00
Héctor Ramón
dc0b96ce40
Merge pull request #872 from 13r0ck/master
add scrolling to pick_lists
2021-07-22 21:38:22 +07:00
Héctor Ramón Jiménez
46aab24d91
Enable scroll selection for PickList only when scroll is discrete 2021-07-22 21:28:21 +07:00
Héctor Ramón Jiménez
6069e90c9b
Abstract and improve scroll logic in PickList 2021-07-22 21:15:35 +07:00
Héctor Ramón
587dbbca42
Merge pull request #776 from AldoMX/master
Added `select_all` method to `TextInput`.
2021-07-22 20:48:03 +07:00
Héctor Ramón Jiménez
72d5d9b4bd
Add newline to todos example
... just for readability
2021-07-22 20:37:12 +07:00
Héctor Ramón Jiménez
29cc840cfa
Add empty select_all implementation for TextInput in iced_web 2021-07-22 20:32:54 +07:00
Héctor Ramón
f076649fbb
Merge pull request #888 from Ace4896/picklist-placeholder
Add Placeholders to PickList
2021-07-22 20:32:43 +07:00
Héctor Ramón Jiménez
a866f8742e
Avoid cloning placeholder for PickList unnecessarily during draw 2021-07-22 20:22:38 +07:00
Héctor Ramón Jiménez
1b36068847
Introduce placeholder_color to pick_list::Style 2021-07-22 20:22:32 +07:00
Héctor Ramón Jiménez
26b2a824a9
Remove duplication of measuring logic in PickList 2021-07-22 20:09:13 +07:00
Héctor Ramón Jiménez
45bd685f7c
Hash placeholder in hash_layout implementation for PickList 2021-07-22 19:13:00 +07:00
Jon Pacheco
9c75ddcb33
feat: add placeholder to pick_list example 2021-07-22 19:13:00 +07:00
Jon Pacheco
fa433743b3
feat: add placeholders to pick_list
see issue #726
2021-07-22 19:12:56 +07:00
Héctor Ramón
a2b1ba522a
Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithread
feat: expose draw_cache_multithread as a feature
2021-07-22 18:39:37 +07:00
Héctor Ramón
82488de3ab
Merge pull request #885 from Chiheisen/master
image viewer: Only calculate viewport based width/length for Length::Unit|Shrink
2021-07-22 18:37:11 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings 2021-07-22 18:27:33 +07:00
Héctor Ramón Jiménez
217f5be827
Add text_multithreading to Settings in iced_glow and iced_wgpu 2021-07-22 18:21:50 +07:00