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

LibGUI: Draw separators between GTableView column headers.

This commit is contained in:
Andreas Kling 2019-02-28 11:04:03 +01:00
parent dc9f8a9361
commit 40c8dd80d1
2 changed files with 9 additions and 2 deletions

View file

@ -191,6 +191,11 @@ public:
Rect united(const Rect&) const;
Point top_left() const { return { left(), top() }; }
Point top_right() const { return { right(), top() }; }
Point bottom_left() const { return { left(), bottom() }; }
Point bottom_right() const { return { right(), bottom() }; }
String to_string() const { return String::format("[%d,%d %dx%d]", x(), y(), width(), height()); }
private: