mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 02:54:54 +03:00
09980af4ea
This was the only thing LibWeb needed from LibGUI, and we can just duplicate the enum in LibWeb and get rid of a bogus dependency.
25 lines
352 B
C++
25 lines
352 B
C++
/*
|
|
* Copyright (c) 2024, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/EnumBits.h>
|
|
|
|
namespace Web::UIEvents {
|
|
|
|
enum MouseButton : u8 {
|
|
None = 0,
|
|
Primary = 1,
|
|
Secondary = 2,
|
|
Middle = 4,
|
|
Backward = 8,
|
|
Forward = 16,
|
|
};
|
|
|
|
AK_ENUM_BITWISE_OPERATORS(MouseButton);
|
|
|
|
}
|