Merge pull request #152 from SpaceManiac/patch/style-traits

Add Clone to ImGuiStyle
This commit is contained in:
Malik Olivier Boussejra 2018-09-10 15:37:41 +09:00 committed by GitHub
commit 4f080de586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -545,6 +545,7 @@ impl Into<(f32, f32, f32, f32)> for ImVec4 {
/// Runtime data for styling/colors
#[repr(C)]
#[derive(Clone)]
pub struct ImGuiStyle {
/// Global alpha applies to everything in ImGui
pub alpha: c_float,