Emil Ernerfeldt
|
d0d22ea09b
|
Release 0.7.0
|
2021-01-04 15:52:29 +01:00 |
|
Pascal Ernst
|
00269f96c0
|
Make style module public (#92)
Allow access to types such as `Visual` to configure the Ui style.
|
2021-01-04 10:24:49 +01:00 |
|
Emil Ernerfeldt
|
10a23d18e1
|
Support additive colors in color picker
|
2021-01-03 18:16:12 +01:00 |
|
Emil Ernerfeldt
|
5c8df6925d
|
TextEdit widgets are now slightly larger to accommodate their frames
Fixes https://github.com/emilk/egui/issues/89
|
2021-01-03 16:22:10 +01:00 |
|
Emil Ernerfeldt
|
c6a5af19e6
|
Add all alpha-numeric keys to egui::Key
Closes https://github.com/emilk/egui/issues/91
|
2021-01-03 11:25:13 +01:00 |
|
Emil Ernerfeldt
|
25b8a8ebfd
|
Add window.id(…) and area.id(…) for overriding the default Id
|
2021-01-03 00:12:15 +01:00 |
|
Emil Ernerfeldt
|
31930e25e3
|
[refactor] Split out widgets into different files
|
2021-01-02 23:34:51 +01:00 |
|
Emil Ernerfeldt
|
d2d9bf4bdd
|
Move struct Options into Memory so Style persists
|
2021-01-02 23:28:44 +01:00 |
|
Emil Ernerfeldt
|
a905c884e8
|
Add widget egui::reset_button
|
2021-01-02 23:28:10 +01:00 |
|
Emil Ernerfeldt
|
fffa5e7795
|
[egui] Derive Serialize/Deserialize for a bunch of things
|
2021-01-02 20:32:05 +01:00 |
|
Emil Ernerfeldt
|
83b75b117e
|
refactor: move used_ids and tooltip_rect from Memory to FrameState
|
2021-01-02 20:26:26 +01:00 |
|
Emil Ernerfeldt
|
029a85c1fc
|
Move Color32 constants from mod color to struct Color32
|
2021-01-02 17:18:41 +01:00 |
|
Emil Ernerfeldt
|
64dd186daf
|
Deprecate color::srgba function. Use Color32::from_rgb etc instead.
|
2021-01-02 17:06:26 +01:00 |
|
Emil Ernerfeldt
|
73f3d8cf46
|
Rename Srgba to Color32
|
2021-01-02 17:02:18 +01:00 |
|
Emil Ernerfeldt
|
1bac357c8a
|
Add helpful script for listing contents of a .ttf file
|
2021-01-02 16:47:15 +01:00 |
|
lucaspoffo
|
212fd80b01
|
Scroll based on the mouse start position (#84)
Fixes #57
|
2021-01-02 16:41:20 +01:00 |
|
Emil Ernerfeldt
|
948d8ec6ed
|
clippy fixes
|
2021-01-02 16:31:45 +01:00 |
|
Emil Ernerfeldt
|
14a96ca5d0
|
Add a dummy warm-up frame to the demo app to pre-cache emojis
|
2021-01-02 14:42:43 +01:00 |
|
Emil Ernerfeldt
|
d8d761aac7
|
Fix: panels only allocate what they use, so native window can shrink
|
2021-01-02 13:12:29 +01:00 |
|
Emil Ernerfeldt
|
1690db0f0c
|
demo tweaks
|
2021-01-02 12:00:14 +01:00 |
|
Emil Ernerfeldt
|
4e3251c300
|
Improve ecosystem documentation and add changelogs for epi and eframe
|
2021-01-02 11:59:20 +01:00 |
|
Emil Ernerfeldt
|
4848c171eb
|
[demo] Move Fractal Clock to WrapApp
|
2021-01-02 00:12:45 +01:00 |
|
Emil Ernerfeldt
|
d7459bc13d
|
Move egui::app into new epi crate
|
2020-12-29 14:15:46 +01:00 |
|
Emil Ernerfeldt
|
6953dc7d5d
|
Split out the Egui demo code to new crate egui_demo_lib
|
2020-12-29 13:40:11 +01:00 |
|
lucaspoffo
|
46471f930d
|
Fix nested scrolling (#83)
Add scroll_delta in FrameState to fix nested scrolling.
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
|
2020-12-29 12:24:57 +01:00 |
|
Emil Ernerfeldt
|
6dd15dd1a3
|
Add shadows under windows
|
2020-12-29 12:18:41 +01:00 |
|
Emil Ernerfeldt
|
d38b16f1ea
|
Learn how to spell to "tessellation"
|
2020-12-29 12:18:41 +01:00 |
|
lucaspoffo
|
19b4d87c65
|
Add ui.scroll_to_cursor and response.scroll_to_me (#81)
Contributed by https://github.com/lucaspoffo
|
2020-12-29 12:18:17 +01:00 |
|
Emil Ernerfeldt
|
2870001544
|
Document mutex types
|
2020-12-28 10:33:19 +01:00 |
|
Emil Ernerfeldt
|
69ffa9be35
|
Remove pixels_per_point from FontDefinitions
|
2020-12-27 23:09:51 +01:00 |
|
Emil Ernerfeldt
|
847f67c835
|
Rename FontFamily::VariableWidth to FontFamily::Proportional
|
2020-12-27 14:19:20 +01:00 |
|
Emil Ernerfeldt
|
53ab2f4ef6
|
Improve documentation
|
2020-12-27 14:16:37 +01:00 |
|
Emil Ernerfeldt
|
a1fa9903b0
|
Add a lot of documentation and inter-doc links
|
2020-12-27 12:57:15 +01:00 |
|
Emil Ernerfeldt
|
22e442c613
|
Remove some dead code
|
2020-12-27 12:56:57 +01:00 |
|
Emil Ernerfeldt
|
997103a910
|
Removed pub on some things that should be private
|
2020-12-27 12:56:16 +01:00 |
|
Emil Ernerfeldt
|
442b876cb5
|
Remove math::TAU and use std::f32::consts::TAU instead
|
2020-12-27 11:24:08 +01:00 |
|
Emil Ernerfeldt
|
958fc2753a
|
RepaintSignal now implements Sync so it can be sent to another thread
Fixes https://github.com/emilk/egui/issues/82
|
2020-12-27 10:49:26 +01:00 |
|
Emil Ernerfeldt
|
dca7f85f21
|
Release Egui 0.6.0
|
2020-12-26 22:43:29 +01:00 |
|
Emil Ernerfeldt
|
8f40439a35
|
Fix incorrect deprecation redirect
|
2020-12-26 22:35:21 +01:00 |
|
Emil Ernerfeldt
|
db3fdbe6d3
|
Add response.interact(sense), e.g. to check for clicks on labels
|
2020-12-26 22:05:56 +01:00 |
|
Emil Ernerfeldt
|
de614153b5
|
Add default_fonts feature: Turn off if you use your own fonts
|
2020-12-26 21:20:55 +01:00 |
|
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.
|
2020-12-26 20:36:25 +01:00 |
|
Emil Ernerfeldt
|
58fcf0f2a1
|
Changed: ui.allocate_painter returns a Response
|
2020-12-26 19:50:18 +01:00 |
|
Emil Ernerfeldt
|
48dfcde65f
|
Add ui.allocate_response(…): allocate space and check for interactions
|
2020-12-26 19:14:13 +01:00 |
|
Emil Ernerfeldt
|
66ae0ed7b9
|
Add Id to Response
|
2020-12-26 11:28:55 +01:00 |
|
Emil Ernerfeldt
|
a2ab35bab8
|
Rename Sense::nothing() to Sense::hover()
|
2020-12-26 02:09:32 +01:00 |
|
Emil Ernerfeldt
|
b65e6327ab
|
ui.allocate_space now returns an (Id, Rect) tuple
|
2020-12-26 01:38:26 +01:00 |
|
Emil Ernerfeldt
|
cd7abb457f
|
Expand Window + Resize areas to be large enough for last frames content
|
2020-12-25 15:41:18 +01:00 |
|
Emil Ernerfeldt
|
997cd4b279
|
ui.columns: Improve allocated size estimation + justified layous
Closes https://github.com/emilk/egui/issues/76
|
2020-12-25 15:34:33 +01:00 |
|
Emil Ernerfeldt
|
355934ddc1
|
Add helpers ui.set_width and ui.set_width_range
|
2020-12-25 15:29:00 +01:00 |
|