Serenity Operating System
at master 50 lines 3.1 kB view raw
1#include <LibCore/AnonymousBuffer.h> 2#include <LibGfx/ShareableBitmap.h> 3 4endpoint WindowClient 5{ 6 fast_greet(Vector<Gfx::IntRect> screen_rects, u32 main_screen_index, u32 workspace_rows, u32 workspace_columns, Core::AnonymousBuffer theme_buffer, DeprecatedString default_font_query, DeprecatedString fixed_width_font_query, DeprecatedString window_title_font_query, Vector<bool> effects, i32 client_id) =| 7 8 paint(i32 window_id, Gfx::IntSize window_size, Vector<Gfx::IntRect> rects) =| 9 mouse_move(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta_x, i32 wheel_delta_y, i32 wheel_raw_delta_x, i32 wheel_raw_delta_y, bool is_drag, Vector<DeprecatedString> mime_types) =| 10 mouse_down(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta_x, i32 wheel_delta_y, i32 wheel_raw_delta_x, i32 wheel_raw_delta_y) =| 11 mouse_double_click(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta_x, i32 wheel_delta_y, i32 wheel_raw_delta_x, i32 wheel_raw_delta_y) =| 12 mouse_up(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta_x, i32 wheel_delta_y, i32 wheel_raw_delta_x, i32 wheel_raw_delta_y) =| 13 mouse_wheel(i32 window_id, Gfx::IntPoint mouse_position, u32 button, u32 buttons, u32 modifiers, i32 wheel_delta_x, i32 wheel_delta_y, i32 wheel_raw_delta_x, i32 wheel_raw_delta_y) =| 14 window_entered(i32 window_id) =| 15 window_left(i32 window_id) =| 16 window_input_preempted(i32 window_id) =| 17 window_input_restored(i32 window_id) =| 18 key_down(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =| 19 key_up(i32 window_id, u32 code_point, u32 key, u32 modifiers, u32 scancode) =| 20 window_activated(i32 window_id) =| 21 window_deactivated(i32 window_id) =| 22 window_state_changed(i32 window_id, bool minimized, bool maximized, bool occluded) =| 23 window_close_request(i32 window_id) =| 24 window_resized(i32 window_id, Gfx::IntRect new_rect) =| 25 window_moved(i32 window_id, Gfx::IntRect new_rect) =| 26 27 menu_item_activated(i32 menu_id, u32 identifier) =| 28 menu_item_entered(i32 menu_id, u32 identifier) =| 29 menu_item_left(i32 menu_id, u32 identifier) =| 30 menu_visibility_did_change(i32 menu_id, bool visible) =| 31 32 screen_rects_changed(Vector<Gfx::IntRect> rects, u32 main_screen_index, u32 workspace_rows, u32 workspace_columns) =| 33 34 applet_area_rect_changed(Gfx::IntRect rect) =| 35 36 drag_accepted() =| 37 drag_cancelled() =| 38 39 drag_dropped(i32 window_id, Gfx::IntPoint mouse_position, [UTF8] DeprecatedString text, HashMap<DeprecatedString,ByteBuffer> mime_data) =| 40 41 update_system_theme(Core::AnonymousBuffer theme_buffer) =| 42 update_system_fonts(DeprecatedString default_font_query, DeprecatedString fixed_width_font_query, DeprecatedString window_title_font_query) =| 43 update_system_effects(Vector<bool> effects) =| 44 45 display_link_notification() =| 46 47 track_mouse_move(Gfx::IntPoint mouse_position) =| 48 49 ping() =| 50}