1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

WindowServer: Show PID and window ID in title bars for now.

This is useful for debugging since I'm often wondering which process some
window belongs to (and what the window ID is.)
This commit is contained in:
Andreas Kling 2019-01-21 02:42:29 +01:00
parent e6fc84e234
commit 291922b1af
5 changed files with 13 additions and 1 deletions

View file

@ -30,7 +30,7 @@ public:
void draw_focus_rect(const Rect&);
void blit(const Point&, const GraphicsBitmap&, const Rect& src_rect);
enum class TextAlignment { TopLeft, CenterLeft, Center };
enum class TextAlignment { TopLeft, CenterLeft, Center, CenterRight };
void draw_text(const Rect&, const String&, TextAlignment = TextAlignment::TopLeft, Color = Color());
void draw_glyph(const Point&, char, Color);