Emil Ernerfeldt
0832ebbf1f
Merge pull request #46 from emilk/egui_web-copy-paste
egui_web: Implement copy, cut and paste
4 years ago
Emil Ernerfeldt
7651e2f15b
egui_web: Implement copy, cut and paste
4 years ago
Emil Ernerfeldt
c57fba41ab
Text selection ( #43 )
* Refactor, clarify and improve text layout
* Introduce meticulous cursors for text galleys
* Rename "row" to "line"
We now have "paragraphs" separated by \n,
which are word-wrapped onto one or more rows.
* Fix some edge cases for the cursor movement
* Add modifier keys and implement moving cursors one word at a time
* Remove unused cursor_blink_hz
* Galley: Return Rect when asking for cursor position
* Implement text selection
* fix: text selection when mouse goes out of the TextEdit area
* Support Cmd+A ^W ^U ^K and shift-click
* Create `mod util`
* Implement undo for TextEdit
* Move focus between text fields with tab and shift-tab
* Update CHANGELOG.md
4 years ago
Emil Ernerfeldt
e2c3bd429f
Update CHANGELOG.md
4 years ago
Emil Ernerfeldt
e7fd11f1aa
Move focus between text fields with tab and shift-tab
4 years ago
Emil Ernerfeldt
b17e6b3260
Implement undo for TextEdit
4 years ago
Emil Ernerfeldt
83444af862
Create `mod util`
4 years ago
Emil Ernerfeldt
fe0d159324
Support Cmd+A ^W ^U ^K and shift-click
4 years ago
Emil Ernerfeldt
b920822b6b
fix: text selection when mouse goes out of the TextEdit area
4 years ago
Emil Ernerfeldt
13666755e1
Implement text selection
4 years ago
Emil Ernerfeldt
96befb0736
Galley: Return Rect when asking for cursor position
4 years ago
Emil Ernerfeldt
220f48a159
Remove unused cursor_blink_hz
4 years ago
Emil Ernerfeldt
c4ed507d63
Add modifier keys and implement moving cursors one word at a time
4 years ago
Emil Ernerfeldt
7494026139
Fix some edge cases for the cursor movement
4 years ago
Emil Ernerfeldt
c84431e473
Rename "row" to "line"
We now have "paragraphs" separated by \n,
which are word-wrapped onto one or more rows.
4 years ago
Emil Ernerfeldt
9ab00b8e50
Introduce meticulous cursors for text galleys
4 years ago
Emil Ernerfeldt
e1077c98b7
Refactor, clarify and improve text layout
4 years ago
Emil Ernerfeldt
03eb9151c4
Improve automatic Id generation to make Id clashes less likely
4 years ago
Emil Ernerfeldt
ee3f269d93
Fix numeric underflow when text editing
4 years ago
Emil Ernerfeldt
9057eaec7e
Fix: you can again click slider values to edit them
4 years ago
Emil Ernerfeldt
92b1257ec3
Add doctest to check.sh
4 years ago
Emil Ernerfeldt
b3fa533ac5
Fix doctest
4 years ago
Emil Ernerfeldt
0340e2e6de
TextEdit: You must explicitly choose singleline or multiline.
Multiline TextEdit now has a default height of 4 rows.
Added `ui.text_edit_singleline` and `ui.text_edit_multiline`.
4 years ago
Emil Ernerfeldt
8a0bc97e8c
[egui_glium] Fix paste
4 years ago
Alexandre Rousseau
08bdbd3cb7
Rename menues to menus ( #41 )
Co-authored-by: Alexandre Rousseau <alexandre.rousseau@quebecormedia.com>
4 years ago
Emil Ernerfeldt
d2b5730784
Check if TextEdit lost keyboard focus with response.lost_kb_focus
4 years ago
Emil Ernerfeldt
c999ed038a
Hexadecimal Debug format of Id
4 years ago
Emil Ernerfeldt
e55b59256e
Press enter in single line `TextEdit` to surrender keyboard focus
4 years ago
Emil Ernerfeldt
796def4bcb
Fixed bug where a lost widget could still retain keyboard focus.
4 years ago
Emil Ernerfeldt
7cc5218630
[refactor] Move `used_ids` from `Context` to `Memory`
4 years ago
Emil Ernerfeldt
3af741e85a
Update CHANGELOG.md with new 0.3.0 release
4 years ago
Emil Ernerfeldt
d4e4033f10
Publish new web demo
4 years ago
Emil Ernerfeldt
b6dcae4651
Update versions to 0.3.0
4 years ago
Emil Ernerfeldt
f46aa92eba
Revert to aHash 0.4 again to allow Egui to be used inside of wasmtime
4 years ago
Emil Ernerfeldt
4b8a65268c
Turn off anti-aliasing in debug builds by default
4 years ago
Emil Ernerfeldt
af11d766fc
Split out tesselation from Context::end_frame()
4 years ago
Emil Ernerfeldt
901a6920be
cargo update
4 years ago
Emil Ernerfeldt
80fedbd3fc
Check wasm32 target in check.sh
4 years ago
Emil Ernerfeldt
8393d1df47
Upgrade ahash from 0.4 to 0.5
4 years ago
Emil Ernerfeldt
e00901e723
Add link to egui_sdl2_gl integration crate to README.md
4 years ago
Emil Ernerfeldt
94db5bb3a1
build fix
4 years ago
Emil Ernerfeldt
7abb9a2814
Improve Id generation, with more aggressive name clash warnings
4 years ago
Emil Ernerfeldt
8d365200ad
Bug fix: accidental reuse of Id:s for columns
Fixes https://github.com/emilk/egui/issues/37
4 years ago
Emil Ernerfeldt
d4d59d94b9
[demos] Add drag-and-drop demo (+ dancing strings demo)
4 years ago
Emil Ernerfeldt
4c25465e57
[window] Fix: no hover effect when already dragging something
4 years ago
Emil Ernerfeldt
9833ca57a6
[drag-and-drop] Add ability to translate layers and PaintCmd:s
4 years ago
Emil Ernerfeldt
ed8a69ab2f
[drag-and-drop] Add Grab and Grabbing CursorIcon:s
4 years ago
Emil Ernerfeldt
c9c12f2d79
[drag-and-drop] Disable interactions with Tooltip layer
4 years ago
Emil Ernerfeldt
63c0379082
[refactor] Add helpful constructors to PaintCmd
4 years ago
Emil Ernerfeldt
ca96172552
You can override the default Egui fonts
Closes https://github.com/emilk/egui/issues/32
4 years ago