Release 0.13.0 - Better panels, plots and new visual style
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "egui"
|
||||
version = "0.12.0"
|
||||
version = "0.13.0"
|
||||
authors = ["Emil Ernerfeldt <emil.ernerfeldt@gmail.com>"]
|
||||
description = "Simple, portable immediate mode GUI library for Rust"
|
||||
edition = "2018"
|
||||
@@ -20,7 +20,7 @@ include = [
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
epaint = { version = "0.12.0", path = "../epaint", default-features = false }
|
||||
epaint = { version = "0.13.0", path = "../epaint", default-features = false }
|
||||
serde = { version = "1", features = ["derive", "rc"], optional = true }
|
||||
ron = { version = "0.6.4", optional = true }
|
||||
|
||||
|
||||
@@ -141,8 +141,6 @@ impl CtxRef {
|
||||
show_error(prev_rect.min, format!("First use of ID {}", id_str));
|
||||
show_error(new_rect.min, format!("Second use of ID {}", id_str));
|
||||
}
|
||||
|
||||
// TODO: a tooltip explaining this.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -320,12 +320,13 @@ impl RawInput {
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub struct TouchDeviceId(pub u64);
|
||||
|
||||
/// Unique identifiction of a touch occurence (finger or pen or ...).
|
||||
/// Unique identification of a touch occurrence (finger or pen or ...).
|
||||
/// A Touch ID is valid until the finger is lifted.
|
||||
/// A new ID is used for the next touch.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord)]
|
||||
pub struct TouchId(pub u64);
|
||||
|
||||
/// In what phase a touch event is in.
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum TouchPhase {
|
||||
/// User just placed a touch point on the touch surface
|
||||
|
||||
+2
-1
@@ -102,7 +102,8 @@
|
||||
//!
|
||||
//! # Integrating with egui
|
||||
//!
|
||||
//! Most likely you are using an existing `egui` backend/integration such as [`eframe`](https://docs.rs/eframe) or [`bevy_egui`](https://docs.rs/bevy_egui),
|
||||
//! Most likely you are using an existing `egui` backend/integration such as [`eframe`](https://docs.rs/eframe), [`bevy_egui`](https://docs.rs/bevy_egui),
|
||||
//! or [`egui-miniquad`](https://github.com/not-fl3/egui-miniquad),
|
||||
//! but if you want to integrate `egui` into a new game engine, this is the section for you.
|
||||
//!
|
||||
//! To write your own integration for egui you need to do this:
|
||||
|
||||
Reference in New Issue
Block a user