mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
LibGUI: Use AK_ENUM_BITWISE_OPERATORS for the FocusPolicy enum
This commit is contained in:
parent
5f6ab77352
commit
bac0dd5e3d
3 changed files with 6 additions and 3 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/EnumBits.h>
|
||||
#include <AK/JsonObject.h>
|
||||
#include <AK/String.h>
|
||||
#include <LibCore/Object.h>
|
||||
|
@ -80,6 +81,8 @@ enum class FocusPolicy {
|
|||
StrongFocus = TabFocus | ClickFocus,
|
||||
};
|
||||
|
||||
AK_ENUM_BITWISE_OPERATORS(FocusPolicy)
|
||||
|
||||
class Widget : public Core::Object {
|
||||
C_OBJECT(Widget)
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue