[−][src]Struct megaui::Style
Fields
margin: f32
title_height: f32
scroll_width: f32
scroll_multiplier: f32
window_border_focused: Color
window_border_inactive: Color
window_background_focused: Color
window_background_inactive: Color
editbox_background_focused: Color
editbox_background_inactive: Color
scrollbar_background_focused_clicked: Color
scrollbar_background_focused_hovered: Color
scrollbar_background_focused: Color
scrollbar_background_focused_inactive: Color
inactive_title: Color
focused_title: Color
focused_text: Color
inactive_text: Color
group_border_focused_hovered: Color
group_border_focused: Color
group_border_focused_highlight: Color
group_border_inactive_hovered: Color
group_border_inactive: Color
Methods
impl Style
[src]
pub fn window_border(&self, focused: bool) -> Color
[src]
pub fn background(&self, focused: bool) -> Color
[src]
pub fn editbox_background(&self, focused: bool) -> Color
[src]
pub fn scroll_bar_handle(
&self,
focused: bool,
hovered: bool,
clicked: bool
) -> Color
[src]
&self,
focused: bool,
hovered: bool,
clicked: bool
) -> Color
pub fn title(&self, focused: bool) -> Color
[src]
pub fn text(&self, focused: bool) -> Color
[src]
pub fn button_background(
&self,
focused: bool,
hovered: bool,
clicked: bool
) -> Color
[src]
&self,
focused: bool,
hovered: bool,
clicked: bool
) -> Color
pub fn drag_border(
&self,
focused: bool,
hovered: bool,
highlight: bool
) -> Color
[src]
&self,
focused: bool,
hovered: bool,
highlight: bool
) -> Color
pub fn tabbar_background(
&self,
focused: bool,
selected: bool,
hovered: bool,
clicked: bool
) -> Color
[src]
&self,
focused: bool,
selected: bool,
hovered: bool,
clicked: bool
) -> Color
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,