Emil Ernerfeldt
d35be05731
add descriptions for egui_glium and egui_web crates
2020-08-09 17:39:05 +02:00
Emil Ernerfeldt
b06c9e94fb
[egui] rename "with_serde" feature flag to just "serde"
2020-08-09 17:34:26 +02:00
Emil Ernerfeldt
b58142ba15
Update versions to 0.1.3
2020-08-09 17:30:12 +02:00
Emil Ernerfeldt
3facd5c587
[doc] improve docstrings in Egui
2020-08-09 17:24:32 +02:00
Tomas Sedovic
e26150e46f
Add collapsible
to Window ( #15 )
...
This lets the user decide whether the Window can be collapsed or not.
The default is `true` (window is collapsible), but calling
`window.collapsible(false)` will hide the collapsing triangle icon and
prevent the window from being collapsed by clicking on the title.
2020-08-09 14:46:39 +02:00
Tomas Sedovic
40af177157
Add fixed_pos to Window ( #16 )
...
* Add fixed_pos to Window
This allows changing the position of a window by opening the window
with a different value.
* Add docstrings for `fixed_pos`
2020-08-09 14:31:46 +02:00
Emil Ernerfeldt
d4cb2fa62e
[egui] Clean up Painter interface
2020-08-05 19:45:39 +02:00
Emil Ernerfeldt
efedb09b9f
[text] show solid text cursor (less repainting)
2020-08-05 14:03:12 +02:00
Emil Ernerfeldt
81d642b1f1
[text] highlight the text edit widget being edited
2020-08-05 13:59:33 +02:00
Emil Ernerfeldt
2f161dd3d4
[text] surrender keyboard focus by clicking outside text edit area
2020-08-05 13:54:17 +02:00
Emil Ernerfeldt
2861bc956a
[menu] click outside a menu to close it
2020-08-05 13:41:09 +02:00
Emil Ernerfeldt
3962fae76e
Merge pull request #13 from FGRibreau/patch-1
...
fix 404 link
2020-08-05 10:27:11 +02:00
Emil Ernerfeldt
56352c26a4
Expose egui::menu module
2020-08-05 10:21:15 +02:00
Francois-Guillaume Ribreau
37057d8334
fix 404 link
2020-08-04 09:37:06 +02:00
Emil Ernerfeldt
11df21e39e
[refactor] extract paint code from Ui/Context to new struct Painter
2020-07-30 14:35:18 +02:00
Emil Ernerfeldt
5c14a15f8c
[github-actions] fix typo
2020-07-30 12:44:12 +02:00
Emil Ernerfeldt
42c94f9db9
[egui] fix build without "with_serde" feature
2020-07-30 12:40:05 +02:00
Emil Ernerfeldt
fae81ca386
[github-actions] only test egui project
...
Work-around for weird build issue in
https://github.com/emilk/emigui/runs/927167824?check_suite_focus=true
2020-07-30 12:39:35 +02:00
Emil Ernerfeldt
df2cba41ff
[clippy] fix all clippy issues
2020-07-30 12:30:20 +02:00
Emil Ernerfeldt
eb713ac514
[build] use path dependencies in all Cargo.toml
2020-07-30 12:14:51 +02:00
Emil Ernerfeldt
b17f200b35
github action
...
From https://github.com/actions-rs/meta/blob/master/recipes/quickstart.md
2020-07-30 12:12:06 +02:00
Emil Ernerfeldt
f693a558c5
[web/glium] better text input filtering
...
CapsLock and function keys (F1, F2, ...) are now ignored on web.
All special keys are ignored on glium.
2020-07-30 11:58:24 +02:00
Emil Ernerfeldt
554e6e7120
[app] unify web and glium demo app
2020-07-23 19:04:23 +02:00
Emil Ernerfeldt
b79c76b9ce
[doc] improve Egui documentation
2020-07-23 14:35:12 +02:00
Emil Ernerfeldt
61cdec8fca
[refactor] rename 'example' to 'demo', and add simple example_glium
2020-07-23 12:18:19 +02:00
Emil Ernerfeldt
bf19eb2ec5
[refactor] minor code cleanup
2020-07-23 10:27:21 +02:00
Emil Ernerfeldt
48bad68257
[glium] implement reactive run mode
2020-07-22 22:26:49 +02:00
Emil Ernerfeldt
a14bfa0e73
[glium] make it super easy to make an Egui app using glium
2020-07-22 18:46:12 +02:00
Emil Ernerfeldt
e84412dec5
[glium] break out persistence
2020-07-22 18:01:27 +02:00
Emil Ernerfeldt
4e52a960e5
[glium] refactor and simplify glium example code
2020-07-22 12:10:14 +02:00
Emil Ernerfeldt
9b9cd01c5c
[glium] update to latest glium with EventLoop and vsync
2020-07-22 00:36:17 +02:00
Emil Ernerfeldt
6b6545958d
[web] fix: repaint on pagehide, pageshow and resize
2020-07-20 15:08:39 +02:00
Emil Ernerfeldt
cb6b3bb58f
Move web app contents to own window
2020-07-19 01:09:37 +02:00
Emil Ernerfeldt
57ae03f52d
[web] minor fixes for reactive mode
2020-07-19 00:44:06 +02:00
Emil Ernerfeldt
900a758903
[resize] unify to one minimum size
2020-07-19 00:17:02 +02:00
Emil Ernerfeldt
f659f2903d
[web] fix auto-save
2020-07-19 00:16:24 +02:00
Emil Ernerfeldt
376610a0ca
[web] default to reactive mode
2020-07-19 00:16:14 +02:00
Emil Ernerfeldt
07d2af885b
[resize] improve default/min sizes of some resize areas
2020-07-19 00:16:04 +02:00
Emil Ernerfeldt
fccd135254
[refactor] rename 'PaintBatches' to 'PaintJobs'
2020-07-19 00:01:13 +02:00
Emil Ernerfeldt
7565210b2d
[web] simplify and improve reactive mode on touch screens
2020-07-18 23:56:37 +02:00
Emil Ernerfeldt
3ecd6c0297
[web] implement reactive repainting
...
meaning: only repaint on new input
2020-07-18 19:54:42 +02:00
Emil Ernerfeldt
dfa4d52a94
[web] move all reusable web code into egui_web
2020-07-18 18:35:17 +02:00
Emil Ernerfeldt
1a4c399e41
[web] port all remaining JS code to Rust
2020-07-18 18:00:05 +02:00
Emil Ernerfeldt
0afad57d41
[web] port JS code to Rust
2020-07-18 13:30:23 +02:00
Emil Ernerfeldt
8dced5896c
rename egui_wasm to egui_web
2020-07-17 12:55:07 +02:00
Emil Ernerfeldt
520e42c11c
[backend] use hardware scissor rect in WebGL and glium
2020-07-17 10:29:21 +02:00
Emil Ernerfeldt
c204922a3a
update some crates
2020-07-17 09:45:28 +02:00
Emil Ernerfeldt
67bafad8f9
[button] add ability to disable Button
2020-06-22 10:36:27 +02:00
Emil Ernerfeldt
10a9d48091
[scroll] animate scroll bar hide/show
2020-06-14 18:58:44 +02:00
Emil Ernerfeldt
bff7232e9d
[paint] ignore negatively sized rectangles and circles
2020-06-14 18:58:44 +02:00