mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	 3df3a85235
			
		
	
	
		3df3a85235
		
	
	
	
	
		
			
			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
 | |
| };
 | |
| 
 | |
| }
 |