FabianLars
b632dce0da
fixed panic on pasting into non updating input
2020-03-14 10:51:36 +01:00
Héctor Ramón Jiménez
a373682fa4
Fix ratio calculation on resize in PaneGrid
2020-03-14 09:36:20 +01:00
Héctor Ramón Jiménez
ec334bdd36
Improve pane selection when resizing a PaneGrid
2020-03-14 09:01:52 +01:00
Héctor Ramón Jiménez
eb5e2251bd
Trigger PaneGrid resize on click
2020-03-14 08:16:07 +01:00
Héctor Ramón Jiménez
f08cb4ad56
Implement mouse-based pane resizing for PaneGrid
2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
db441a64b1
Reintroduce pane_grid::Split as an identifier
2020-03-14 06:35:43 +01:00
Héctor Ramón Jiménez
b55746b1e1
Remove PaneGrid::split_* helpers
...
We can use the `split` method directly instead.
2020-03-14 06:33:17 +01:00
Héctor Ramón Jiménez
a79603e4ca
Rename Split to Axis
2020-03-14 06:32:56 +01:00
Héctor Ramón Jiménez
00c2b55b56
Replace FocusedPane with Action in pane_grid
2020-03-14 06:26:09 +01:00
Héctor Ramón Jiménez
5c8ec4504b
Create module boundaries for pane_grid logic
2020-03-14 05:27:27 +01:00
Héctor Ramón Jiménez
460565056e
Reuse PaneGrid::focus to remove some duplication
2020-03-14 04:53:57 +01:00
Héctor Ramón Jiménez
2459648574
Simplify iter and iter_mut in pane_grid
2020-03-14 04:47:14 +01:00
Héctor Ramón Jiménez
6e8585e88c
Expose adjacent_pane instead of focus_adjacent
2020-03-14 04:06:32 +01:00
FabianLars
731e6752eb
keep cursor inside value boundaries more reliable
2020-03-13 17:54:02 +01:00
Héctor Ramón Jiménez
26b9541bca
Improve PaneGrid::focus_adjacent intuitiveness
2020-03-13 09:55:59 +01:00
Héctor Ramón Jiménez
b9f184fda4
Draft PaneGrid::focus_adjacent
2020-03-13 08:57:52 +01:00
Héctor Ramón Jiménez
0b12d706e3
Unfocus pane in PaneGrid on out-of-bounds click
2020-03-13 07:54:14 +01:00
Héctor Ramón Jiménez
29bf51d25a
Implement spacing support for PaneGrid
2020-03-13 07:51:41 +01:00
Héctor Ramón Jiménez
c2ced4cd59
Improve PaneGrid API by introducing DragEvent
2020-03-13 07:35:44 +01:00
Héctor Ramón Jiménez
2d8d420949
Replace Panes with PaneGrid in documentation
2020-03-11 23:34:51 +01:00
Héctor Ramón Jiménez
f09b4bd4f4
Round region dimensions of panes to avoid overlaps
2020-03-11 23:26:45 +01:00
Héctor Ramón Jiménez
df6e3f8da9
Expose pane_grid::Focus for state-based styling
2020-03-11 23:25:00 +01:00
Héctor Ramón Jiménez
eb070b9652
Draft drag and drop support for PaneGrid
2020-03-10 06:47:32 +01:00
Héctor Ramón Jiménez
ed7c327b48
Implement Default for keyboard::ModifiersState
2020-03-10 06:46:58 +01:00
Héctor Ramón Jiménez
e4fbca59b4
Merge branch 'master' into feature/panes-widget
2020-03-10 06:12:06 +01:00
Héctor Ramón Jiménez
6151c52824
Rename Panes widget to PaneGrid
2020-03-10 02:57:13 +01:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
...
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
f81827c151
Remove counterintuitive constant functions
2020-03-06 03:30:48 +01:00
Héctor Ramón Jiménez
15fad17f37
Implement panes::State::close
2020-03-05 03:12:45 +01:00
Héctor Ramón Jiménez
58adfcd514
Fix Split::apply on vertical splits
2020-03-04 22:31:37 +01:00
Héctor Ramón Jiménez
d7f32d47ba
Compute panes regions and focus on click
2020-03-04 22:01:57 +01:00
Héctor Ramón Jiménez
012b4adec7
Draft Panes widget and panes example
2020-03-04 04:10:26 +01:00
Soham Chowdhury
eb7e3250d3
Note BGRA requirement in Handle::from_pixels docs
2020-03-01 06:44:06 +05:30
Soham Chowdhury
1841015428
Add support for loading already-decoded image pixels
2020-02-29 07:32:42 +05:30
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
Malte Veerman
1bcfc9a5cc
Implemented a texture atlas for images and svgs.
2020-02-25 13:26:33 +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