mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 06:54:59 +00:00

FontDatabase.h with its includes add up to quite a lot of code. In the next commit, compiled GML files are going to need to access the FontWeight enum, so let's allow them to do that without pulling in lots of other things. Also, change users to include FontWeight.h instead of FontDatabase.h where appropriate.
24 lines
360 B
C++
24 lines
360 B
C++
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace Gfx::FontWeight {
|
|
|
|
enum {
|
|
Thin = 100,
|
|
ExtraLight = 200,
|
|
Light = 300,
|
|
Regular = 400,
|
|
Medium = 500,
|
|
SemiBold = 600,
|
|
Bold = 700,
|
|
ExtraBold = 800,
|
|
Black = 900,
|
|
ExtraBlack = 950
|
|
};
|
|
|
|
}
|