Héctor Ramón Jiménez
b329003c8f
Implement styling for Slider
2020-01-07 00:28:08 +01:00
Héctor Ramón Jiménez
d0dc7cebf9
Implement styling for Scrollable
2020-01-06 21:01:09 +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
a848306b89
Fix styling in button::Renderer implementation
2020-01-05 19:48:27 +01:00
Héctor Ramón Jiménez
1a0effa961
Add border and shadow styling to Button
2020-01-05 19:29:12 +01:00
Héctor Ramón Jiménez
2116fbb3c2
Add border styling to Container
2020-01-05 18:38:03 +01:00
Héctor Ramón Jiménez
8d6f86b317
Remove background from Settings
2020-01-05 18:11:54 +01:00
Héctor Ramón
8311500ac0
Merge pull request #141 from Songtronix/songtronix/progressbar-widget
...
Progress bar widget
2020-01-04 14:28:29 +01:00
Héctor Ramón Jiménez
9116afaf59
Move DEFAULT_HEIGHT constant to Renderer
...
Also fixes some minor documentation issues.
2020-01-03 18:23:19 +01:00
Héctor Ramón Jiménez
5ca98b113e
Rename Geometry2D to Mesh2D and move it to iced_wgpu
2020-01-02 19:25:00 +01:00
Songtronix
986f01237f
change(widget): make height adjustable at widget level
...
addtionally rename Progressbar to ProgressBar
2020-01-02 18:11:45 +01:00
Songtronix
bf8f83decc
change(widget): custom coloring for progressbar
2020-01-02 14:25:13 +01:00
Songtronix
d60f3b89a7
add(widget): primitive progressbar widget
2020-01-02 11:11:08 +01:00
Artur Sapek
0d620b7701
Implement Geometry2D primitive
2020-01-01 22:45:29 -07:00
Héctor Ramón Jiménez
5af4159848
Draft basic styling for TextInput
2020-01-01 18:26:49 +01:00
Héctor Ramón Jiménez
d96ced8e2d
Allow configuration of default font
2020-01-01 17:49:48 +01:00
Héctor Ramón Jiménez
e1062a02d1
Move styling to a brand new iced_style crate
2020-01-01 14:16:10 +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
e98471d5b6
Merge branch 'master' into feature/custom-styling
2019-12-31 11:37:41 +01:00
Héctor Ramón Jiménez
fb9cc0262b
Draft basic styling for Container
2019-12-31 11:36:54 +01:00
Héctor Ramón Jiménez
3a327e08e9
Rename Empty widget to Space
2019-12-30 21:33:27 +01:00
Héctor Ramón Jiménez
8426bf953c
Implement Empty widget
...
It can be useful if you want to fill some space with nothing.
2019-12-30 19:20:59 +01:00
Héctor Ramón Jiménez
7163e1d8b6
Implement Default for iced_wgpu::Primitive
2019-12-30 19:17:00 +01:00
Héctor Ramón Jiménez
8caa66be27
Add Renderer::Defaults and style inheritance
2019-12-30 12:14:26 +01:00
Héctor Ramón Jiménez
f74ab463d4
Add background_color to Settings
2019-12-29 12:29:47 +01:00
Héctor Ramón Jiménez
c7b170da6d
Draft Style and StyleSheet for Button
2019-12-29 10:57:01 +01:00
Héctor Ramón Jiménez
d78ae3c852
Avoid rasterizing SVG when a dimension is 0
2019-12-21 08:16:36 +01:00
Héctor Ramón Jiménez
36e7ac2048
Fix cursor positioning in TextInput on overflow
2019-12-21 05:30:48 +01:00
Héctor Ramón Jiménez
0d7e236039
Resize text measure cache to avoid panic
...
This should not be really necessary, as we are not really drawing
anything with the measure brush... But we are using `glyph_brush`
in an unconventional way, so that may be the cause. We need to redesign
`wgpu_glyph` or come up with an alternative.
2019-12-18 23:14:54 +01:00
Héctor Ramón Jiménez
514ccf8a72
Cache Svg load result properly
...
This avoids trying to reload the file constantly on every frame.
2019-12-15 07:07:49 +01:00
Héctor Ramón Jiménez
232d4873ba
Put svg rendering behind a feature gate
...
This reduces binary size when SVG supoprt is not needed.
2019-12-15 06:45:20 +01:00
Héctor Ramón Jiménez
aa29849976
Add svg example
2019-12-15 06:31:53 +01:00
Héctor Ramón Jiménez
09707f29fc
Rerasterize SVGs when resized and refactor a bit
2019-12-15 06:19:07 +01:00
Malte Veerman
895eaef99b
Merged svg pipeline into image
2019-12-12 01:14:54 +01:00
Malte Veerman
f737c6da24
Improved dpi handling
2019-12-12 00:20:06 +01:00
Malte Veerman
5696afcadd
Ran cargo_fmt over changed files.
2019-12-11 22:13:29 +01:00
Malte Veerman
a88aae5e04
Added an Icon widget to native.
2019-12-11 21:34:40 +01:00
Malte Veerman
8032428428
Implemented SVG support in iced_wgpu.
2019-12-11 20:02:43 +01:00
Héctor Ramón Jiménez
14fb7e13fb
Place TextInput cursor position on click
2019-12-05 03:09:39 +01:00
Malte Veerman
33ad332ce9
Implemented From<Color for Background
2019-12-04 22:02:07 +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
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
Héctor Ramón Jiménez
0b5409c53d
Fix TextInput inner border radius in iced_wgpu
2019-12-03 07:40:56 +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
f8fac432c6
Finalize work
2019-12-02 19:10:07 +01:00
Friz64
5eec3a8867
First implementation
2019-12-02 19:09:17 +01:00
Héctor Ramón Jiménez
e648de560d
Use PowerPreference::Default in iced_wgpu
2019-12-01 23:36:29 +01:00
Héctor Ramón Jiménez
67570a0a1d
Add repr(C) to GPU types
2019-12-01 19:03:05 +01:00