egui/egui_demo_lib
Sven Niederberger 012542d066
Drag and zoom support for plots (#317)
* drag and zoom support for plots

* update doctest

* use impl ToString

* revert back to Into<String> until #302 is solved

* Apply suggestions from code review

Co-authored-by: ilya sheprut <optitel223@gmail.com>

* use persistence feature for PlotMemory

* rename shift -> translate

* remove automatic bounds

* removed unused methods

* Into<String> -> ToString

* Apply suggestions from code review

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>

* avoid potential invalid bounds bug

* use new is_valid method

* improve auto bounds behavior as suggested

* use NOTHING to initialize min_auto_bounds

Co-authored-by: ilya sheprut <optitel223@gmail.com>
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2021-04-21 21:50:27 +02:00
..
benches Clippy fixes for benchmark 2021-04-18 23:14:35 +02:00
src Drag and zoom support for plots (#317) 2021-04-21 21:50:27 +02:00
Cargo.toml Try to allow turning off default_fonts for all libs (#266) 2021-04-07 20:14:44 +02:00
README.md Rename Egui to egui 2021-01-17 14:48:59 +01:00

egui demo library

this crate contains example code for egui.

it is in a separate crate for two reasons:

  • to ensure it only uses the public egui api.
  • to remove the amount of code in egui proper.