TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_os_window_manager.h File Reference
#include <gui_core/gui_base_types.h>
#include <gui_core/gui_id.h>
#include <gui_core/windows/gui_window_backend.h>
#include <gui_core/windows/gui_window_flags.h>
#include <functional>
#include <string_view>
#include <unordered_map>
#include <unordered_set>

Go to the source code of this file.

Classes

class  tachyon::OSWindowManager
 Keeps the OS windows (through an IWindowBackend) and their window contexts for the GUI's window elements, keyed by ID. More...

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::AddWindowResult : int8_t {
  tachyon::AddWindowResult::SuccessCreate = 0 , tachyon::AddWindowResult::SuccessRecycle = 1 , tachyon::AddWindowResult::CalledOutsideOfFrame = -1 , tachyon::AddWindowResult::IndexOutOfBounds = -2 ,
  tachyon::AddWindowResult::FailedToCreateOSWindow = -3 , tachyon::AddWindowResult::InvalidID = -4 , tachyon::AddWindowResult::WindowUserClosed = -5
}
 Outcome of OSWindowManager::GetOrCreateWindow; negative values are failures. More...
enum class  tachyon::RequestCloseResult : int8_t {
  tachyon::RequestCloseResult::Success = 0 , tachyon::RequestCloseResult::CalledOutsideFrame = -1 , tachyon::RequestCloseResult::IndexOutOfBounds = -2 , tachyon::RequestCloseResult::WindowAlreadyClosed = -3 ,
  tachyon::RequestCloseResult::UnknownError = -4
}
 Outcome of an OSWindowManager close request; negative values are failures. More...
enum class  tachyon::WindowState : uint8_t { tachyon::WindowState::NotRegistered , tachyon::WindowState::Alive , tachyon::WindowState::Closing , tachyon::WindowState::Hidden }
 The life cycle of a managed window. More...