Home
last modified time | relevance | path

Searched refs:renderer (Results 1 – 13 of 13) sorted by relevance

/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs4 renderer::{RenderMode, Renderer},
216 let mut renderer = PanelRenderer::new(&mut window); in draw() localVariable
219 self.draw_widget(&mut renderer, widget); in draw()
222 renderer.sync(); in draw()
226 pub fn draw_widget(&self, renderer: &mut dyn Renderer, widget: &Arc<dyn Widget>) { in draw_widget()
232 widget.draw(renderer, self.is_focused(widget)); in draw_widget()
238 Self::draw_rect_wireframe(renderer, widget.rect().get(), Color::rgb(0, 0, 0)); in draw_widget()
246 self.draw_widget(renderer, child); in draw_widget()
252 Self::draw_rect_wireframe(renderer, child.rect().get(), Color::rgb(0, 0, 0)); in draw_widget()
258 fn draw_rect_wireframe(renderer: &mut dyn Renderer, rect: Rect, color: Color) { in draw_rect_wireframe()
[all …]
/StarryEngine/starry_toolkit/src/widgets/
H A Dimage.rs7 use starry_client::base::{color::Color, renderer::Renderer};
122 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw()
127 renderer.image( in draw()
H A Dlabel.rs8 use starry_client::base::{color::Color, renderer::Renderer};
162 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw()
188 renderer.char(local_rect.x, local_rect.y, char, self.text_color.get()); in draw()
H A Dmod.rs7 use starry_client::base::renderer::Renderer;
86 fn draw(&self, renderer: &mut dyn Renderer, focused: bool); in draw()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs8 use starry_client::base::{color::Color, renderer::Renderer};
119 fn draw(&self, renderer: &mut dyn Renderer, focused: bool) { in draw()
125 child.draw(renderer, focused); in draw()
H A Dasset_item_grid.rs8 use starry_client::base::{color::Color, renderer::Renderer};
124 fn draw(&self, renderer: &mut dyn Renderer, focused: bool) { in draw()
143 child.draw(renderer, focused); in draw()
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs8 use starry_client::base::renderer::Renderer;
208 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw()
211 widget.draw(renderer, self.is_focused(widget)); in draw()
H A Dgrid.rs8 use starry_client::base::renderer::Renderer;
279 fn draw(&self, renderer: &mut dyn Renderer, _focused: bool) { in draw()
282 widget.draw(renderer, self.is_focused(widget)); in draw()
/StarryEngine/starry_client/src/base/
H A Dmod.rs4 pub mod renderer; module
/StarryEngine/starry_server/src/base/
H A Ddisplay.rs1 use starry_client::base::{color::Color, renderer::Renderer};
H A Dimage.rs7 renderer::{RenderMode, Renderer},
/StarryEngine/starry_client/src/
H A Dwindow.rs10 renderer::{RenderMode, Renderer},
/StarryEngine/starry_server/src/core/
H A Dcompositor.rs8 use starry_client::base::renderer::Renderer;