Release 0.12.0 - Multitouch, user memory, window pivots, and improved plots
This commit is contained in:
parent
3e8723c8ac
commit
8f8ba16696
14 changed files with 45 additions and 33 deletions
|
@ -7,6 +7,9 @@ NOTE: [`eframe`](eframe/CHANGELOG.md), [`egui_web`](egui_web/CHANGELOG.md) and [
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.12.0 - 2021-05-10 - Multitouch, user memory, window pivots, and improved plots
|
||||||
|
|
||||||
### Added ⭐
|
### Added ⭐
|
||||||
* Add anchors to windows and areas so you can put a window in e.g. the top right corner.
|
* Add anchors to windows and areas so you can put a window in e.g. the top right corner.
|
||||||
* Make labels interactive with `Label::sense(Sense::click())`.
|
* Make labels interactive with `Label::sense(Sense::click())`.
|
||||||
|
|
18
Cargo.lock
generated
18
Cargo.lock
generated
|
@ -743,7 +743,7 @@ checksum = "ee2626afccd7561a06cf1367e2950c4718ea04565e20fb5029b6c7d8ad09abcf"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "eframe"
|
name = "eframe"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"egui_glium",
|
"egui_glium",
|
||||||
|
@ -753,7 +753,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui"
|
name = "egui"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"epaint",
|
"epaint",
|
||||||
"ron",
|
"ron",
|
||||||
|
@ -763,7 +763,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_demo_app"
|
name = "egui_demo_app"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"eframe",
|
"eframe",
|
||||||
"egui_demo_lib",
|
"egui_demo_lib",
|
||||||
|
@ -771,7 +771,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_demo_lib"
|
name = "egui_demo_lib"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"criterion",
|
"criterion",
|
||||||
"egui",
|
"egui",
|
||||||
|
@ -783,7 +783,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_glium"
|
name = "egui_glium"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"copypasta",
|
"copypasta",
|
||||||
|
@ -800,7 +800,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "egui_web"
|
name = "egui_web"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"epi",
|
"epi",
|
||||||
|
@ -821,7 +821,7 @@ checksum = "e78d4f1cc4ae33bbfc157ed5d5a5ef3bc29227303d595861deb238fcec4e9457"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "emath"
|
name = "emath"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"mint",
|
"mint",
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -842,7 +842,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epaint"
|
name = "epaint"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"atomic_refcell",
|
"atomic_refcell",
|
||||||
|
@ -855,7 +855,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "epi"
|
name = "epi"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"egui",
|
"egui",
|
||||||
"ron",
|
"ron",
|
||||||
|
|
|
@ -3,6 +3,9 @@ All notable changes to the `eframe` crate.
|
||||||
|
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.12.0 - 2021-05-10
|
||||||
* Moved options out of `trait App` into new `NativeOptions`.
|
* Moved options out of `trait App` into new `NativeOptions`.
|
||||||
* Add option for `always_on_top`.
|
* Add option for `always_on_top`.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "eframe"
|
name = "eframe"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "egui framework - write GUI apps that compiles to web and/or natively"
|
description = "egui framework - write GUI apps that compiles to web and/or natively"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,16 +20,16 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.11.0", path = "../egui", default-features = false }
|
egui = { version = "0.12.0", path = "../egui", default-features = false }
|
||||||
epi = { version = "0.11.0", path = "../epi" }
|
epi = { version = "0.12.0", path = "../epi" }
|
||||||
|
|
||||||
# For compiling natively:
|
# For compiling natively:
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
egui_glium = { version = "0.11.0", path = "../egui_glium", default-features = false }
|
egui_glium = { version = "0.12.0", path = "../egui_glium", default-features = false }
|
||||||
|
|
||||||
# For compiling to web:
|
# For compiling to web:
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
egui_web = { version = "0.11.0", path = "../egui_web", default-features = false }
|
egui_web = { version = "0.12.0", path = "../egui_web", default-features = false }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["default_fonts"]
|
default = ["default_fonts"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui"
|
name = "egui"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Simple, portable immediate mode GUI library for Rust"
|
description = "Simple, portable immediate mode GUI library for Rust"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,7 +20,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
epaint = { version = "0.11.0", path = "../epaint", default-features = false }
|
epaint = { version = "0.12.0", path = "../epaint", default-features = false }
|
||||||
serde = { version = "1", features = ["derive", "rc"], optional = true }
|
serde = { version = "1", features = ["derive", "rc"], optional = true }
|
||||||
ron = { version = "0.6.4", optional = true }
|
ron = { version = "0.6.4", optional = true }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_demo_app"
|
name = "egui_demo_app"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -10,8 +10,8 @@ publish = false
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
eframe = { version = "0.11.0", path = "../eframe", features = ["time"] }
|
eframe = { version = "0.12.0", path = "../eframe", features = ["time"] }
|
||||||
egui_demo_lib = { version = "0.11.0", path = "../egui_demo_lib" }
|
egui_demo_lib = { version = "0.12.0", path = "../egui_demo_lib" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["persistence"]
|
default = ["persistence"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_demo_lib"
|
name = "egui_demo_lib"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Example library for egui"
|
description = "Example library for egui"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,8 +20,8 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.11.0", path = "../egui", default-features = false }
|
egui = { version = "0.12.0", path = "../egui", default-features = false }
|
||||||
epi = { version = "0.11.0", path = "../epi" }
|
epi = { version = "0.12.0", path = "../epi" }
|
||||||
|
|
||||||
# feature "http":
|
# feature "http":
|
||||||
image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true }
|
image = { version = "0.23", default-features = false, features = ["jpeg", "png"], optional = true }
|
||||||
|
|
|
@ -5,6 +5,9 @@ All notable changes to the `egui_glium` integration will be noted in this file.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.12.0 - 2021-05-10
|
||||||
|
|
||||||
* Simplify usage with a new `EguiGlium` wrapper type.
|
* Simplify usage with a new `EguiGlium` wrapper type.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_glium"
|
name = "egui_glium"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Bindings for using egui natively using the glium library"
|
description = "Bindings for using egui natively using the glium library"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,8 +20,8 @@ include = [
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
copypasta = "0.7"
|
copypasta = "0.7"
|
||||||
egui = { version = "0.11.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
egui = { version = "0.12.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||||
epi = { version = "0.11.0", path = "../epi" }
|
epi = { version = "0.12.0", path = "../epi" }
|
||||||
glium = "0.29"
|
glium = "0.29"
|
||||||
webbrowser = "0.5"
|
webbrowser = "0.5"
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@ All notable changes to the `egui_web` integration will be noted in this file.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
|
||||||
|
## 0.12.0 - 2021-05-10
|
||||||
|
|
||||||
### Fixed ⭐
|
### Fixed ⭐
|
||||||
* Scroll faster when scrolling with mouse wheel.
|
* Scroll faster when scrolling with mouse wheel.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "egui_web"
|
name = "egui_web"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Bindings for compiling egui code to WASM for a web page"
|
description = "Bindings for compiling egui code to WASM for a web page"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
|
@ -22,8 +22,8 @@ include = [
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.11.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
egui = { version = "0.12.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||||
epi = { version = "0.11.0", path = "../epi" }
|
epi = { version = "0.12.0", path = "../epi" }
|
||||||
js-sys = "0.3"
|
js-sys = "0.3"
|
||||||
ron = { version = "0.6", optional = true }
|
ron = { version = "0.6", optional = true }
|
||||||
serde = { version = "1", optional = true }
|
serde = { version = "1", optional = true }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "emath"
|
name = "emath"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Minimal 2D math library for GUI work"
|
description = "Minimal 2D math library for GUI work"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "epaint"
|
name = "epaint"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Minimal 2D graphics library for GUI work"
|
description = "Minimal 2D graphics library for GUI work"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -22,7 +22,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
emath = { version = "0.11.0", path = "../emath" }
|
emath = { version = "0.12.0", path = "../emath" }
|
||||||
|
|
||||||
ahash = { version = "0.7", features = ["std"], default-features = false }
|
ahash = { version = "0.7", features = ["std"], default-features = false }
|
||||||
atomic_refcell = { version = "0.1", optional = true } # Used instead of parking_lot when you are always using epaint in a single thread. About as fast as parking_lot. Panics on multi-threaded use.
|
atomic_refcell = { version = "0.1", optional = true } # Used instead of parking_lot when you are always using epaint in a single thread. About as fast as parking_lot. Panics on multi-threaded use.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "epi"
|
name = "epi"
|
||||||
version = "0.11.0"
|
version = "0.12.0"
|
||||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||||
description = "Backend-agnostic interface for writing apps using egui"
|
description = "Backend-agnostic interface for writing apps using egui"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
@ -20,7 +20,7 @@ include = [
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
egui = { version = "0.11.0", path = "../egui", default-features = false }
|
egui = { version = "0.12.0", path = "../egui", default-features = false, features = ["single_threaded"] }
|
||||||
ron = { version = "0.6", optional = true }
|
ron = { version = "0.6", optional = true }
|
||||||
serde = { version = "1", optional = true }
|
serde = { version = "1", optional = true }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue