1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 16:55:07 +00:00

LibGUI: Add a GItemView class.

This is a GAbstractView subclass that implements a icon-based view onto
a GModel. It still need a bunch of work, but it's in basic usable shape.
This commit is contained in:
Andreas Kling 2019-03-23 03:53:51 +01:00
parent 5707d7f547
commit 19fa70c821
16 changed files with 361 additions and 47 deletions

View file

@ -25,8 +25,10 @@ void GAbstractView::set_model(RetainPtr<GModel>&& model)
did_update_model();
}
void GAbstractView::model_notification(const GModelNotification&)
void GAbstractView::model_notification(const GModelNotification& notification)
{
if (on_model_notification)
on_model_notification(notification);
}
void GAbstractView::did_update_model()