Emil Ernerfeldt
749419c9fd
[demo] Improve scroll demo and move to own window
4 years ago
Emil Ernerfeldt
5e3a89bf00
[demo] Move slider demo to own window
4 years ago
Emil Ernerfeldt
6d57a24f35
Add Slider::clamp_to_range(bool)
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
9f4c31c0e0
Add Frame::group for putting a frame around some widgets
Closes https://github.com/emilk/egui/issues/125
4 years ago
Emil Ernerfeldt
e2217ff63a
[style] Fade out windows on close
4 years ago
Emil Ernerfeldt
29bb7c9f9d
egui_demo_lib 0.8.1: export ColorTest
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
07f1b074ca
[grid] Allow putting a separator in a grid
4 years ago
Emil Ernerfeldt
620e43d483
New sleeker visual style
Remove a lot of borders, remove transparency, simplify and unify.
4 years ago
Emil Ernerfeldt
b1157ee642
[grid] Option to set spacing
4 years ago
Emil Ernerfeldt
480c6db37f
[grid] Set default row height to interact_size.y
It is what we use for horizontal layouts, and makes sense.
4 years ago
Emil Ernerfeldt
03c9cda89b
[grid] Ensure the contents of each grid cell is aligned left+center
4 years ago
Emil Ernerfeldt
641a302e0a
[grid] Add optional minimal row height
4 years ago
Emil Ernerfeldt
6f814b9516
[demo] Add collapsing header to widget gallery
4 years ago
Emil Ernerfeldt
73d16eb771
Use Grid to add labels to the color picker sliders
Also improve the color preview in the color picker
4 years ago
Emil Ernerfeldt
6d8a766614
[style] Slightly expand buttons when hovering and interacting
4 years ago
Emil Ernerfeldt
5e7ad40c8d
[demo] Center the "(source code)" hyperlinks
4 years ago
Emil Ernerfeldt
1c5cdd8575
[demo] Add separator, hyperlink and SelectableLabel to widget gallery
4 years ago
Emil Ernerfeldt
0b10fa5c29
Grid layout and widget gallery ( #106 )
* Wrap Layout and Region into a new struct Placer
* [egui] Add a simple grid layout
* Refactor CollapsingHeader code (simplify header painting)
* Fix: allow putting a CollapsingHeader inside of a grid layout
* [demo] Add a widget gallery
Closes https://github.com/emilk/egui/issues/88
* Add optional striped grid background
4 years ago
Emil Ernerfeldt
d0c3bd0d8f
[demo] Persist which demo windows are open
4 years ago
Emil Ernerfeldt
26d576f510
Break out mod paint into new crate epaint
4 years ago
Emil Ernerfeldt
fb2317c993
Rename `PaintCmd` to `Shape`
4 years ago
Emil Ernerfeldt
a0b0f36d29
Move egui/math into new crate emath
4 years ago
Emil Ernerfeldt
aee1474b6e
Move align.rs into mod math
4 years ago
Emil Ernerfeldt
72ed94fcb3
Add helper struct Align2
4 years ago
Emil Ernerfeldt
d895285482
[demo] Window options window: add checkbox to toggle close button
4 years ago
Emil Ernerfeldt
e105719d34
[demo] Add test of pixel perfect rendering to color test
4 years ago
Emil Ernerfeldt
5ef9f35d1e
[epi] Simplify TextureAllocator interface
4 years ago
Emil Ernerfeldt
b4871e2aef
Add ui.allocate_at_least and ui.allocate_exact_size
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
10a23d18e1
Support additive colors in color picker
4 years ago
Emil Ernerfeldt
cbe0de83ee
Add a window options demo
4 years ago
Emil Ernerfeldt
a905c884e8
Add widget egui::reset_button
4 years ago
Emil Ernerfeldt
029a85c1fc
Move Color32 constants from `mod color` to `struct Color32`
4 years ago
Emil Ernerfeldt
64dd186daf
Deprecate color::srgba function. Use Color32::from_rgb etc instead.
4 years ago
Emil Ernerfeldt
73f3d8cf46
Rename Srgba to Color32
4 years ago
Emil Ernerfeldt
4fc12bf324
[egui_demo_lib] Add missing "serde" feature to egui dependency
4 years ago
Emil Ernerfeldt
0a61e2d5da
Add missing epi features to egui_demo_lib
4 years ago
Emil Ernerfeldt
3fe6eaa78a
Add missing serde feature to egui_demo_lib
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
1690db0f0c
demo tweaks
4 years ago
Emil Ernerfeldt
b3d1016507
[demo] Move backend into an optional panel of WrapApp
4 years ago
Emil Ernerfeldt
3e0bedd96d
[demo] Move color test to WrapApp
4 years ago
Emil Ernerfeldt
4848c171eb
[demo] Move Fractal Clock to WrapApp
4 years ago
Emil Ernerfeldt
b1022d01c1
Rename epi::App::ui to epi::App::update
4 years ago
Emil Ernerfeldt
defad4ed51
Merge example_web into egui_demo_lib
4 years ago
Emil Ernerfeldt
375e317547
Move http fetch api from eframe to epi
4 years ago