Home
last modified time | relevance | path

Searched refs:PanelRendererMode (Results 1 – 2 of 2) sorted by relevance

/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs26 pub enum PanelRendererMode { enum
99 renderer_mode: Cell<PanelRendererMode>,
123 renderer_mode: Cell::new(PanelRendererMode::Normal), in from_window()
190 pub fn set_renderer_mode(&self, renderer_mode: PanelRendererMode) { in set_renderer_mode() argument
229 if self.renderer_mode.get() == PanelRendererMode::Normal in draw_widget()
230 || self.renderer_mode.get() == PanelRendererMode::WithWireframe in draw_widget()
235 if self.renderer_mode.get() == PanelRendererMode::WithWireframe in draw_widget()
236 || self.renderer_mode.get() == PanelRendererMode::OnlyWireframe in draw_widget()
243 if self.renderer_mode.get() == PanelRendererMode::Normal in draw_widget()
244 || self.renderer_mode.get() == PanelRendererMode::WithWireframe in draw_widget()
[all …]
/StarryEngine/starry_toolkit/src/
H A Dmain.rs4 panel::{Panel, PanelRendererMode},
19 panel.set_renderer_mode(PanelRendererMode::WithWireframe); in main()