1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibGUI: Allow specifying per-column text alignment.

This commit is contained in:
Andreas Kling 2019-02-28 11:27:04 +01:00
parent ce7019f38c
commit b4c20789fb
6 changed files with 35 additions and 23 deletions

View file

@ -4,6 +4,7 @@
#include "Point.h"
#include "Rect.h"
#include "Size.h"
#include <SharedGraphics/TextAlignment.h>
#include <AK/AKString.h>
class CharacterBitmap;
@ -16,8 +17,6 @@ class GWidget;
class GWindow;
#endif
enum class TextAlignment { TopLeft, CenterLeft, Center, CenterRight };
class Painter {
public:
#ifdef USERLAND