TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_application.h File Reference
#include <chrono>
#include <cstdint>
#include <memory>
#include <optional>
#include <unordered_map>
#include <unordered_set>
#include <variant>
#include <vector>
#include <cassert>
#include <source_location>
#include <span>
#include <functional>
#include <initializer_list>
#include <limits>
#include <string>
#include <utility>
#include <gui_core/frame/gui_frame_clock.h>
#include <gui_core/graphics/gui_graphics_context.h>
#include <gui_core/graphics/gui_renderer.h>
#include <gui_core/text/gui_clipboard.h>
#include <gui_core/text/skribidi/gui_text_system_skribidi.h>
#include <gui_core/text/gui_text_system.h>
#include <gui_core/text/gui_text_atlas_manager.h>
#include <gui_core/windows/gui_os_window_manager.h>
#include <gui_core/windows/gui_window_registry.h>
#include <gui_core/windows/gui_window_backend.h>
#include <gui_core/windows/gui_image_window_backend.h>
#include <gui_core/style/gui_style.h>
#include <gui_core/style/gui_gradient_manager.h>
#include <gui_core/style/gui_style_manager.h>
#include <gui_core/input/gui_input_state.h>
#include <gui_core/input/gui_input_manager.h>
#include <gui_core/input/gui_command_manager.h>
#include <gui_core/input/gui_input_handler_func.h>
#include <gui_core/input/gui_input_handler_broadcaster.h>
#include <gui_core/layout/gui_layout_engine.h>
#include <gui_core/elements/gui_element_storage.h>
#include <gui_core/graphics/gui_custom_draw_context.h>
#include <gui_core/state/gui_state_manager.h>
#include <gui_core/state/gui_tab_chain_manager.h>
#include <gui_core/frame/gui_frame_pipeline.h>
#include <gui_core/gui_id_manager.h>
#include <gui_controls/gui_transition_manager.h>
#include <gui_controls/gui_type_dimensions.h>
#include <gui_controls/gui_default_handlers.h>
#include <gui_controls/gui_tooltip_manager.h>
#include <gui_controls/gui_menu_manager.h>
#include <gui_controls/gui_dock_node.h>
#include <gui_controls/gui_table_helpers.h>
#include <gui_controls/gui_theme.h>
#include <gui_controls/gui_content.h>
#include <gui_controls/controls_toolbar_dock.h>
#include <gui_core/gui_result.h>
#include <gui_controls/gui_widget_state_types.h>
#include <gui_controls/gui_node_view_types.h>
#include <gui_controls/gui_table_types.h>
#include <gui_controls/gui_tree_grid_types.h>
#include <gui_controls/gui_docking_types.h>
#include <gui_controls/gui_notification_types.h>
#include <gui_controls/subsystems/gui_subsystem_state.h>
#include <gui_controls/subsystems/gui_label_group_subsystem.h>
#include <gui_controls/subsystems/gui_button_group_subsystem.h>
#include <gui_controls/subsystems/gui_color_picker_subsystem.h>
#include <gui_controls/subsystems/gui_gradient_editor_subsystem.h>
#include <gui_controls/subsystems/gui_reorderable_subsystem.h>
#include <gui_controls/subsystems/gui_ui_cache_subsystem.h>

Go to the source code of this file.

Classes

struct  tachyon::MessageButton
 A button of a MessageDialog. More...
struct  tachyon::MessageDialogItem
 An affected item, listed in a well: a name, an optional color dot and note, and a checkbox when checked is set. More...
struct  tachyon::MessageDialogDesc
 What a MessageDialog shows. More...
struct  tachyon::GUIApplicationInitializeOptions
 What GUIApplication::Initialize sets up besides the core systems. More...
class  tachyon::GUIApplication
 The application: owns the windows, the systems and the frame loop. More...
struct  tachyon::GUIApplication::FrameTimingSample
 Rolling per-frame timing history in ms, recorded only while profiling is enabled. More...
class  tachyon::GUIApplication::Scope< EndFn >
 A container's scope: its End runs when the scope leaves (or at End()). More...
struct  tachyon::GUIApplication::SettingsPanelState
 What RenderSettingsPanel shows: its pages, the selected one and the tree width. More...
struct  tachyon::GUIApplication::SettingsPanelState::Page
 A page: a stable ID, its name in the tree, and render, which builds its content. More...
struct  tachyon::GUIApplication::SettingsPanelState::Internal
 Tree-view backing state, rebuilt per frame; not part of the API. More...
struct  tachyon::GUIApplication::PersistedTable::Target

Namespaces

namespace  tachyon

Enumerations

enum class  tachyon::MessageIcon : uint8_t {
  tachyon::MessageIcon::Warning , tachyon::MessageIcon::Quit , tachyon::MessageIcon::Question , tachyon::MessageIcon::Info ,
  tachyon::MessageIcon::Error
}
 The icon beside a MessageDialog's text. More...
enum class  tachyon::MessageButtonKind : uint8_t { tachyon::MessageButtonKind::Secondary , tachyon::MessageButtonKind::Primary , tachyon::MessageButtonKind::Danger }
 How a MessageButton is styled: Primary for the main choice, Danger for a destructive one. More...

Functions

void tachyon::VERIFY (ElementStorageResult result)
 Checks the result of an element-storage call (e.g.
void tachyon::VERIFY (RegistryResult result)
 As above, for windowRegistry calls.
void tachyon::VERIFY (AddWindowResult result)
 WindowUserClosed is accepted too: it's the expected outcome when a window can't be reopened.
void tachyon::VERIFY (RequestCloseResult result)
 Checks the result of closing a window: misuse (outside a frame, already closed) is reported; other failures assert.