1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00
Commit Graph

69 Commits

Author SHA1 Message Date
Emil Ernerfeldt
f5d2bc4e33 auto-grid 2023-05-08 10:58:41 +02:00
Emil Ernerfeldt
e84eef7815 Code cleanup 2023-05-04 21:59:45 +02:00
Emil Ernerfeldt
aa30414caf Improve drag-code 2023-05-04 21:26:26 +02:00
Emil Ernerfeldt
951bc988b3 move code 2023-05-04 21:24:24 +02:00
Emil Ernerfeldt
e757fdc152 Move code around a bit 2023-05-04 20:56:58 +02:00
Emil Ernerfeldt
84356885d1 Fix the bug! 2023-05-04 18:46:30 +02:00
Emil Ernerfeldt
1065d7aac9 Try to find elusive bug 2023-05-04 18:08:31 +02:00
Emil Ernerfeldt
09081cf4fc Nice tab title spacing 2023-05-04 16:13:42 +02:00
Emil Ernerfeldt
6f69a143fe Warn about missing nodes 2023-05-04 16:12:50 +02:00
Emil Ernerfeldt
051ec14b98 Users can add button to the tab bar 2023-05-04 15:42:40 +02:00
Emil Ernerfeldt
f2d6885a6b Nicer styling of tabs 2023-05-04 15:06:24 +02:00
Emil Ernerfeldt
3f02c7d698 Add Rangef to emath 2023-05-04 12:27:13 +02:00
Emil Ernerfeldt
065801410a Resize grid 2023-05-04 11:14:30 +02:00
Emil Ernerfeldt
e9b446b577 Refactor: register grid drop-zones during the ui pass 2023-05-04 10:57:46 +02:00
Emil Ernerfeldt
f5301b1761 Fix typos 2023-05-04 10:04:14 +02:00
Emil Ernerfeldt
e2b1438977 Improve dragging around tab labels 2023-05-04 09:40:40 +02:00
Emil Ernerfeldt
8267cf5f57 Drag-and-drop for vertical layouts 2023-05-03 22:48:26 +02:00
Emil Ernerfeldt
5fc6bfbf49 Resize vertical layouts 2023-05-03 16:36:19 +02:00
Emil Ernerfeldt
46e4fb49ec Simplify shares and use Rect/interacto for resize 2023-05-03 00:33:30 +02:00
Emil Ernerfeldt
4f4261f173 Resizing of horizontal layouts 2023-05-02 19:30:59 +02:00
Emil Ernerfeldt
f8ce589fd5 Only lay out the active tab 2023-05-02 18:11:33 +02:00
Emil Ernerfeldt
fa69d7a22b Split into files 2023-04-26 20:44:27 +02:00
Emil Ernerfeldt
e9928c8766 Turn Branch into an enum 2023-04-26 20:31:37 +02:00
Emil Ernerfeldt
53ce1904a2 Code cleanup: move branch-gnostic code into branch.rs 2023-04-26 20:01:36 +02:00
Emil Ernerfeldt
9510d3418e Some bugfixes 2023-04-25 23:23:18 +02:00
Emil Ernerfeldt
6563522939 Better re-ordering of grid cells 2023-04-25 21:51:49 +02:00
Emil Ernerfeldt
7b26f3b79f Grid support 2023-04-25 21:27:26 +02:00
Emil Ernerfeldt
e714b33940 Change layout at runtime 2023-04-25 16:26:53 +02:00
Emil Ernerfeldt
ea47d36de7 Refactor: use a single struct Branch 2023-04-25 13:19:24 +02:00
Emil Ernerfeldt
4be5f43a3a Remove NodeState 2023-04-25 12:42:29 +02:00
Emil Ernerfeldt
a4dc86d77e Store rects separatedly 2023-04-25 12:39:18 +02:00
Emil Ernerfeldt
1d0509de23 Smooth preview 2023-04-25 12:25:17 +02:00
Emil Ernerfeldt
32be36416c You can mandate that all leaves have tabs 2023-04-24 22:37:04 +02:00
Emil Ernerfeldt
0617b7d26d Drag to re-arrange horizontal layout 2023-04-24 21:41:19 +02:00
Emil Ernerfeldt
240989df8b Drag to re-arrange tabs 2023-04-24 20:46:21 +02:00
Emil Ernerfeldt
13ec65cf08 Fix drag-drop and simplification code 2023-04-24 17:04:10 +02:00
Emil Ernerfeldt
ce7ed11542 bug fixes 2023-04-24 15:44:27 +02:00
Emil Ernerfeldt
b5eddc5d5c Buggy drop-detection 2023-04-24 15:44:27 +02:00
Emil Ernerfeldt
9b154c6d1d Preview drag destinations 2023-04-24 15:44:27 +02:00
Emil Ernerfeldt
92d93cb24a Drag tab names 2023-04-24 15:44:27 +02:00
Emil Ernerfeldt
52657301c9 dock wip 2023-04-24 15:44:27 +02:00
Emil Ernerfeldt
9c9a54ce36 Replace tracing with log (#2928)
* Replace tracing crate with log

It's just so much simpler to use

* Add `bacon wasm` job

* eframe: add a WebLogger for piping log events to the web console
2023-04-18 21:11:26 +02:00
Jozef Číž
33aa4d698f Fix typos (#2866)
* Fix typos in comments

* Fix typos in demo texts

* Fix typos in code names

* Fix typos in cargos

* Fix typos in changelogs
2023-04-18 15:52:45 +02:00
Barugon
b80c0e6ff6 Add option to show icon (#2910) 2023-04-18 14:55:09 +02:00
YgorSouza
8ec9233e28 Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773)
To be consistent with the use of the safety badge in the README.
2023-03-29 14:39:51 +02:00
Emil Ernerfeldt
97756bc246 Add badges to all crates' README.md 2023-02-12 18:08:13 +01:00
Emil Ernerfeldt
ae722ab0cf Release 0.21.0 - Deadlock fix and winit update 2023-02-08 20:11:21 +01:00
Emil Ernerfeldt
06d753c289 Update SVG crates (#2670)
* Update resvg, tiny-skia and usv to latest

* Remove default features from svg crates

Users can always opt-in to them themselves

* Update png 0.17.6 -> 0.17.7
2023-02-04 13:00:04 +01:00
Emil Ernerfeldt
8ce0e1c520 Avoid deadlocks by using lambdas for context lock (#2625)
ctx.input().key_pressed(Key::A) -> ctx.input(|i| i.key_pressed(Key::A))
2023-01-25 10:24:23 +01:00
Emil Ernerfeldt
4bd4eca2e4 Add ability to hide button backgrounds (#2621)
* Add Spacing::combo_width

* Put ComboBox arrow closer to the text

* Tweak faint_bg_color

* Make it possible to have buttons without background

…while still having background for sliders, checkboxes, etc

* Rename mandatory_bg_fill -> bg_fill

* tweak grid stripe color (again)

* Make the animated part of the ProgressBar more visible

* Add line in changelog

* Add another line in changelog

* Menu fix: use the `open` widget style for open menus

* Adjust sizes on menu buttons and regular buttons to make sure they match

* Update comment

Co-authored-by: Andreas Reich <andreas@rerun.io>

* optional_bg_fill -> weak_bg_fill

Co-authored-by: Andreas Reich <andreas@rerun.io>
2023-01-24 10:11:05 +01:00