1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

LibGUI: Allow override the font on a per-index basis in GListView

This should be ported to all of the GAbstractView subclasses.
This commit is contained in:
Andreas Kling 2019-10-22 21:38:04 +02:00
parent b89f64cb55
commit 31b5047894
4 changed files with 21 additions and 2 deletions

View file

@ -45,6 +45,8 @@ public:
void notify_selection_changed(Badge<GModelSelection>);
NonnullRefPtr<Font> font_for_index(const GModelIndex&) const;
protected:
virtual void did_scroll() override;
void activate(const GModelIndex&);