Héctor Ramón Jiménez
fce89d0ffe
Use constants for colors in styling example
2020-01-07 01:17:32 +01:00
Héctor Ramón Jiménez
2bbd395d5d
Draft styling example
2020-01-06 18:44:45 +01:00
Héctor Ramón Jiménez
bbc8f837d7
Merge branch 'master' into feature/custom-styling
2020-01-05 22:03:32 +01:00
Héctor Ramón Jiménez
1a0effa961
Add border and shadow styling to Button
2020-01-05 19:29:12 +01:00
Songtronix
d60f3b89a7
add(widget): primitive progressbar widget
2020-01-02 11:11:08 +01:00
Héctor Ramón Jiménez
9ab7c47dc7
Add border_width and border_color to Quad
2019-12-31 21:38:52 +01:00
Héctor Ramón Jiménez
aecc3ad195
Add Length::FillPortion variant
...
It allows to specify the amount of available space an element should
take relative to other elements.
2019-12-30 19:33:27 +01:00
Héctor Ramón Jiménez
b1f89699b4
Fix Command::batch documentation
2019-12-28 12:19:04 +01:00
Héctor Ramón Jiménez
453d2d5bb0
Implement Command::map
2019-12-19 21:08:59 +01:00
Héctor Ramón Jiménez
d6c3da21f7
Write docs for subscriptions and reorganize a bit
2019-12-14 05:56:46 +01:00
Héctor Ramón Jiménez
e71978456a
Remove unnecessary clone in subscription::Map
2019-12-14 03:57:04 +01:00
Héctor Ramón Jiménez
c688452d7b
Consume Recipe when building a Stream
2019-12-14 01:13:01 +01:00
Héctor Ramón Jiménez
cdb7acf6c2
Implement Subscription::map and from_recipe
2019-12-10 03:43:00 +01:00
Héctor Ramón Jiménez
98160406f7
Allow listening to runtime events in subscriptions
2019-12-08 08:21:26 +01:00
Héctor Ramón Jiménez
48145ba51e
Use oneshot and future::select to cancel streams
2019-12-07 08:51:44 +01:00
Héctor Ramón Jiménez
d575f45411
Draft first version of event subscriptions 🎉
2019-12-05 06:10:13 +01:00
Malte Veerman
33ad332ce9
Implemented From<Color for Background
2019-12-04 22:02:07 +01:00
Héctor Ramón Jiménez
2144109dd7
Update changelogs
2019-12-04 04:11:10 +01:00
Héctor Ramón Jiménez
561c3641c6
Merge branch 'master' into feature/image-from-bytes
2019-12-04 04:01:12 +01:00
Nikolai Vazquez
267e242238
Make many functions const
...
The point is to set up repeated components or boilerplate before their
use sites.
The majority of these make sense as `const`. However, some functions
such as those regarding state may not make sense as `const`.
2019-11-29 21:24:52 -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
cdd34e1e4b
Implement image viewer example
2019-11-30 02:14:56 +01: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
3a678561f2
Fix documentation for Axis
2019-11-23 12:00:50 +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
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
d3553adf27
Write documentation for iced_core
2019-11-18 07:16:19 +01:00
Héctor Ramón Jiménez
a803ab240b
Rename Command::attempt to Command::perform
2019-11-18 00:10:40 +01:00
Héctor Ramón Jiménez
e640b87590
Derive Clone for text_input::State
2019-11-17 07:03:22 +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
be5466a0a7
Remove argument from text_input::State::focused
2019-11-13 07:57:22 +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
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
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
0240c3981b
Draft custom layout engine based on druid
2019-11-11 03:08:00 +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
b9398d2df8
minor changes to text_input's use of iterators
2019-11-07 01:07:00 -05:00
memoryruins
58bd0824bf
impl From<Array> for Color
2019-11-07 01:02:20 -05: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
470266f540
Add horizontal offset to Primitive::Clip
2019-11-05 03:16:46 +01:00
Héctor Ramón Jiménez
ba470a2b2a
Remove unnecessary code in Value
2019-11-05 02:58:42 +01:00
Héctor Ramón Jiménez
d3cdee1d9b
Render TextInput cursor inside the clipping area
2019-10-31 04:43:53 +01:00
Héctor Ramón Jiménez
51a0e99097
Implement cursor movement in TextInput
2019-10-31 03:50:40 +01:00