Commit graph

76 commits

Author SHA1 Message Date
Héctor Ramón
6c145bbb23
Merge pull request #95 from Friz64/scrolling-behaviour
Make scrolling behave like you'd expect it to
2019-12-04 01:14:13 +01:00
Friz64
2cd517c099 Correct documentation oversight 2019-12-03 15:19:59 +01:00
Héctor Ramón Jiménez
31e3b6fbcb Unify logic by introducing scrollable::Scrollbar 2019-12-03 06:49:31 +01:00
Friz64
6943041e0f Address suggestions 2019-12-02 19:12:05 +01:00
Friz64
9a733bb3c8 Support null renderer 2019-12-02 19:12:05 +01:00
Friz64
c12ba14dda Move scrolling percentage logic to separate function 2019-12-02 19:12:05 +01:00
Friz64
f8fac432c6 Finalize work 2019-12-02 19:10:07 +01:00
Friz64
5eec3a8867 First implementation 2019-12-02 19:09:17 +01:00
Nicholas Pienta
f9abee391d Added path to image hash so it updates when path changes 2019-12-01 18:13:01 -05:00
Nikolai Vazquez
62725a76ef Add From impls for Length, Point, and Size 2019-11-29 20:52:26 -05:00
Héctor Ramón Jiménez
862859142b Add CHANGELOG to subcrates 2019-11-25 14:55:14 +01:00
Héctor Ramón Jiménez
cfe975938b Increase scrolling speed in Scrollable 2019-11-24 12:54:31 +01:00
Héctor Ramón Jiménez
5629716120 Fix rounding error when scrolling 2019-11-24 12:12:08 +01:00
Héctor Ramón Jiménez
47196c9007 Display widget images in documentation 2019-11-24 10:48:29 +01:00
Héctor Ramón Jiménez
f943764a29 Fix iced_native widget examples 2019-11-24 10:44:55 +01:00
Héctor Ramón Jiménez
7a8a79cd37 Fix links in iced_native::Widget 2019-11-24 10:18:26 +01:00
Héctor Ramón Jiménez
e8595218ef Finish iced_native usage section 2019-11-22 22:21:37 +01:00
Héctor Ramón Jiménez
048909b45d Fix Button example in iced_native 2019-11-22 22:13:54 +01:00
Héctor Ramón Jiménez
d136b7ce64 Uncomment missing debug implementations rule 2019-11-22 21:16:40 +01:00
Héctor Ramón Jiménez
42e775fece Merge branch 'master' into improvement/docs 2019-11-22 20:30:57 +01:00
Héctor Ramón Jiménez
a7dba612f0 Write docs for iced and iced_native 2019-11-22 19:36:57 +01:00
Héctor Ramón Jiménez
428509c84a Merge branch 'master' into improvement/docs 2019-11-21 13:53:02 +01:00
Héctor Ramón Jiménez
65eb218d3d Move widgets from core to native and web
Also made fields private and improved `Renderer` traits.
2019-11-21 13:47:20 +01:00
Héctor Ramón Jiménez
4b94cf0035 Add installation section to subcrate READMEs 2019-11-20 09:56:16 +01:00
Héctor Ramón Jiménez
cb4827059f Add README for each subcrate 2019-11-20 09:41:04 +01:00
Héctor Ramón Jiménez
28423f54db Remove dbg! in UserInterface 2019-11-20 06:19:20 +01:00
Héctor Ramón
5adefdf661
Merge pull request #62 from hecrj/feature/async-actions
Async actions
2019-11-18 23:06:28 +01:00
Héctor Ramón Jiménez
e0bdb203f2 Implement future-based Command in iced_core 2019-11-17 07:02:38 +01:00
Héctor Ramón Jiménez
6cdf69e76b Make width and height required methods 2019-11-16 22:08:49 +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
6857829dc3 Draft Font type and implement Text::font 2019-11-13 07:22:21 +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 Jiménez
db716b3bdf Apply HiDPI to text, images, and clip primitives
Quads are a bit trickier to handle. We may need to change the shaders a
bit.
2019-11-05 05:26:20 +01:00
Héctor Ramón Jiménez
b68ac3aa47 Merge branch 'master' into feature/performance-metrics 2019-11-05 03:43:54 +01:00
Héctor Ramón Jiménez
470266f540 Add horizontal offset to Primitive::Clip 2019-11-05 03:16:46 +01:00
Héctor Ramón Jiménez
2c6bfdbc8c Implement debug view and load system fonts 2019-11-03 04:39:11 +01:00
Héctor Ramón Jiménez
58e04af824 Draft Metrics and improve Target abstraction 2019-11-02 19:58:49 +01:00
Héctor Ramón Jiménez
c427ce0cec Reduce Copy constraint to Clone in Message 2019-11-02 02:15:17 +01:00
Héctor Ramón Jiménez
1242b334fe Merge branch 'feature/scrollables' into feature/text-input 2019-11-02 01:50:29 +01:00
Héctor Ramón Jiménez
85dab04965 Scale scrollbar movement by content ratio 2019-11-02 01:46:45 +01:00
Héctor Ramón Jiménez
51a0e99097 Implement cursor movement in TextInput 2019-10-31 03:50:40 +01:00
Héctor Ramón Jiménez
fedcab6f4f Handle some TextInput events 2019-10-30 05:00:12 +01:00