[−][src]Trait guion::render::widgets::RenderStdWidgets
Required methods
fn fill_rect(&mut self, b: &Bounds, c: ESColor<E>)
fn border_rect(&mut self, b: &Bounds, c: ESColor<E>, thickness: u32)
fn render_preprocessed_text(
&mut self,
b: &Bounds,
text: &ESPPText<E>,
style: &EStyle<E>,
variant: &ESVariant<E>,
c: &mut E::Context
)
&mut self,
b: &Bounds,
text: &ESPPText<E>,
style: &EStyle<E>,
variant: &ESVariant<E>,
c: &mut E::Context
)
fn set_cursor(&mut self, b: &Bounds, cursor: ESCursor<E>)
fn draw_text_button(
&mut self,
b: &Bounds,
pressed: bool,
caption: &str,
style: &EStyle<E>,
variant: &ESVariant<E>
)
&mut self,
b: &Bounds,
pressed: bool,
caption: &str,
style: &EStyle<E>,
variant: &ESVariant<E>
)
fn draw_selected(&mut self, b: &Bounds, s: &EStyle<E>, variant: &ESVariant<E>)
Provided methods
fn render_text(
&mut self,
b: &Bounds,
text: &str,
style: &EStyle<E>,
variant: &ESVariant<E>,
c: &mut E::Context
)
&mut self,
b: &Bounds,
text: &str,
style: &EStyle<E>,
variant: &ESVariant<E>,
c: &mut E::Context
)
Deprecated:
avoid this because stuff is not cached