mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-06 09:01:53 +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:
parent
5707d7f547
commit
19fa70c821
Notes:
sideshowbarker
2024-07-19 14:58:10 +09:00
Author: https://github.com/awesomekling
Commit: 19fa70c821
16 changed files with 361 additions and 47 deletions
|
@ -30,9 +30,9 @@ void GTableView::update_content_size()
|
|||
|
||||
void GTableView::did_update_model()
|
||||
{
|
||||
GAbstractView::did_update_model();
|
||||
update_content_size();
|
||||
update();
|
||||
GAbstractView::did_update_model();
|
||||
}
|
||||
|
||||
Rect GTableView::row_rect(int item_index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue