TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_window_backend.h File Reference
#include <gui_core/gui_base_types.h>
#include <optional>
#include <stdint.h>
#include <string>
#include <string_view>
#include <vector>
#include <functional>
#include <span>

Go to the source code of this file.

Classes

struct  tachyon::MonitorInfo
 Window, monitor and mouse coordinates are physical pixels. More...
class  tachyon::IWindowContext
 A window's rendering state: made by GraphicsContext::CreateWindowContext for each OS window, attached to it with IWindowBackend::AttachContextToWindow, and destroyed by GraphicsContext::DestroyWindowContext. More...
class  tachyon::IWindowBackend
 Makes and manages the OS windows and delivers their input; GUIApplication::SetWindowBackend sets one, SDLWindowBackend is the default. More...

Namespaces

namespace  tachyon

Typedefs

using tachyon::OSWindowHandle = void*
 An OS window, opaque; what it points to is up to the window backend.

Enumerations

enum class  tachyon::WindowHitArea : uint8_t { tachyon::WindowHitArea::Client , tachyon::WindowHitArea::Caption , tachyon::WindowHitArea::MaximizeButton }
 What a point of a window with a custom title bar (WindowFlags::CustomTitleBar) is to the OS. More...
enum class  tachyon::WindowMode : uint8_t {
  tachyon::WindowMode::Normal , tachyon::WindowMode::Minimized , tachyon::WindowMode::Maximized , tachyon::WindowMode::Fullscreen ,
  tachyon::WindowMode::ExclusiveFullscreen
}
 A window's state (IWindowBackend::SetWindowMode). Any window can go fullscreen. More...