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
e8bf0fc099
styling example fixed (added selection_color)
2020-02-23 11:25:48 +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
d6c2b1121c
Merge pull request #198 from hecrj/improvement/example-readmes
...
Create `README` files for all the examples
2020-02-22 09:12:43 +01:00
Héctor Ramón Jiménez
b0cf47cc2b
Create README files for all the examples
2020-02-21 15:20:05 +01:00
Héctor Ramón
9758c12176
Merge pull request #196 from piaoger/patch-1
...
Fix sample file path for svg example
2020-02-20 10:47:57 +01:00
Piaoger
23fe47bdcb
Fix sample file path for svg example
...
Sample tiger.svg is move to resources after directory restructuring. This change is to correct the path
2020-02-20 17:28:42 +08: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
8d63c49ba1
Merge pull request #195 from hecrj/fix/macos-quit
...
Quit application when `Cmd+Q` is pressed on macOS
2020-02-20 05:51:01 +01:00
Héctor Ramón Jiménez
2e457c394f
Quit application when Cmd+Q is pressed on macOS
2020-02-19 14:53:08 +01:00
Héctor Ramón Jiménez
6f7247ca13
Rename Settings::use_antialiasing to antialiasing
2020-02-18 09:54:24 +01:00
Héctor Ramón Jiménez
9c067562fa
Write documentation for new canvas module
2020-02-18 08:48:54 +01:00
Héctor Ramón
80fc8c286e
Merge pull request #192 from clarkmoody/checkbox-settings
...
Customize Checkbox
2020-02-18 06:11:55 +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
5345ac785b
Fix missing enter in iced::executor::Default
2020-02-16 11:40:19 +01:00
Héctor Ramón Jiménez
09cf0b7af3
Enter executor context only on Recipe creation
2020-02-16 11:31:37 +01:00
Héctor Ramón Jiménez
75d8de93ae
Wrap application initialization with Runtime::enter
2020-02-16 11:25:10 +01:00
Héctor Ramón Jiménez
570f769744
Rename Settings::antialiasing to use_antialiasing
2020-02-15 10:50:07 +01:00
Héctor Ramón Jiménez
fe61d2fd67
Request high performance adapter if MSAA is enabled
2020-02-15 10:45:45 +01:00
Héctor Ramón Jiménez
dadae12253
Implement MSAA for triangle pipeline in iced_wgpu
2020-02-15 10:08:27 +01: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
cf53026b51
Merge pull request #187 from daxpedda/pub-node-align
...
Add `Node::move_to` and make `Node::align` public
2020-02-14 23:34:01 +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
60b40fdc99
Fix examples.
2020-02-14 18:17:32 +01:00
daxpedda
ebe0d4f47e
Fix custom widget example.
2020-02-14 18:03:59 +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
f5c80a6d75
Upgrade Mesh2D indices from u16 to u32
2020-02-14 05:42:19 +01:00
Héctor Ramón Jiménez
945dfabd71
Move Size to iced_core
2020-02-14 05:35:42 +01:00
Héctor Ramón Jiménez
ad3a0a184f
Add solar_system example
2020-02-14 05:33:58 +01:00
Héctor Ramón Jiménez
558abf648b
Add transform stack to canvas::Frame
2020-02-14 04:59:31 +01:00
Héctor Ramón Jiménez
76df374624
Implement additional methods in path::Builder
2020-02-14 02:23:41 +01:00
Héctor Ramón Jiménez
df90c478e2
Move layer::Cached to its own module
2020-02-13 03:45:07 +01:00
Héctor Ramón Jiménez
979edeb213
Fix clock example eventually skipping a second
2020-02-12 22:38:36 +01:00
Héctor Ramón Jiménez
e7c400a0aa
Improve naming in clock example
2020-02-12 22:13:59 +01:00
Héctor Ramón Jiménez
9dc9305d93
Remove redundant conversion in clock example
2020-02-12 22:10:00 +01:00
Héctor Ramón Jiménez
265c08661c
Fix circle end_angle in clock example
2020-02-12 22:08:49 +01:00
Héctor Ramón Jiménez
629153582f
Remove canvas::Data leftover
2020-02-12 09:24:22 +01:00