Started working on tree listing

This commit is contained in:
Yousef Khadadeh 2025-12-20 16:38:51 +03:00
parent b91321560e
commit 180c930474
18 changed files with 315 additions and 168 deletions

View file

@ -897,6 +897,12 @@ void GUIManager::list_popup_menu(const std::string& id, Vector2f popupPos, const
}
}
void GUIManager::tree_listing(const std::string& id, const NetworkingObjects::NetObjTemporaryPtr<NetworkingObjects::NetObjOrderedList<BookmarkListItem>>& bookmarkList) {
push_id(id);
insert_element<TreeListing>()->update(*io, *this, bookmarkList);
pop_id();
}
void GUIManager::obstructing_window() {
if(Clay_Hovered())
io->hoverObstructed = true;