mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
Inspector: Add a custom 16x16 icon to represent objects
Behold, my finest "1990's OOP cube icon" :^)
This commit is contained in:
parent
05cd178477
commit
2e4e4ad957
Notes:
sideshowbarker
2024-07-19 12:37:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2e4e4ad957c
2 changed files with 1 additions and 2 deletions
BIN
Base/res/icons/16x16/inspector-object.png
Normal file
BIN
Base/res/icons/16x16/inspector-object.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 196 B |
|
@ -8,7 +8,7 @@
|
||||||
RemoteObjectGraphModel::RemoteObjectGraphModel(pid_t pid)
|
RemoteObjectGraphModel::RemoteObjectGraphModel(pid_t pid)
|
||||||
: m_pid(pid)
|
: m_pid(pid)
|
||||||
{
|
{
|
||||||
m_object_icon.set_bitmap_for_size(16, load_png("/res/icons/gear16.png"));
|
m_object_icon.set_bitmap_for_size(16, load_png("/res/icons/16x16/inspector-object.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
RemoteObjectGraphModel::~RemoteObjectGraphModel()
|
RemoteObjectGraphModel::~RemoteObjectGraphModel()
|
||||||
|
@ -101,7 +101,6 @@ void RemoteObjectGraphModel::update()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//dbg() << m_json.to_string();
|
|
||||||
did_update();
|
did_update();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue