Emil Ernerfeldt
5ef9f35d1e
[epi] Simplify TextureAllocator interface
4 years ago
Emil Ernerfeldt
d0d22ea09b
Release 0.7.0
4 years ago
Emil Ernerfeldt
69d31a5e47
[eframe] Make persistence, http and time optional features
Saves on compile times.
4 years ago
Emil Ernerfeldt
c6a5af19e6
Add all alpha-numeric keys to egui::Key
Closes https://github.com/emilk/egui/issues/91
4 years ago
Emil Ernerfeldt
73f3d8cf46
Rename Srgba to Color32
4 years ago
Emil Ernerfeldt
14a96ca5d0
Add a dummy warm-up frame to the demo app to pre-cache emojis
4 years ago
Emil Ernerfeldt
d229b6fc23
Enforce rust_2018_idioms in all libs
4 years ago
Emil Ernerfeldt
4e3251c300
Improve ecosystem documentation and add changelogs for epi and eframe
4 years ago
Emil Ernerfeldt
b1022d01c1
Rename epi::App::ui to epi::App::update
4 years ago
Emil Ernerfeldt
375e317547
Move http fetch api from eframe to epi
4 years ago
Emil Ernerfeldt
9db1b8dbf9
Add http fetch to eframe and implement it in egui_glium using ureq
4 years ago
Emil Ernerfeldt
6d9cdafbc9
Rename egui_demo to egui_demo_app to avoid confusion with egui_demo_lib
4 years ago
Emil Ernerfeldt
84414e62a3
Add new crate `eframe` which wraps egui, epi, egui_web and egui_glium
4 years ago
Emil Ernerfeldt
d7459bc13d
Move `egui::app` into new `epi` crate
4 years ago
Emil Ernerfeldt
650450bc3a
Make cfg=web_sys_unstable_apis optional, fixing `cargo check`
4 years ago
Emil Ernerfeldt
d38b16f1ea
Learn how to spell to "tessellation"
4 years ago
Emil Ernerfeldt
07e96ca17f
Add syntax highlighting in egui web fetch example
4 years ago
Emil Ernerfeldt
dca7f85f21
Release Egui 0.6.0
4 years ago
Emil Ernerfeldt
6f5fd1b9c0
Replace parking_lot with atomic_refcell
You can still opt-in to use parking_lot if you plan to use the same
egui::Context from multiple threads.
4 years ago
Emil Ernerfeldt
d0f6954900
Combine demo_glium and demo_web into one egui_demo crate
4 years ago
Emil Ernerfeldt
fb941cf618
[egui_web] Simplify the arguments you pass to `start()`
4 years ago
Emil Ernerfeldt
89937bf636
[egui_web] Auto-save app state to Local Storage every 30 seconds
4 years ago
Emil Ernerfeldt
99808d2df8
Implement Storage trait for egui_web:s local storage bindings
4 years ago
Emil Ernerfeldt
01c65b0dcb
Replace Arc<Context> with struct CtxRef
4 years ago
Emil Ernerfeldt
82a3997188
[egui_web] Add max canvas size to help perf issues on some platforms
Related: https://github.com/emilk/egui/issues/67
4 years ago
Emil Ernerfeldt
c3c4f28a9d
Added App::clear_color() that apps can use to specify background color
4 years ago
Emil Ernerfeldt
9ea8d907fd
[egui_glium] Fix: disable scissor before clearing
4 years ago
Emil Ernerfeldt
71449fe61c
Only forbid warnings in release builds
4 years ago
Emil Ernerfeldt
709e711364
Deprecated RawInput::screen_size and replaced with screen_rect
4 years ago
Emil Ernerfeldt
2c766aa540
Make RawInput::time an Option
4 years ago
Emil Ernerfeldt
8528d8c5f7
Update parking_lot_core
Required turning on features = ["wasm-bindgen"] in egui_web
4 years ago
Emil Ernerfeldt
273d466f19
Nicer spacing in changelogs
4 years ago
Emil Ernerfeldt
403e2dfe5f
Release Egui 0.5.0
## 0.5.0 - 2020-12-13
### Added ⭐
* Emoji support: 1216 different emojis that work in any text.
* The Demo app comes with a Font Book to explore the available glyphs.
* `ui.horizontal_wrapped(|ui| ...)`: Add widgets on a row but wrap at `max_size`.
* `ui.horizontal_wrapped_for_text`: Like `ui.horizontal_wrapped`, but with spacing made for embedding text.
* `ui.horizontal_for_text`: Like `ui.horizontal`, but with spacing made for embedding text.
* `egui::Layout` now supports justified layouts where contents is _also_ centered, right-aligned, etc.
* `ui.allocate_ui(size, |ui| ...)`: Easily create a child-`Ui` of a given size.
* `SelectableLabel` (`ui.selectable_label` and `ui.selectable_value`): A text-button that can be selected.
* `ui.small_button`: A smaller button that looks good embedded in text.
* `ui.drag_angle_tau`: For those who want to specify angles as fractions of τ (a full turn).
* Add `Resize::id_source` and `ScrollArea::id_source` to let the user avoid Id clashes.
### Changed 🔧
* New default font: [Ubuntu-Light](https://fonts.google.com/specimen/Ubuntu ).
* Make it simpler to override fonts in `FontDefinitions`.
* Remove minimum button width.
* Refactor `egui::Layout` substantially, changing its interface.
* Calling `on_hover_text`/`on_hover_ui` multiple times will stack tooltips underneath the previous ones.
* Text wrapping on labels, buttons, checkboxes and radio buttons is now based on the layout.
### Removed 🔥
* Removed the `label!` macro.
4 years ago
Daniel Collin
69dc13ed2d
Allow user to check for Key::Space
4 years ago
Emil Ernerfeldt
8c82eb1970
Add CHANGELOG.md for egui_glium
4 years ago
Emil Ernerfeldt
99fa650fa7
[egui_web] Document required RUSTFLAGS=--cfg=web_sys_unstable_apis
4 years ago
Emil Ernerfeldt
a7e7826d2c
Release 0.4.0 of egui, egui_web and egui_glium
4 years ago
Emil Ernerfeldt
8de74e4250
[egui_web] respect the native zoom/scale of the browser
Remove all complexity with own scale slider.
Closes https://github.com/emilk/egui/issues/53
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
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
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
7651e2f15b
egui_web: Implement copy, cut and paste
4 years ago
Emil Ernerfeldt
fe0d159324
Support Cmd+A ^W ^U ^K and shift-click
4 years ago
Emil Ernerfeldt
c4ed507d63
Add modifier keys and implement moving cursors one word at a time
4 years ago
Emil Ernerfeldt
b6dcae4651
Update versions to 0.3.0
4 years ago
Emil Ernerfeldt
af11d766fc
Split out tesselation from Context::end_frame()
4 years ago
Emil Ernerfeldt
ed8a69ab2f
[drag-and-drop] Add Grab and Grabbing CursorIcon:s
4 years ago