Commit graph

1375 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
07880c392c Turn consecutive if-lets into pattern match 2020-08-27 19:40:42 +02:00
Héctor Ramón Jiménez
7559e4fb30 Set offsets in buffer slices in iced_wgpu 2020-08-27 19:35:24 +02:00
Héctor Ramón Jiménez
8d605be4e3 Use wgpu::Color::TRANSPARENT 2020-08-27 19:30:56 +02:00
Héctor Ramón Jiménez
3eb63762c7 Remove unnecessary create_buffer_init for uniforms 2020-08-27 19:28:03 +02:00
Héctor Ramón Jiménez
b689778ed9 Remove redundant depth bias fields in iced_wgpu 2020-08-27 19:15:05 +02:00
Héctor Ramón Jiménez
bae0a3e46e Update wgpu in integration example 2020-08-27 14:55:41 +02:00
Héctor Ramón Jiménez
bb5f034e08 Fix offset calculation in image::Atlas 2020-08-27 14:45:08 +02:00
Héctor Ramón Jiménez
ecbee66bd6 Fix layers initialization in image::Atlas 2020-08-27 14:44:51 +02:00
Héctor Ramón Jiménez
83e037829c Update image pipeline in iced_wgpu 2020-08-27 13:41:00 +02:00
Héctor Ramón Jiménez
67d90e3946 Update wgpu to 0.6 in iced_wgpu 2020-08-27 13:03:42 +02:00
Héctor Ramón
fb015a85d2
Merge pull request #496 from hecrj/fix/cursor-position-on-leave
Fix cursor position after a `CursorLeft` event
2020-08-25 10:58:15 +02:00
Héctor Ramón
56273c5a3c
Merge pull request #487 from Kaiden42/background
Implement `From<Color>` for `Option<Background>`
2020-08-25 10:54:52 +02:00
Kaiden42
f025794985 Update styling example
Also run `cargo fmt`
2020-08-25 10:42:53 +02:00
Kaiden42
1b980bc6e8 Implement From<Color> for Option<Background> 2020-08-25 10:41:37 +02:00
Héctor Ramón Jiménez
72f89ba77f Fix cursor position after a CursorLeft event 2020-08-25 01:39:54 +02:00
Héctor Ramón Jiménez
2ce5df0844 Merge branch 'feature/rule-widget' into master 2020-08-22 21:25:06 +02:00
Billy Messenger
fed30ef775 added FillMode::fill() 2020-08-22 21:23:50 +02:00
Billy Messenger
32561bd85c added FillMode enum style for the Rule widget 2020-08-22 21:23:44 +02:00
Billy Messenger
8d68c8584e widget Rule added 2020-08-22 21:23:27 +02:00
Héctor Ramón Jiménez
bbc6e91429 Implement hash_layout for pane_grid::TitleBar 2020-08-19 02:03:21 +02:00
Héctor Ramón
2a46ed8753
Merge pull request #484 from atsuzaki/window-transparent-setting
Add 'transparent' in window setting
2020-08-18 20:30:35 +02:00
Katherine Philip
6de9a5e076 Remove debug println & accidentally added whitespace 2020-08-18 05:58:20 +07:00
Katherine Philip
fe75646f82 Add missing comment 2020-08-18 05:54:55 +07:00
Héctor Ramón
24297b11ee
Merge pull request #482 from bitshifter/glam-0.9
Upgrade glam to 0.9 & use glam's Mat4 ortho rh gl.
2020-08-17 21:53:59 +02:00
Héctor Ramón Jiménez
02ca90a22d Invert Y axis in Transformation::orthographic 2020-08-17 18:11:11 +02:00
Katherine Philip
a490fd54c9 Add 'transparent' in window setting 2020-08-17 15:42:50 +07:00
Cameron Hart
b90e5c4e05 Upgrade glam to 0.9 & use glam's Mat4 ortho rh gl. 2020-08-17 12:01:58 +12:00
Héctor Ramón Jiménez
00d66da0ce Add Keyboard variant to canvas::Event 2020-08-10 23:57:29 +02:00
Héctor Ramón Jiménez
9ba4cfd23f Add height method to Slider 2020-08-01 08:18:52 +02:00
Héctor Ramón
72cfe85f7f
Merge pull request #463 from mobile-bungalow/titlebar_options
Added `always_show_controls` method to TitleBar
2020-07-31 06:55:55 +02:00
Héctor Ramón Jiménez
ac74f35424 Clarify TitleBar::always_show_controls docs a bit 2020-07-31 06:43:51 +02:00
Héctor Ramón Jiménez
ab0da5dad0 Move always_show_controls after padding 2020-07-31 06:43:27 +02:00
Héctor Ramón Jiménez
174565715e Fix typo in TitleBar::new 2020-07-31 04:23:55 +02:00
Héctor Ramón
869fa6baa8
Merge pull request #462 from hecrj/improvement/update-glow
Update `glow` to `0.5` in `iced_glow`
2020-07-31 02:48:01 +02:00
Héctor Ramón Jiménez
4ab9992bf8 Unfocus TextInput when Escape key is pressed 2020-07-30 00:52:02 +02:00
Héctor Ramón Jiménez
51c22f2426 Fix Widget::layout for Checkbox 2020-07-28 08:23:44 +02:00
Héctor Ramón Jiménez
5fd239c488 Add custom font support to Checkbox 2020-07-28 08:21:33 +02:00
Héctor Ramón Jiménez
795da598e0 Update glow to 0.5 in iced_glow 2020-07-27 23:01:30 +02:00
mobile-bungalow
7977e970ca Added method to TitleBar, allowing controls to be show statically instead of only on mouseover 2020-07-27 01:17:02 -07:00
Héctor Ramón Jiménez
55d2c5886f Introduce state method to TextInput 2020-07-24 19:20:46 +02:00
Héctor Ramón Jiménez
a165eddd75 Avoid PaneGrid unfocus when cursor is unavailable 2020-07-23 04:44:35 +02:00
Héctor Ramón Jiménez
a225a218e0 Fix Default implementation for pick_list::State 2020-07-23 04:06:26 +02:00
Héctor Ramón Jiménez
aaf5986123 Improve Menu API to facilitate external control 2020-07-23 03:58:59 +02:00
Héctor Ramón Jiménez
bf5eaca2f2 Fix hash_layout implementation of Menu overlay 2020-07-23 03:28:22 +02:00
Héctor Ramón Jiménez
d4ef470b4f Add new method to menu::State 2020-07-23 03:27:21 +02:00
Héctor Ramón Jiménez
3d91926a74 Keep original focus state while a pane is dragged 2020-07-22 03:40:17 +02:00
Héctor Ramón Jiménez
35b1b8b0e7 Add focused method to pane_grid::State 2020-07-22 02:58:14 +02:00
Héctor Ramón Jiménez
021b173ef3 Add newline before Marker in pane_grid 2020-07-22 02:55:35 +02:00
Héctor Ramón Jiménez
9b778006ce Fix border rendering of transparent Container
Fixes #452
2020-07-18 03:05:14 +02:00
Héctor Ramón Jiménez
4030326a35 Handle ScaleFactorChanged in iced_winit 2020-07-16 18:18:36 +02:00