FabianLars
b632dce0da
fixed panic on pasting into non updating input
2020-03-14 10:51:36 +01:00
FabianLars
731e6752eb
keep cursor inside value boundaries more reliable
2020-03-13 17:54:02 +01:00
FabianLars
767096b9bb
disable word selection if is_secure == true
2020-02-27 12:13:47 +01:00
FabianLars
1ad83889be
really small cleanup
2020-02-26 21:58:34 +01:00
FabianLars
0d8d236be6
More selection actions: (Ctrl +) Shift + Left/Right, Shift + Home/End
2020-02-25 17:03:52 +01:00
FabianLars
c47e30e960
double click fixed
2020-02-24 20:10:20 +01:00
FabianLars
c6c8cabdaf
moved cursor into own file
...
moved click tracking as a new State struct to input::mouse
made cursor field of text_input state private
brought back cursor type(Index, Selection) representation with a state enum
cleaned out some stuff (but not enough/all)
TODO: Documentation (sigh)
TODO: Editor struct
TODO: some (hopefully) small improvements here and there
2020-02-24 18:03:42 +01:00
FabianLars
190dcef155
Text Selection completely rewritten
2020-02-24 04:14:32 +01:00
FabianLars
883843a72d
max time window for double click
2020-02-23 01:23:57 +01:00
FabianLars
f72b1f8c45
double click for word selection
...
3 clicks to select all
2020-02-23 00:26:15 +01:00
FabianLars
33ca29f395
ctrl + a selection for text input
2020-02-22 22:17:51 +01:00
FabianLars
b2344a852e
inital patch by Finnerale
2020-02-22 21:33:45 +01:00
Héctor Ramón
17271eae67
Merge pull request #193 from hecrj/feature/canvas
...
Canvas widget for 2D graphics
2020-02-20 05:51:18 +01:00
Héctor Ramón Jiménez
6922160423
Pull Checkbox default constants from its Renderer
2020-02-18 02:28:15 +01:00
Clark Moody
668f627532
Add size, spacing, and text_size properties to Checkbox
2020-02-17 17:40:01 -06:00
Héctor Ramón Jiménez
4969bfdb66
Merge branch 'master' into feature/canvas
2020-02-15 00:50:36 +01:00
Héctor Ramón Jiménez
8f83c805b1
Improve documentation for new Node methods
2020-02-14 23:23:45 +01:00
daxpedda
ddceb295f4
Revert rustfmt change.
2020-02-14 21:43:34 +01:00
daxpedda
f4b8bce837
Revert changing the constructor and implement new method.
2020-02-14 21:41:35 +01:00
daxpedda
b72bd0b2b5
Add bound to Node constructor.
2020-02-14 15:57:07 +01:00
daxpedda
457d6f616a
Make Node::align public.
2020-02-14 15:36:33 +01:00
Héctor Ramón Jiménez
945dfabd71
Move Size to iced_core
2020-02-14 05:35:42 +01:00
Louis-Simon Mc Nicoll
36c3160c39
Container support for Align::End
2020-02-11 18:12:38 -05:00
daxpedda
71c108e0e1
Make Element::hash_layout public.
2020-02-10 20:53:52 +01:00
Héctor Ramón Jiménez
04ec587230
Fix documentation examples of UserInterface
2020-02-09 05:57:15 +01:00
Héctor Ramón Jiménez
ce6806bbf4
Remove event conversion from iced_winit::Application
2020-02-09 05:24:54 +01:00
Héctor Ramón Jiménez
8f0b59a4b2
Remove scale_factor from iced_wgpu::Viewport
2020-02-09 03:36:59 +01:00
Héctor Ramón Jiménez
8edb04fddd
Remove unused window::renderer module
2020-02-09 03:26:40 +01:00
Héctor Ramón Jiménez
f1e20a61f1
Allow iced_wgpu to render to any TextureView
2020-02-09 03:25:13 +01:00
Héctor Ramón Jiménez
7d9378752a
Increase precision of scale_factor in Windowed
2020-02-07 23:50:10 -05:00
Héctor Ramón Jiménez
fb4a7968ca
Update winit to 0.20
2020-02-07 23:34:32 -05:00
Héctor Ramón Jiménez
282ae1dc9e
Implement TextInput styling in iced_web
2020-02-06 02:37:49 +01:00
Héctor Ramón Jiménez
9a06e481b7
Add Handle and Data to image in iced_web
2020-02-05 04:13:55 +01:00
sumibi-yakitori
713ed3aca1
Custom fonts can be set in the text input.
2020-01-27 04:28:40 +09:00
Héctor Ramón Jiménez
1797e15b8c
Add default padding to Button
2020-01-22 11:17:07 +01:00
Héctor Ramón Jiménez
a30553ddbb
Forbid unsafe code and Rust 2018 idioms
2020-01-20 10:52:06 +01:00
Héctor Ramón Jiménez
90690702e1
Add Application::Executor associated type
2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
b5b17ed4d8
Create iced_futures and wire everything up
2020-01-19 10:17:44 +01:00
Héctor Ramón Jiménez
32f7ca261f
Implement subscription::Tracker in iced_core
2020-01-19 08:36:44 +01:00
Héctor Ramón Jiménez
b3106738eb
Produce new window file events in iced_winit
2020-01-16 07:18:17 +01:00
Héctor Ramón Jiménez
f73bacb454
Add file events to iced_native: 🪟 :Event
2020-01-16 07:12:59 +01:00
Héctor Ramón Jiménez
5de404ddd9
Take IntoIterator instead of Iterator
2020-01-16 07:01:25 +01:00
Héctor Ramón Jiménez
b5cd9923f2
Remove Clone bound for Element::map
2020-01-13 06:57:35 +01:00
Héctor Ramón
c72739e966
Merge pull request #151 from hecrj/feature/build-with-dimensions
...
Make layout bounds explicit in `UserInterface`
2020-01-10 19:11:24 +01:00
Héctor Ramón
9b8f86f843
Merge pull request #150 from hecrj/refactor/move-renderer-traits
...
Move `Debugger` and `Windowed` traits
2020-01-10 19:10:57 +01:00
Héctor Ramón
84f1a936db
Merge pull request #152 from hecrj/fix/flex-layout-alignment
...
Fix flex layout cross-alignment when not filled
2020-01-10 05:19:25 +01:00
Héctor Ramón Jiménez
d1bf3f02c7
Fix flex layout cross-alignment when not filled
2020-01-10 04:58:13 +01:00
Héctor Ramón Jiménez
e6aa25a103
Make layout bounds explicit in UserInterface
2020-01-10 03:10:58 +01:00
Héctor Ramón Jiménez
e45497dfd6
Move Debugger and Windowed to a better location
...
We move `renderer::Debugger` to `layout::Debugger` and
`renderer::Windowed` to `window::Renderer`.
2020-01-10 01:58:55 +01:00
Héctor Ramón Jiménez
7ab6ed7ef9
Add window::Event::Resized to iced_native
2020-01-10 01:28:45 +01:00