mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
LibGfx+Userland: Remove dependency on GUI::TabWidget from StylePainter
Move TabPosition into its own file, and using it into the global namespace the same way we do for Gfx::Orientation. This unbreaks the gn build, and out of tree builds.
This commit is contained in:
parent
702dd0ca55
commit
d8ab9ed87c
11 changed files with 38 additions and 24 deletions
20
Userland/Libraries/LibGfx/TabPosition.h
Normal file
20
Userland/Libraries/LibGfx/TabPosition.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Andrew Kaster <akaster@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
enum TabPosition {
|
||||
Top,
|
||||
Bottom,
|
||||
Left,
|
||||
Right,
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
using Gfx::TabPosition;
|
Loading…
Add table
Add a link
Reference in a new issue