Emil Ernerfeldt
f5c372910c
Replace emath::clamp with f32::clamp (new in rustc 1.50)
4 years ago
triangle drawer
b1883d5d48
Add functions to register textures in egui_web and egui_glium ( #226 )
* add texture registering function
* fmt
* Revert "add texture registering function"
This reverts commit f9b4db12
* make get_texture public to get render target owned by Painter .
* revert egui_web painter.rs change
4 years ago
Emil Ernerfeldt
958aea922f
Add a lot more CursorIcon's
4 years ago
Emil Ernerfeldt
4c45ca113e
Make sure to include license files in the next release
4 years ago
Emil Ernerfeldt
44cd304cdf
Add experimental screen_reader feature
Part of https://github.com/emilk/egui/issues/167
4 years ago
Emil Ernerfeldt
1c06622dbc
Hold down a modifier key when clicking a link to open it in a new tab
4 years ago
Emil Ernerfeldt
cd4c07e09a
Output events when widgets gain keyboard focus
Part of https://github.com/emilk/egui/issues/167
4 years ago
Ridan Vandenbergh
4df8418e41
fix: Modern browsers encode Space as ' ' ( #208 )
4 years ago
Emil Ernerfeldt
fb2db4940e
Release 0.10.0 - Plot and polish
4 years ago
Emil Ernerfeldt
8fb1472560
Add glsl files to egui_web and egui_glium includes
4 years ago
Emil Ernerfeldt
e417fac52e
Fix web shaders
Got broken in https://github.com/emilk/egui/pull/187
4 years ago
Emil Ernerfeldt
84cc227f11
eframe: always provide a texture allocator
4 years ago
Emil Ernerfeldt
5f6a468812
Add Context::set_pixels_per_point to control the scale of the UI
4 years ago
Kayo Phoenix
c9919daa11
Added shaders on GLSL 1.2 ( #187 )
* Added shaders on GLSL 1.2
- Used `glium::program` to create shaders
- Moved shaders code to its own sources and include it as str
- Added shaders implementation on GLSL which allows run egui on old hardware
(Raspberry Pi 1/zero in game again)
* Moved webgl shaders code to sources in `shader` subdir
* Added GLSL ES shaders to glium backend to support OpenGL ES
* Described changes related to GLSL versions support
4 years ago
Emil Ernerfeldt
7dad76b913
Use explicit `epaint` over `paint` alias (re-export)
egui reexports the `epaint` crate both under its original name
and under the alias `paint` (for historical reasons)
4 years ago
Emil Ernerfeldt
6d255cd179
Use explicit `emath` to `math` alias
egui exports `emath` under its original name AND under the alias `math`
(for historical reasons).
4 years ago
Emil Ernerfeldt
dbc6a620cd
Control the maximum egui web canvas size with App::max_size_points
4 years ago
Emil Ernerfeldt
5906bf7a87
Fix clippy 1.50 lints
4 years ago
Emil Ernerfeldt
b61db038f2
Release 0.9.0 - light mode, right clicks and more
4 years ago
Emil Ernerfeldt
0f33bc7c34
Fix web blur ( #151 )
* [egui_web] Always use an even canvas size
Fixes https://github.com/emilk/egui/issues/103
* [egui_web] Position canvas at top of screen
This avoids jumpyness when resizing,
caused by rounding height to an even number
4 years ago
PauloMelo
eedb63bb3b
Add support for a HTTP body for POST ( #139 )
Closes https://github.com/emilk/egui/issues/137
Co-authored-by: Emil Ernerfeldt <emilernerfeldt@gmail.com>
4 years ago
Emil Ernerfeldt
2a10747843
Mesh::split_to_u16 now returns a 16-bit indexed Mesh16
4 years ago
Emil Ernerfeldt
b493bc6efc
Wrap tesselated output in struct ClippedMesh(Rect, Mesh)
4 years ago
Emil Ernerfeldt
75fa77e040
Rename Triangles to Mesh
4 years ago
Emil Ernerfeldt
247026149c
Multiple mouse button support ( #135 )
Add support for primary, secondary and middle mouse buttons. Also improve ability to click things in low FPS situations.
This introduces a lot of breaking changes:
Backends/integrations now pass mouse events via the even stream.
Response has an interface of mostly methods instead of public members.
input.mouse is now input.pointer and has new interface.
* Rename 'mouse' to 'pointer' everywhere (pointer = mouse or touch)
* Make Response::clicked and Response::double_clicked into methods
* Remove Response::active and add dragged() and interact_pointer_pos()
* Support multiple mouse buttons
* Make PointerState interface all methods
* Make most members of Response private
4 years ago
Emil Ernerfeldt
37a3fe7f76
Release 0.8.0 - Grid layout & new visual style
4 years ago
Emil Ernerfeldt
31b7eda51e
Rename Egui to egui
Also update iamges in README.md
4 years ago
Emil Ernerfeldt
b869db728b
[egui_web] Call prevent_default for arrow keys when entering text
Closes https://github.com/emilk/egui/issues/58
4 years ago
Emil Ernerfeldt
2854a84728
Improve documentation about how to write a painter for egui
4 years ago
Emil Ernerfeldt
ef595153c9
[egui_web] Improve alpha blending + add WebGL2 painter
4 years ago
Emil Ernerfeldt
fb2317c993
Rename `PaintCmd` to `Shape`
4 years ago
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