Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 8 of 8) sorted by relevance

/StarryEngine/starry_client/src/
H A Dwindow.rs51 fn width(&self) -> u32 { in width()
55 fn height(&self) -> u32 { in height()
96 pub fn new(x: i32, y: i32, w: u32, h: u32, title: &str, color: Color) -> Self { in new()
136 pub fn set_size(&mut self, width: u32, height: u32) { in set_size()
/StarryEngine/starry_client/src/base/
H A Drenderer.rs22 fn width(&self) -> u32; in width()
25 fn height(&self) -> u32; in height()
113 fn image(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, data: &[Color]) { in image()
138 fn image_opaque(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_opaque()
173 fn image_fast(&mut self, start_x: i32, start_y: i32, w: u32, h: u32, image_data: &[Color]) { in image_fast()
456 fn rect(&mut self, x: i32, y: i32, w: u32, h: u32, color: Color) { in rect()
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs122 fn resize(&self, width: u32, height: u32) { in resize()
127 fn resize_base(&self, width: u32, height: u32) { in resize_base()
H A Dimage.rs31 pub fn new(width: u32, height: u32) -> Arc<Self> { in new()
35 pub fn new_from_color(width: u32, height: u32, color: Color) -> Arc<Self> { in new_from_color()
H A Dlabel.rs220 fn resize(&self, width: u32, height: u32) { in resize()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs48 fn width(&self) -> u32 { in width()
52 fn height(&self) -> u32 { in height()
149 pub fn width(&self) -> u32 { in width()
155 pub fn height(&self) -> u32 { in height()
178 pub fn set_size(&self, width: u32, height: u32) { in set_size()
H A Drect.rs17 pub fn new(x: i32, y: i32, width: u32, height: u32) -> Rect { in new()
/StarryEngine/starry_server/src/base/
H A Dimage.rs205 fn width(&self) -> u32 { in width()
209 fn height(&self) -> u32 { in height()
337 pub fn resize(&self, w: u32, h: u32, resize_type: Type) -> Self { in resize()
362 fn width(&self) -> u32 { in width()
366 fn height(&self) -> u32 { in height()