diff options
-rw-r--r-- | Base/res/icons/16x16/timer.png | bin | 0 -> 207 bytes | |||
-rw-r--r-- | DevTools/Inspector/RemoteObjectGraphModel.cpp | 3 | ||||
-rw-r--r-- | DevTools/Inspector/RemoteObjectGraphModel.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/Base/res/icons/16x16/timer.png b/Base/res/icons/16x16/timer.png Binary files differnew file mode 100644 index 0000000000..151c5aab62 --- /dev/null +++ b/Base/res/icons/16x16/timer.png diff --git a/DevTools/Inspector/RemoteObjectGraphModel.cpp b/DevTools/Inspector/RemoteObjectGraphModel.cpp index d772c96aa9..3f5b7d528f 100644 --- a/DevTools/Inspector/RemoteObjectGraphModel.cpp +++ b/DevTools/Inspector/RemoteObjectGraphModel.cpp @@ -38,6 +38,7 @@ RemoteObjectGraphModel::RemoteObjectGraphModel(RemoteProcess& process) m_object_icon.set_bitmap_for_size(16, Gfx::Bitmap::load_from_file("/res/icons/16x16/inspector-object.png")); m_window_icon.set_bitmap_for_size(16, Gfx::Bitmap::load_from_file("/res/icons/16x16/window.png")); m_layout_icon.set_bitmap_for_size(16, Gfx::Bitmap::load_from_file("/res/icons/16x16/layout.png")); + m_timer_icon.set_bitmap_for_size(16, Gfx::Bitmap::load_from_file("/res/icons/16x16/timer.png")); } RemoteObjectGraphModel::~RemoteObjectGraphModel() @@ -101,6 +102,8 @@ GUI::Variant RemoteObjectGraphModel::data(const GUI::ModelIndex& index, Role rol if (role == Role::Icon) { if (remote_object->class_name == "Window") return m_window_icon; + if (remote_object->class_name == "Timer") + return m_timer_icon; if (remote_object->class_name.ends_with("Layout")) return m_layout_icon; return m_object_icon; diff --git a/DevTools/Inspector/RemoteObjectGraphModel.h b/DevTools/Inspector/RemoteObjectGraphModel.h index 374416c49d..a35c8286d3 100644 --- a/DevTools/Inspector/RemoteObjectGraphModel.h +++ b/DevTools/Inspector/RemoteObjectGraphModel.h @@ -58,4 +58,5 @@ private: GIcon m_object_icon; GIcon m_window_icon; GIcon m_layout_icon; + GIcon m_timer_icon; }; |