Home
last modified time | relevance | path

Searched refs:SCREEN_HEIGHT (Results 1 – 9 of 9) sorted by relevance

/StarryEngine/starry_server/src/base/
H A Dwindow.rs5 use crate::core::SCREEN_HEIGHT;
62 .unwrap_or(Image::new(SCREEN_HEIGHT as i32, SCREEN_HEIGHT as i32)), in new()
H A Dimage.rs10 use crate::core::{SCREEN_HEIGHT, SCREEN_WIDTH};
273 if img_width > SCREEN_WIDTH as u32 || img_heigh > SCREEN_HEIGHT as u32 { in from_path()
276 SCREEN_HEIGHT as u32, in from_path()
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs18 core::{SCREEN_HEIGHT, SCREEN_WIDTH},
84 cursor_y: Cell::new(SCREEN_HEIGHT as i32 / 2), in new()
130 y = cmp::max(0, (SCREEN_HEIGHT as i32 - height) / 2); in window_new()
206 let max_y: i32 = SCREEN_HEIGHT as i32; in handle_mouse_relative_event()
H A Dmod.rs23 pub const SCREEN_HEIGHT: usize = 900; constant
80 SCREEN_HEIGHT as i32, in run()
/StarryEngine/starry_server/src/
H A Dmain.rs6 core::{starry_server, StarryServer, SCREEN_HEIGHT, SCREEN_WIDTH},
16 SCREEN_HEIGHT as i32, in main()
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs6 use starry_server::core::{SCREEN_HEIGHT, SCREEN_WIDTH};
42 Rect::new(0, 0, SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32), in new()
47 Rect::new(SCREEN_WIDTH as i32 - 64, SCREEN_HEIGHT as i32 - 64, 64, 64), in new()
/StarryEngine/starry_toolkit/src/
H A Dmain.rs2 use starry_server::core::{SCREEN_HEIGHT, SCREEN_WIDTH};
14 Rect::new(0, 0, SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32), in main()
/StarryEngine/starry_client/src/
H A Dwindow.rs18 const SCREEN_HEIGHT: usize = 900; constant
70 let height = min(self.height() as i32, SCREEN_HEIGHT as i32 - self.y); in sync()
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs8 use starry_server::core::{SCREEN_HEIGHT, SCREEN_WIDTH};
159 Rect::new(0, 0, SCREEN_WIDTH as u32, SCREEN_HEIGHT as u32) in arrange_self_base()