|
@@ -51,7 +51,7 @@ endpoint WindowServer
|
|
|
|
|
|
set_window_menubar(i32 window_id, i32 menubar_id) =|
|
|
set_window_menubar(i32 window_id, i32 menubar_id) =|
|
|
|
|
|
|
- set_window_title(i32 window_id, [UTF8] String title) => ()
|
|
|
|
|
|
+ set_window_title(i32 window_id, [UTF8] String title) =|
|
|
get_window_title(i32 window_id) => ([UTF8] String title)
|
|
get_window_title(i32 window_id) => ([UTF8] String title)
|
|
|
|
|
|
set_window_progress(i32 window_id, Optional<i32> progress) =|
|
|
set_window_progress(i32 window_id, Optional<i32> progress) =|
|
|
@@ -62,7 +62,7 @@ endpoint WindowServer
|
|
set_window_rect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
|
set_window_rect(i32 window_id, Gfx::IntRect rect) => (Gfx::IntRect rect)
|
|
get_window_rect(i32 window_id) => (Gfx::IntRect rect)
|
|
get_window_rect(i32 window_id) => (Gfx::IntRect rect)
|
|
|
|
|
|
- set_window_minimum_size(i32 window_id, Gfx::IntSize size) => ()
|
|
|
|
|
|
+ set_window_minimum_size(i32 window_id, Gfx::IntSize size) =|
|
|
get_window_minimum_size(i32 window_id) => (Gfx::IntSize size)
|
|
get_window_minimum_size(i32 window_id) => (Gfx::IntSize size)
|
|
|
|
|
|
get_applet_rect_on_screen(i32 window_id) => (Gfx::IntRect rect)
|
|
get_applet_rect_on_screen(i32 window_id) => (Gfx::IntRect rect)
|
|
@@ -75,13 +75,13 @@ endpoint WindowServer
|
|
did_finish_painting(i32 window_id, Vector<Gfx::IntRect> rects) =|
|
|
did_finish_painting(i32 window_id, Vector<Gfx::IntRect> rects) =|
|
|
|
|
|
|
set_global_cursor_tracking(i32 window_id, bool enabled) => ()
|
|
set_global_cursor_tracking(i32 window_id, bool enabled) => ()
|
|
- set_window_opacity(i32 window_id, float opacity) => ()
|
|
|
|
|
|
+ set_window_opacity(i32 window_id, float opacity) =|
|
|
|
|
|
|
- set_window_alpha_hit_threshold(i32 window_id, float threshold) => ()
|
|
|
|
|
|
+ set_window_alpha_hit_threshold(i32 window_id, float threshold) =|
|
|
|
|
|
|
set_window_backing_store(i32 window_id, i32 bpp, i32 pitch, IPC::File anon_file, i32 serial, bool has_alpha_channel, Gfx::IntSize size, bool flush_immediately) => ()
|
|
set_window_backing_store(i32 window_id, i32 bpp, i32 pitch, IPC::File anon_file, i32 serial, bool has_alpha_channel, Gfx::IntSize size, bool flush_immediately) => ()
|
|
|
|
|
|
- set_window_has_alpha_channel(i32 window_id, bool has_alpha_channel) => ()
|
|
|
|
|
|
+ set_window_has_alpha_channel(i32 window_id, bool has_alpha_channel) =|
|
|
move_window_to_front(i32 window_id) => ()
|
|
move_window_to_front(i32 window_id) => ()
|
|
set_fullscreen(i32 window_id, bool fullscreen) => ()
|
|
set_fullscreen(i32 window_id, bool fullscreen) => ()
|
|
set_frameless(i32 window_id, bool frameless) => ()
|
|
set_frameless(i32 window_id, bool frameless) => ()
|
|
@@ -94,11 +94,11 @@ endpoint WindowServer
|
|
set_wallpaper_mode(String mode) => ()
|
|
set_wallpaper_mode(String mode) => ()
|
|
|
|
|
|
set_resolution(Gfx::IntSize resolution, int scale_factor) => (bool success, Gfx::IntSize resolution, int scale_factor)
|
|
set_resolution(Gfx::IntSize resolution, int scale_factor) => (bool success, Gfx::IntSize resolution, int scale_factor)
|
|
- set_window_icon_bitmap(i32 window_id, Gfx::ShareableBitmap icon) => ()
|
|
|
|
|
|
+ set_window_icon_bitmap(i32 window_id, Gfx::ShareableBitmap icon) =|
|
|
|
|
|
|
get_wallpaper() => (String path)
|
|
get_wallpaper() => (String path)
|
|
- set_window_cursor(i32 window_id, i32 cursor_type) => ()
|
|
|
|
- set_window_custom_cursor(i32 window_id, Gfx::ShareableBitmap cursor) => ()
|
|
|
|
|
|
+ set_window_cursor(i32 window_id, i32 cursor_type) =|
|
|
|
|
+ set_window_custom_cursor(i32 window_id, Gfx::ShareableBitmap cursor) =|
|
|
|
|
|
|
start_drag([UTF8] String text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
|
start_drag([UTF8] String text, HashMap<String,ByteBuffer> mime_data, Gfx::ShareableBitmap drag_bitmap) => (bool started)
|
|
|
|
|
|
@@ -106,8 +106,8 @@ endpoint WindowServer
|
|
get_system_theme() => ([UTF8] String theme_name)
|
|
get_system_theme() => ([UTF8] String theme_name)
|
|
refresh_system_theme() =|
|
|
refresh_system_theme() =|
|
|
|
|
|
|
- set_window_base_size_and_size_increment(i32 window_id, Gfx::IntSize base_size, Gfx::IntSize size_increment) => ()
|
|
|
|
- set_window_resize_aspect_ratio(i32 window_id, Optional<Gfx::IntSize> resize_aspect_ratio) => ()
|
|
|
|
|
|
+ set_window_base_size_and_size_increment(i32 window_id, Gfx::IntSize base_size, Gfx::IntSize size_increment) =|
|
|
|
|
+ set_window_resize_aspect_ratio(i32 window_id, Optional<Gfx::IntSize> resize_aspect_ratio) =|
|
|
|
|
|
|
enable_display_link() =|
|
|
enable_display_link() =|
|
|
disable_display_link() =|
|
|
disable_display_link() =|
|