mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
WindowServer: Double click a window's frame to latch to screen's edge
This commit is contained in:
parent
3e70d41c57
commit
83488cd102
3 changed files with 52 additions and 1 deletions
|
@ -6,13 +6,14 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "HitTestResult.h"
|
||||
#include <AK/Forward.h>
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <AK/RefPtr.h>
|
||||
#include <LibCore/Forward.h>
|
||||
#include <LibGfx/Forward.h>
|
||||
#include <LibGfx/WindowTheme.h>
|
||||
#include <WindowServer/HitTestResult.h>
|
||||
#include <WindowServer/ResizeDirection.h>
|
||||
|
||||
namespace WindowServer {
|
||||
|
||||
|
@ -125,6 +126,7 @@ private:
|
|||
void paint_menubar(Gfx::Painter&);
|
||||
MultiScaleBitmaps const* shadow_bitmap() const;
|
||||
Gfx::IntRect inflated_for_shadow(Gfx::IntRect const&) const;
|
||||
void latch_window_to_screen_edge(ResizeDirection);
|
||||
|
||||
void handle_menubar_mouse_event(MouseEvent const&);
|
||||
void handle_menu_mouse_event(Menu&, MouseEvent const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue