Searched refs:SCREEN_HEIGHT (Results 1 – 9 of 9) sorted by relevance
/StarryEngine/starry_server/src/base/ |
H A D | window.rs | 5 use crate::core::SCREEN_HEIGHT; 62 .unwrap_or(Image::new(SCREEN_HEIGHT as i32, SCREEN_HEIGHT as i32)), in new()
|
H A D | image.rs | 10 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 D | window_manager.rs | 18 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 D | mod.rs | 23 pub const SCREEN_HEIGHT: usize = 900; constant 80 SCREEN_HEIGHT as i32, in run()
|
/StarryEngine/starry_server/src/ |
H A D | main.rs | 6 core::{starry_server, StarryServer, SCREEN_HEIGHT, SCREEN_WIDTH}, 16 SCREEN_HEIGHT as i32, in main()
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | mod.rs | 6 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 D | main.rs | 2 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 D | window.rs | 18 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 D | mod.rs | 8 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()
|