Emil Ernerfeldt
620e43d483
New sleeker visual style
Remove a lot of borders, remove transparency, simplify and unify.
4 years ago
Emil Ernerfeldt
795906bb24
Add Window::current_pos to position a winodw
4 years ago
Emil Ernerfeldt
e9f8e5d6a3
Update changelog with InputState::key_down
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
d344c9d9a3
Image and ImageButton will no longer stretch to fill a justified layout
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
e079ac5b46
Center window titles
4 years ago
Emil Ernerfeldt
987c7ddf98
Make size and alignment of emoji-icon-font match the rest of the fonts
This is done via a hack (for now).
4 years ago
Emil Ernerfeldt
e413e5e3e9
Fix precision issue in panel space allocation debug sanity check
Closes https://github.com/emilk/egui/issues/99
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
10a23d18e1
Support additive colors in color picker
4 years ago
Emil Ernerfeldt
5c8df6925d
TextEdit widgets are now slightly larger to accommodate their frames
Fixes https://github.com/emilk/egui/issues/89
4 years ago
Emil Ernerfeldt
25b8a8ebfd
Add window.id(…) and area.id(…) for overriding the default Id
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
4e3251c300
Improve ecosystem documentation and add changelogs for epi and eframe
4 years ago
Emil Ernerfeldt
d7e03cb186
Add changelog for new manual scrolling additions
https://github.com/emilk/egui/pull/81
4 years ago
Emil Ernerfeldt
d38b16f1ea
Learn how to spell to "tessellation"
4 years ago
Emil Ernerfeldt
69ffa9be35
Remove `pixels_per_point` from `FontDefinitions`
4 years ago
Emil Ernerfeldt
847f67c835
Rename FontFamily::VariableWidth to FontFamily::Proportional
4 years ago
Emil Ernerfeldt
958fc2753a
RepaintSignal now implements Sync so it can be sent to another thread
Fixes https://github.com/emilk/egui/issues/82
4 years ago
Emil Ernerfeldt
dca7f85f21
Release Egui 0.6.0
4 years ago
Emil Ernerfeldt
db3fdbe6d3
Add response.interact(sense), e.g. to check for clicks on labels
4 years ago
Emil Ernerfeldt
58fcf0f2a1
Changed: ui.allocate_painter returns a Response
4 years ago
Emil Ernerfeldt
48dfcde65f
Add ui.allocate_response(…): allocate space and check for interactions
4 years ago
Emil Ernerfeldt
66ae0ed7b9
Add Id to Response
4 years ago
Emil Ernerfeldt
a2ab35bab8
Rename `Sense::nothing()` to `Sense::hover()`
4 years ago
Emil Ernerfeldt
b65e6327ab
ui.allocate_space now returns an (Id, Rect) tuple
4 years ago
Emil Ernerfeldt
cd7abb457f
Expand Window + Resize areas to be large enough for last frames content
4 years ago
Emil Ernerfeldt
997cd4b279
ui.columns: Improve allocated size estimation + justified layous
Closes https://github.com/emilk/egui/issues/76
4 years ago
Emil Ernerfeldt
38e36fd806
Combo boxes has a scroll area
Closes https://github.com/emilk/egui/issues/75
4 years ago
Emil Ernerfeldt
36c15c4e41
Add egui::math::Rot2 rotation helper
4 years ago
Emil Ernerfeldt
01c65b0dcb
Replace Arc<Context> with struct CtxRef
4 years ago
Emil Ernerfeldt
ce0ea74c9f
Fix: The background of CentralPanel will now cover unused space too
4 years ago
Emil Ernerfeldt
ea10add1cb
Deprecate left/centered/right column functions in Ui
4 years ago
Emil Ernerfeldt
1e1bfa4dc7
Add ui.allocate_painter helper
4 years ago
Emil Ernerfeldt
58f36eb6ef
A `Window` may now cover an existing `CentralPanel`
4 years ago
Emil Ernerfeldt
c3c4f28a9d
Added App::clear_color() that apps can use to specify background color
4 years ago
Emil Ernerfeldt
b0e17638df
trait App now has fn name() for specifying egui_glium window title
4 years ago
Emil Ernerfeldt
d022765a3c
Improve decimal logic for Slider and DragValue
* You can now control the minimum and maixumum number of decimals to show in a `Slider` or `DragValue`.
* `Slider` and `DragValue` uses fewer decimals by default. See the full precision by hovering over the value.
4 years ago
Emil Ernerfeldt
d6d9c4828e
Turn off `Window` title bars with `window.title_bar(false)`
You can still resize and move them assuming there is some area that
does not steal the drag input. In particular, if a scroll area covers
the window than dragging the window contents will scroll, not move it.
Closes https://github.com/emilk/egui/issues/66
4 years ago
Emil Ernerfeldt
8af83bf93f
Slight tweak of the default `Style` and font sizes
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
91e5295db2
Add mouse-over explanation to duplicate ID warning
4 years ago
Emil Ernerfeldt
0e0beece44
SidePanel::left and TopPanel::top now takes `impl Hash` instead of Id
4 years ago
Emil Ernerfeldt
18ebac116f
Add widget `ImageButton`
4 years ago