Emil Ernerfeldt
56715a1dcd
Improve ability to inspect why a widget is as wide as it is
4 years ago
Emil Ernerfeldt
633b19ee99
[egui_web] Repaint on finished fetch in example app
4 years ago
Emil Ernerfeldt
99a2a52510
Code cleanup
4 years ago
Emil Ernerfeldt
ebf204a9ae
Tidy up TODO.md
4 years ago
Emil Ernerfeldt
0c9bdb8ae8
cargo update
4 years ago
Emil Ernerfeldt
15b0214dff
clippy fixes
4 years ago
Emil Ernerfeldt
9a51041ae2
Merge pull request #49 from emilk/web-example-image
[example_web] show loading of an image
4 years ago
Emil Ernerfeldt
c6ce0b9e8c
[example_web] show loading of an image
Required some redesign of `TextureAllocator` as well as
some improvements to the fetch API.
4 years ago
Emil Ernerfeldt
90cecace0c
[egui_web] Fix for pressing tab and backspace in a text field
Fixes https://github.com/emilk/egui/issues/48
4 years ago
Emil Ernerfeldt
552104429d
Remove accidentally commited test code
4 years ago
Emil Ernerfeldt
9c8a3a994f
[example_web] Fix link to own source code
4 years ago
Emil Ernerfeldt
7249fc45d0
Merge pull request #47 from emilk/web-app-example
Demonstrate fetch
4 years ago
Emil Ernerfeldt
bafbe04fb3
Update example web app
4 years ago
Emil Ernerfeldt
86cfd0dcd3
egui_web: Repaint at least every seconds
Just in case the app needs it, e.g. because it has finished a download.
4 years ago
Emil Ernerfeldt
fad0029119
egui_web: Add simple fetch API and demostrate it in example_web
4 years ago
Emil Ernerfeldt
0cb3bb791b
Add `example_web` app
4 years ago
Emil Ernerfeldt
7e9b5de250
Fix: id clash for TextEdit
4 years ago
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