Commit graph

5773 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
695cb5ad42 Use different artifact name per platform 2019-11-15 00:09:38 +01:00
Héctor Ramón Jiménez
d13b67ff51 Fix echo in Build workflow on Windows 2019-11-14 23:51:09 +01:00
Héctor Ramón Jiménez
32b7ca1443 Add Build workflow to generate todos binaries 2019-11-14 23:41:57 +01:00
Héctor Ramón Jiménez
b59b5ad0e9 Rename Integration workflow to Test 2019-11-14 23:41:41 +01:00
Héctor Ramón Jiménez
fb49679a04 Remove Install libinput step from CI workflow 2019-11-14 23:31:55 +01:00
Héctor Ramón
c8d4774704
Merge pull request #56 from hecrj/example/filter-todos
Draw checkmark icon and filter todos
2019-11-14 06:48:32 +01:00
Héctor Ramón
af5ec49412
Merge pull request #55 from hecrj/example/edit-todos
Edit and delete todos
2019-11-14 06:48:12 +01:00
Héctor Ramón
a16dab9cf2
Merge pull request #54 from hecrj/feature/external-fonts
Custom font support
2019-11-14 06:47:43 +01:00
Héctor Ramón
bc8d347736
Merge pull request #52 from hecrj/custom-layout-engine
Custom layout engine
2019-11-14 06:46:50 +01:00
Héctor Ramón Jiménez
2c8ba652a7 Draw proper checkmark for Checkbox in iced_wgpu 2019-11-14 03:34:41 +01:00
Héctor Ramón Jiménez
66bb2f7cbf Add filter controls to todos example 🎉 2019-11-14 03:03:50 +01:00
Héctor Ramón Jiménez
00479d8bcd Fix text bounds in iced_wgpu on nonintegral DPI 2019-11-14 03:00:57 +01:00
Héctor Ramón Jiménez
be5466a0a7 Remove argument from text_input::State::focused 2019-11-13 07:57:22 +01:00
Héctor Ramón Jiménez
cf3c53a063 Implement task edition/deletion in todos example 2019-11-13 07:39:29 +01:00
Héctor Ramón Jiménez
657e513651 Implement text_input::State::focused 2019-11-13 07:38:06 +01:00
Héctor Ramón Jiménez
621e5a55b7 Loosen layout::Limits for Container children 2019-11-13 07:37:42 +01:00
Héctor Ramón Jiménez
ef15a6b027 Fix Widget::width implementation of Checkbox 2019-11-13 07:37:13 +01:00
Héctor Ramón Jiménez
2337029602 Remove default styling of Button
- A background will only show if explicitly set.
- `iced_wgpu` won't apply a `min_width` of 100 units anymore.
2019-11-13 07:36:50 +01:00
Héctor Ramón Jiménez
6857829dc3 Draft Font type and implement Text::font 2019-11-13 07:22:21 +01:00
Héctor Ramón Jiménez
f0b1e65ba4 Move text logic in iced_wgpu to a text module 2019-11-13 03:54:36 +01:00
Héctor Ramón Jiménez
73f3c90007 Load default font only in measurement cache 2019-11-11 21:33:05 +01:00
Héctor Ramón Jiménez
60774740ef Fix doc comments and remove Align from tour 2019-11-11 07:11:41 +01:00
Héctor Ramón Jiménez
860a6923bb Split text measurements cache from rendering cache
This speeds up layouting in the most common scenario considerably!
🎉
2019-11-11 06:07:31 +01:00
Héctor Ramón Jiménez
d4d14b68f4 Remove padding from Container for now 2019-11-11 05:37:51 +01:00
Héctor Ramón Jiménez
ceb02f4a36 Implement Container widget
Remove `align_self` and `justify_content` methods
2019-11-11 05:26:08 +01:00
Héctor Ramón Jiménez
bfe19193b9 Fix integer overflow in flex::resolve 2019-11-11 03:20:33 +01:00
Héctor Ramón Jiménez
0240c3981b Draft custom layout engine based on druid 2019-11-11 03:08:00 +01:00
Héctor Ramón Jiménez
2303111e09 Draft new layout API 2019-11-10 01:55:32 +01:00
Héctor Ramón
839e039dbf
Merge pull request #49 from hecrj/feature/control-window-title
Allow applications to control the window title
2019-11-09 19:29:23 +01:00
Héctor Ramón Jiménez
e953b1828d Allow applications to control the window title
`iced_winit` will change the window title dynamically at runtime!
2019-11-09 05:10:10 +01:00
Héctor Ramón
e66d38403d
Merge pull request #47 from hecrj/improvement/text-performance
Improve text rendering performance in some scenarios
2019-11-08 22:40:16 +01:00
Héctor Ramón
b31a80f2c0
Merge pull request #45 from memoryruins/smol-changes
Minor clean-up
2019-11-08 00:54:05 +01:00
memoryruins
786ac31c02 use String::clone in todo example 2019-11-07 18:17:48 -05:00
Héctor Ramón
59ef7f074c
Merge pull request #46 from memoryruins/from-array
impl From<Array> for Color
2019-11-07 17:44:27 +01:00
Héctor Ramón
6790f4b6e3
Merge pull request #44 from hecrj/improvement/update-wgpu
Update `wgpu` to `0.4` in `iced_wgpu`
2019-11-07 17:34:28 +01:00
memoryruins
b9398d2df8 minor changes to text_input's use of iterators 2019-11-07 01:07:00 -05:00
memoryruins
e7bd24c13e use Color's From impl in more places 2019-11-07 01:03:29 -05:00
memoryruins
58bd0824bf impl From<Array> for Color 2019-11-07 01:02:20 -05:00
Héctor Ramón Jiménez
79f31b66c3 Increase initial size of text cache in iced_wgpu
This reduces the amount of cache updates in general when text changes.

The new cache should take 4MB of VRAM. I think this is reasonable for a
modern GUI toolkit. In any case, we should be able to reduce this value in the
future.
2019-11-07 06:59:27 +01:00
Héctor Ramón Jiménez
5fd0c724b2 Align text position to pixel grid in iced_wgpu
This avoids re-rasterizing glyphs and cache reuploads when the HiDPI factor is
nonintegral.
2019-11-07 06:51:42 +01:00
Héctor Ramón Jiménez
8dc4bd5a1d Update wgpu to 0.4 in iced_wgpu 2019-11-07 02:38:34 +01:00
Héctor Ramón
d568d05df4
Merge pull request #43 from hecrj/fix/clip-primitive-overflow
Fix integer overflow with nested clip primitives
2019-11-07 02:29:15 +01:00
Héctor Ramón Jiménez
904818ccb0 Floor layer coords to avoid excessive clipping 2019-11-07 02:05:11 +01:00
Héctor Ramón Jiménez
8074bca8a0 Fix integer overflow with nested clip primitives 2019-11-06 21:34:57 +01:00
Héctor Ramón
efa8d267b8
Merge pull request #40 from hecrj/feature/hidpi-support
HiDPI support
2019-11-06 20:34:58 +01:00
Héctor Ramón Jiménez
6216f197e9 Fix panic in Transformation::scale 2019-11-06 19:35:28 +01:00
Héctor Ramón Jiménez
2026048053 Remove hardcoded HiDPI scaling 2019-11-06 02:47:01 +01:00
Matthias Fauconneau
1e021fd034 Fix Tour for HiDPI (stub) 2019-11-06 02:43:38 +01:00
Héctor Ramón Jiménez
7b4fe6b7cc Merge branch 'master' into feature/hidpi-support 2019-11-05 21:47:01 +01:00
Héctor Ramón
ae6156f779
Merge pull request #38 from hecrj/feature/performance-metrics
Debug view
2019-11-05 21:46:37 +01:00