Struct imgui::ImageButtonDeprecated
source · pub struct ImageButtonDeprecated { /* private fields */ }
Implementations§
source§impl ImageButtonDeprecated
impl ImageButtonDeprecated
sourcepub fn size(self, size: impl Into<Vector2<f32>>) -> Self
👎Deprecated: just set the size in the new
constructor.
pub fn size(self, size: impl Into<Vector2<f32>>) -> Self
new
constructor.Sets the image button size
sourcepub fn background_col(self, bg_col: impl Into<Vector4<f32>>) -> Self
pub fn background_col(self, bg_col: impl Into<Vector4<f32>>) -> Self
Sets the background color (default: no background color)
sourcepub fn tint_col(self, tint_col: impl Into<Vector4<f32>>) -> Self
pub fn tint_col(self, tint_col: impl Into<Vector4<f32>>) -> Self
Sets the tint color (default: no tint color)
sourcepub fn frame_padding(self, frame_padding: i32) -> Self
pub fn frame_padding(self, frame_padding: i32) -> Self
Sets the frame padding (default: uses frame padding from style).
< 0
: uses frame padding from style (default)= 0
: no framing> 0
: set framing size
Trait Implementations§
source§impl Clone for ImageButtonDeprecated
impl Clone for ImageButtonDeprecated
source§fn clone(&self) -> ImageButtonDeprecated
fn clone(&self) -> ImageButtonDeprecated
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more