MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ find_window()

std::shared_ptr< Window > MayaFlux::Core::WindowManager::find_window ( const std::string &  title) const

Finds window by title.

Returns
Pointer to window, or nullptr if not found

Definition at line 97 of file WindowManager.cpp.

98{
99 auto it = m_window_lookup.find(title);
100 return (it != m_window_lookup.end()) ? it->second.lock() : nullptr;
101}
std::unordered_map< std::string, std::weak_ptr< Window > > m_window_lookup

References m_window_lookup.

Referenced by destroy_window_by_title().

+ Here is the caller graph for this function: