High-level orchestrator for multi-session UI. More...
#include <session_coordinator.h>
Public Member Functions | |
SessionCoordinator (void *sessions_ptr, EditorCardRegistry *card_registry, ToastManager *toast_manager, UserSettings *user_settings) | |
~SessionCoordinator ()=default | |
void | SetEditorManager (EditorManager *manager) |
void | CreateNewSession () |
void | DuplicateCurrentSession () |
void | CloseCurrentSession () |
void | CloseSession (size_t index) |
void | RemoveSession (size_t index) |
void | SwitchToSession (size_t index) |
void | ActivateSession (size_t index) |
size_t | GetActiveSessionIndex () const |
void * | GetActiveSession () const |
RomSession * | GetActiveRomSession () const |
Rom * | GetCurrentRom () const |
EditorSet * | GetCurrentEditorSet () const |
void * | GetSession (size_t index) const |
bool | HasMultipleSessions () const |
size_t | GetActiveSessionCount () const |
bool | HasDuplicateSession (const std::string &filepath) const |
void | DrawSessionSwitcher () |
void | DrawSessionManager () |
void | DrawSessionRenameDialog () |
void | DrawSessionTabs () |
void | DrawSessionIndicator () |
std::string | GetSessionDisplayName (size_t index) const |
std::string | GetActiveSessionDisplayName () const |
void | RenameSession (size_t index, const std::string &new_name) |
std::string | GenerateUniqueEditorTitle (const std::string &editor_name, size_t session_index) const |
void | SetActiveSessionIndex (size_t index) |
void | UpdateSessionCount () |
void | ShowAllCardsInActiveSession () |
void | HideAllCardsInActiveSession () |
void | ShowCardsInCategory (const std::string &category) |
void | HideCardsInCategory (const std::string &category) |
bool | IsValidSessionIndex (size_t index) const |
bool | IsSessionActive (size_t index) const |
bool | IsSessionLoaded (size_t index) const |
size_t | GetTotalSessionCount () const |
size_t | GetLoadedSessionCount () const |
size_t | GetEmptySessionCount () const |
absl::Status | LoadRomIntoSession (const std::string &filename, size_t session_index=SIZE_MAX) |
absl::Status | SaveActiveSession (const std::string &filename="") |
absl::Status | SaveSessionAs (size_t session_index, const std::string &filename) |
absl::StatusOr< RomSession * > | CreateSessionFromRom (Rom &&rom, const std::string &filepath) |
void | CleanupClosedSessions () |
void | ClearAllSessions () |
void | FocusNextSession () |
void | FocusPreviousSession () |
void | FocusFirstSession () |
void | FocusLastSession () |
void | ShowSessionSwitcher () |
void | HideSessionSwitcher () |
void | ToggleSessionSwitcher () |
bool | IsSessionSwitcherVisible () const |
void | ShowSessionManager () |
void | HideSessionManager () |
void | ToggleSessionManager () |
bool | IsSessionManagerVisible () const |
void | UpdateActiveSession () |
void | ValidateSessionIndex (size_t index) const |
std::string | GenerateUniqueSessionName (const std::string &base_name) const |
void | ShowSessionLimitWarning () |
void | ShowSessionOperationResult (const std::string &operation, bool success) |
void | DrawSessionTab (size_t index, bool is_active) |
void | DrawSessionContextMenu (size_t index) |
void | DrawSessionBadge (size_t index) |
ImVec4 | GetSessionColor (size_t index) const |
std::string | GetSessionIcon (size_t index) const |
bool | IsSessionEmpty (size_t index) const |
bool | IsSessionClosed (size_t index) const |
bool | IsSessionModified (size_t index) const |
Private Attributes | |
EditorManager * | editor_manager_ = nullptr |
void * | sessions_ptr_ |
EditorCardRegistry * | card_registry_ |
ToastManager * | toast_manager_ |
UserSettings * | user_settings_ |
size_t | active_session_index_ = 0 |
size_t | session_count_ = 0 |
bool | show_session_switcher_ = false |
bool | show_session_manager_ = false |
bool | show_session_rename_dialog_ = false |
size_t | session_to_rename_ = 0 |
char | session_rename_buffer_ [256] = {} |
Static Private Attributes | |
static constexpr size_t | kMaxSessions = 8 |
static constexpr size_t | kMinSessions = 1 |
High-level orchestrator for multi-session UI.
Manages session list UI, coordinates card visibility across sessions, handles session activation/deactivation, and provides session-aware editor queries.
This class lives in the ui/ layer and can depend on both system and gui components.
Definition at line 40 of file session_coordinator.h.
|
explicit |
Definition at line 15 of file session_coordinator.cc.
References active_session_index_, session_count_, and sessions_ptr_.
|
default |
|
inline |
Definition at line 48 of file session_coordinator.h.
References editor_manager_.
void yaze::editor::SessionCoordinator::CreateNewSession | ( | ) |
Definition at line 33 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, kMaxSessions, LOG_INFO, session_count_, ShowSessionLimitWarning(), ShowSessionOperationResult(), and UpdateSessionCount().
Referenced by DrawSessionSwitcher(), and yaze::editor::MenuOrchestrator::OnCreateNewSession().
void yaze::editor::SessionCoordinator::DuplicateCurrentSession | ( | ) |
Definition at line 56 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, kMaxSessions, LOG_INFO, session_count_, ShowSessionLimitWarning(), ShowSessionOperationResult(), and UpdateSessionCount().
Referenced by DrawSessionSwitcher(), and yaze::editor::MenuOrchestrator::OnDuplicateCurrentSession().
void yaze::editor::SessionCoordinator::CloseCurrentSession | ( | ) |
Definition at line 80 of file session_coordinator.cc.
References active_session_index_, and CloseSession().
Referenced by DrawSessionSwitcher(), and yaze::editor::MenuOrchestrator::OnCloseCurrentSession().
void yaze::editor::SessionCoordinator::CloseSession | ( | size_t | index | ) |
Definition at line 84 of file session_coordinator.cc.
References active_session_index_, card_registry_, GET_SESSIONS, IsValidSessionIndex(), kMinSessions, yaze::editor::kWarning, LOG_INFO, session_count_, yaze::editor::ToastManager::Show(), ShowSessionOperationResult(), toast_manager_, yaze::editor::EditorCardRegistry::UnregisterSession(), and UpdateSessionCount().
Referenced by CloseCurrentSession(), DrawSessionContextMenu(), DrawSessionManager(), and RemoveSession().
void yaze::editor::SessionCoordinator::RemoveSession | ( | size_t | index | ) |
Definition at line 122 of file session_coordinator.cc.
References CloseSession().
void yaze::editor::SessionCoordinator::SwitchToSession | ( | size_t | index | ) |
Definition at line 126 of file session_coordinator.cc.
References active_session_index_, card_registry_, IsValidSessionIndex(), and yaze::editor::EditorCardRegistry::SetActiveSession().
Referenced by ActivateSession(), CreateSessionFromRom(), DrawSessionContextMenu(), DrawSessionManager(), DrawSessionSwitcher(), DrawSessionTab(), DrawSessionTabs(), FocusFirstSession(), FocusLastSession(), FocusNextSession(), FocusPreviousSession(), yaze::editor::MenuOrchestrator::OnSwitchToSession(), and SetActiveSessionIndex().
void yaze::editor::SessionCoordinator::ActivateSession | ( | size_t | index | ) |
Definition at line 137 of file session_coordinator.cc.
References SwitchToSession().
size_t yaze::editor::SessionCoordinator::GetActiveSessionIndex | ( | ) | const |
Definition at line 141 of file session_coordinator.cc.
References active_session_index_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch().
void * yaze::editor::SessionCoordinator::GetActiveSession | ( | ) | const |
Definition at line 145 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, and IsValidSessionIndex().
Referenced by GetActiveRomSession().
RomSession * yaze::editor::SessionCoordinator::GetActiveRomSession | ( | ) | const |
Definition at line 153 of file session_coordinator.cc.
References GetActiveSession().
Referenced by GetCurrentEditorSet(), and GetCurrentRom().
Rom * yaze::editor::SessionCoordinator::GetCurrentRom | ( | ) | const |
Definition at line 157 of file session_coordinator.cc.
References GetActiveRomSession().
EditorSet * yaze::editor::SessionCoordinator::GetCurrentEditorSet | ( | ) | const |
Definition at line 162 of file session_coordinator.cc.
References GetActiveRomSession().
void * yaze::editor::SessionCoordinator::GetSession | ( | size_t | index | ) | const |
Definition at line 167 of file session_coordinator.cc.
References GET_SESSIONS, and IsValidSessionIndex().
Referenced by yaze::editor::UICoordinator::DrawRomSelector().
bool yaze::editor::SessionCoordinator::HasMultipleSessions | ( | ) | const |
Definition at line 175 of file session_coordinator.cc.
References session_count_.
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), DrawSessionContextMenu(), DrawSessionIndicator(), DrawSessionManager(), DrawSessionSwitcher(), and yaze::editor::MenuOrchestrator::HasMultipleSessions().
size_t yaze::editor::SessionCoordinator::GetActiveSessionCount | ( | ) | const |
Definition at line 179 of file session_coordinator.cc.
References session_count_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), and yaze::editor::UICoordinator::DrawMenuBarExtras().
bool yaze::editor::SessionCoordinator::HasDuplicateSession | ( | const std::string & | filepath | ) | const |
Definition at line 183 of file session_coordinator.cc.
References GET_SESSIONS.
void yaze::editor::SessionCoordinator::DrawSessionSwitcher | ( | ) |
Definition at line 197 of file session_coordinator.cc.
References active_session_index_, CloseCurrentSession(), CreateNewSession(), DrawSessionContextMenu(), DuplicateCurrentSession(), GET_SESSIONS, GetSessionDisplayName(), HasMultipleSessions(), ICON_MD_ADD, ICON_MD_CLOSE, ICON_MD_CONTENT_COPY, ICON_MD_TAB, session_count_, show_session_switcher_, and SwitchToSession().
void yaze::editor::SessionCoordinator::DrawSessionManager | ( | ) |
Definition at line 263 of file session_coordinator.cc.
References active_session_index_, CloseSession(), GET_SESSIONS, GetEmptySessionCount(), GetLoadedSessionCount(), GetSessionDisplayName(), GetTotalSessionCount(), HasMultipleSessions(), ICON_MD_ANALYTICS, ICON_MD_RADIO_BUTTON_CHECKED, ICON_MD_RADIO_BUTTON_UNCHECKED, show_session_manager_, and SwitchToSession().
void yaze::editor::SessionCoordinator::DrawSessionRenameDialog | ( | ) |
Definition at line 359 of file session_coordinator.cc.
References RenameSession(), session_rename_buffer_, session_to_rename_, and show_session_rename_dialog_.
void yaze::editor::SessionCoordinator::DrawSessionTabs | ( | ) |
Definition at line 393 of file session_coordinator.cc.
References active_session_index_, DrawSessionContextMenu(), GET_SESSIONS, GetSessionDisplayName(), ICON_MD_CHECK_CIRCLE, and SwitchToSession().
void yaze::editor::SessionCoordinator::DrawSessionIndicator | ( | ) |
Definition at line 431 of file session_coordinator.cc.
References active_session_index_, yaze::gui::ConvertColorToImVec4(), yaze::gui::ThemeManager::Get(), GetActiveSessionDisplayName(), yaze::gui::ThemeManager::GetCurrentTheme(), HasMultipleSessions(), ICON_MD_TAB, and ToggleSessionSwitcher().
std::string yaze::editor::SessionCoordinator::GetSessionDisplayName | ( | size_t | index | ) | const |
Definition at line 452 of file session_coordinator.cc.
References GET_SESSIONS, and IsValidSessionIndex().
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), DrawSessionContextMenu(), DrawSessionManager(), DrawSessionSwitcher(), DrawSessionTab(), DrawSessionTabs(), and GetActiveSessionDisplayName().
std::string yaze::editor::SessionCoordinator::GetActiveSessionDisplayName | ( | ) | const |
Definition at line 473 of file session_coordinator.cc.
References active_session_index_, and GetSessionDisplayName().
Referenced by DrawSessionIndicator().
void yaze::editor::SessionCoordinator::RenameSession | ( | size_t | index, |
const std::string & | new_name | ||
) |
Definition at line 477 of file session_coordinator.cc.
References GET_SESSIONS, IsValidSessionIndex(), and LOG_INFO.
Referenced by DrawSessionRenameDialog().
std::string yaze::editor::SessionCoordinator::GenerateUniqueEditorTitle | ( | const std::string & | editor_name, |
size_t | session_index | ||
) | const |
Definition at line 488 of file session_coordinator.cc.
References GET_SESSIONS.
void yaze::editor::SessionCoordinator::SetActiveSessionIndex | ( | size_t | index | ) |
Definition at line 515 of file session_coordinator.cc.
References SwitchToSession().
void yaze::editor::SessionCoordinator::UpdateSessionCount | ( | ) |
Definition at line 519 of file session_coordinator.cc.
References GET_SESSIONS, and session_count_.
Referenced by CleanupClosedSessions(), ClearAllSessions(), CloseSession(), CreateNewSession(), CreateSessionFromRom(), and DuplicateCurrentSession().
void yaze::editor::SessionCoordinator::ShowAllCardsInActiveSession | ( | ) |
Definition at line 528 of file session_coordinator.cc.
References active_session_index_, card_registry_, and yaze::editor::EditorCardRegistry::ShowAllCardsInSession().
void yaze::editor::SessionCoordinator::HideAllCardsInActiveSession | ( | ) |
Definition at line 534 of file session_coordinator.cc.
References active_session_index_, card_registry_, and yaze::editor::EditorCardRegistry::HideAllCardsInSession().
void yaze::editor::SessionCoordinator::ShowCardsInCategory | ( | const std::string & | category | ) |
Definition at line 540 of file session_coordinator.cc.
References active_session_index_, card_registry_, and yaze::editor::EditorCardRegistry::ShowAllCardsInCategory().
void yaze::editor::SessionCoordinator::HideCardsInCategory | ( | const std::string & | category | ) |
Definition at line 546 of file session_coordinator.cc.
References active_session_index_, card_registry_, and yaze::editor::EditorCardRegistry::HideAllCardsInCategory().
bool yaze::editor::SessionCoordinator::IsValidSessionIndex | ( | size_t | index | ) | const |
Definition at line 552 of file session_coordinator.cc.
References GET_SESSIONS.
Referenced by CloseSession(), GetActiveSession(), GetSession(), GetSessionDisplayName(), IsSessionClosed(), IsSessionEmpty(), IsSessionLoaded(), LoadRomIntoSession(), RenameSession(), SaveActiveSession(), SaveSessionAs(), SwitchToSession(), and ValidateSessionIndex().
bool yaze::editor::SessionCoordinator::IsSessionActive | ( | size_t | index | ) | const |
Definition at line 557 of file session_coordinator.cc.
References active_session_index_.
bool yaze::editor::SessionCoordinator::IsSessionLoaded | ( | size_t | index | ) | const |
Definition at line 561 of file session_coordinator.cc.
References GET_SESSIONS, and IsValidSessionIndex().
size_t yaze::editor::SessionCoordinator::GetTotalSessionCount | ( | ) | const |
Definition at line 567 of file session_coordinator.cc.
References session_count_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::UICoordinator::DrawRomSelector(), and DrawSessionManager().
size_t yaze::editor::SessionCoordinator::GetLoadedSessionCount | ( | ) | const |
Definition at line 571 of file session_coordinator.cc.
References GET_SESSIONS.
Referenced by DrawSessionManager(), and GetEmptySessionCount().
size_t yaze::editor::SessionCoordinator::GetEmptySessionCount | ( | ) | const |
Definition at line 585 of file session_coordinator.cc.
References GetLoadedSessionCount(), and session_count_.
Referenced by DrawSessionManager().
absl::Status yaze::editor::SessionCoordinator::LoadRomIntoSession | ( | const std::string & | filename, |
size_t | session_index = SIZE_MAX |
||
) |
Definition at line 589 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, IsValidSessionIndex(), and LOG_INFO.
absl::Status yaze::editor::SessionCoordinator::SaveActiveSession | ( | const std::string & | filename = "" | ) |
Definition at line 609 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, IsValidSessionIndex(), and LOG_INFO.
absl::Status yaze::editor::SessionCoordinator::SaveSessionAs | ( | size_t | session_index, |
const std::string & | filename | ||
) |
Definition at line 623 of file session_coordinator.cc.
References GET_SESSIONS, IsValidSessionIndex(), and LOG_INFO.
absl::StatusOr< RomSession * > yaze::editor::SessionCoordinator::CreateSessionFromRom | ( | Rom && | rom, |
const std::string & | filepath | ||
) |
Definition at line 637 of file session_coordinator.cc.
References yaze::editor::RomSession::filepath, GET_SESSIONS, SwitchToSession(), UpdateSessionCount(), and user_settings_.
void yaze::editor::SessionCoordinator::CleanupClosedSessions | ( | ) |
Definition at line 654 of file session_coordinator.cc.
References GET_SESSIONS, LOG_INFO, session_count_, and UpdateSessionCount().
void yaze::editor::SessionCoordinator::ClearAllSessions | ( | ) |
Definition at line 681 of file session_coordinator.cc.
References active_session_index_, card_registry_, GET_SESSIONS, LOG_INFO, yaze::editor::EditorCardRegistry::UnregisterSession(), and UpdateSessionCount().
void yaze::editor::SessionCoordinator::FocusNextSession | ( | ) |
Definition at line 705 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, and SwitchToSession().
void yaze::editor::SessionCoordinator::FocusPreviousSession | ( | ) |
Definition at line 714 of file session_coordinator.cc.
References active_session_index_, GET_SESSIONS, and SwitchToSession().
void yaze::editor::SessionCoordinator::FocusFirstSession | ( | ) |
Definition at line 724 of file session_coordinator.cc.
References GET_SESSIONS, and SwitchToSession().
void yaze::editor::SessionCoordinator::FocusLastSession | ( | ) |
Definition at line 731 of file session_coordinator.cc.
References GET_SESSIONS, and SwitchToSession().
|
inline |
Definition at line 120 of file session_coordinator.h.
References show_session_switcher_.
Referenced by yaze::editor::UICoordinator::SetSessionSwitcherVisible(), and yaze::editor::UICoordinator::ShowSessionSwitcher().
|
inline |
Definition at line 121 of file session_coordinator.h.
References show_session_switcher_.
Referenced by yaze::editor::UICoordinator::SetSessionSwitcherVisible().
|
inline |
Definition at line 122 of file session_coordinator.h.
References show_session_switcher_.
Referenced by yaze::editor::UICoordinator::DrawMenuBarExtras(), and DrawSessionIndicator().
|
inline |
Definition at line 123 of file session_coordinator.h.
References show_session_switcher_.
Referenced by yaze::editor::UICoordinator::IsSessionSwitcherVisible().
|
inline |
Definition at line 125 of file session_coordinator.h.
References show_session_manager_.
|
inline |
Definition at line 126 of file session_coordinator.h.
References show_session_manager_.
|
inline |
Definition at line 127 of file session_coordinator.h.
References show_session_manager_.
|
inline |
Definition at line 128 of file session_coordinator.h.
References show_session_manager_.
void yaze::editor::SessionCoordinator::UpdateActiveSession | ( | ) |
Definition at line 738 of file session_coordinator.cc.
References active_session_index_, and GET_SESSIONS.
void yaze::editor::SessionCoordinator::ValidateSessionIndex | ( | size_t | index | ) | const |
Definition at line 746 of file session_coordinator.cc.
References IsValidSessionIndex().
std::string yaze::editor::SessionCoordinator::GenerateUniqueSessionName | ( | const std::string & | base_name | ) | const |
Definition at line 753 of file session_coordinator.cc.
References GET_SESSIONS.
void yaze::editor::SessionCoordinator::ShowSessionLimitWarning | ( | ) |
Definition at line 780 of file session_coordinator.cc.
References kMaxSessions, yaze::editor::kWarning, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by CreateNewSession(), and DuplicateCurrentSession().
void yaze::editor::SessionCoordinator::ShowSessionOperationResult | ( | const std::string & | operation, |
bool | success | ||
) |
Definition at line 788 of file session_coordinator.cc.
References yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by CloseSession(), CreateNewSession(), and DuplicateCurrentSession().
void yaze::editor::SessionCoordinator::DrawSessionTab | ( | size_t | index, |
bool | is_active | ||
) |
Definition at line 798 of file session_coordinator.cc.
References GET_SESSIONS, GetSessionColor(), GetSessionDisplayName(), ICON_MD_CHECK_CIRCLE, and SwitchToSession().
void yaze::editor::SessionCoordinator::DrawSessionContextMenu | ( | size_t | index | ) |
Definition at line 824 of file session_coordinator.cc.
References CloseSession(), GetSessionDisplayName(), HasMultipleSessions(), ICON_MD_CLOSE, ICON_MD_CONTENT_COPY, ICON_MD_EDIT, ICON_MD_TAB, session_rename_buffer_, session_to_rename_, show_session_rename_dialog_, and SwitchToSession().
Referenced by DrawSessionSwitcher(), and DrawSessionTabs().
void yaze::editor::SessionCoordinator::DrawSessionBadge | ( | size_t | index | ) |
Definition at line 852 of file session_coordinator.cc.
References GET_SESSIONS, GetSessionColor(), ICON_MD_CHECK_CIRCLE, and ICON_MD_RADIO_BUTTON_UNCHECKED.
ImVec4 yaze::editor::SessionCoordinator::GetSessionColor | ( | size_t | index | ) | const |
Definition at line 871 of file session_coordinator.cc.
Referenced by DrawSessionBadge(), and DrawSessionTab().
std::string yaze::editor::SessionCoordinator::GetSessionIcon | ( | size_t | index | ) | const |
Definition at line 887 of file session_coordinator.cc.
References GET_SESSIONS, ICON_MD_CHECK_CIRCLE, and ICON_MD_RADIO_BUTTON_UNCHECKED.
bool yaze::editor::SessionCoordinator::IsSessionEmpty | ( | size_t | index | ) | const |
Definition at line 901 of file session_coordinator.cc.
References GET_SESSIONS, and IsValidSessionIndex().
bool yaze::editor::SessionCoordinator::IsSessionClosed | ( | size_t | index | ) | const |
Definition at line 907 of file session_coordinator.cc.
References IsValidSessionIndex().
Referenced by yaze::editor::UICoordinator::DrawRomSelector().
bool yaze::editor::SessionCoordinator::IsSessionModified | ( | size_t | index | ) | const |
Definition at line 911 of file session_coordinator.cc.
|
private |
Definition at line 150 of file session_coordinator.h.
Referenced by SetEditorManager().
|
private |
Definition at line 151 of file session_coordinator.h.
Referenced by SessionCoordinator().
|
private |
Definition at line 152 of file session_coordinator.h.
Referenced by ClearAllSessions(), CloseSession(), HideAllCardsInActiveSession(), HideCardsInCategory(), ShowAllCardsInActiveSession(), ShowCardsInCategory(), and SwitchToSession().
|
private |
Definition at line 153 of file session_coordinator.h.
Referenced by CloseSession(), ShowSessionLimitWarning(), and ShowSessionOperationResult().
|
private |
Definition at line 154 of file session_coordinator.h.
Referenced by CreateSessionFromRom().
|
private |
Definition at line 157 of file session_coordinator.h.
Referenced by ClearAllSessions(), CloseCurrentSession(), CloseSession(), CreateNewSession(), DrawSessionIndicator(), DrawSessionManager(), DrawSessionSwitcher(), DrawSessionTabs(), DuplicateCurrentSession(), FocusNextSession(), FocusPreviousSession(), GetActiveSession(), GetActiveSessionDisplayName(), GetActiveSessionIndex(), HideAllCardsInActiveSession(), HideCardsInCategory(), IsSessionActive(), LoadRomIntoSession(), SaveActiveSession(), SessionCoordinator(), ShowAllCardsInActiveSession(), ShowCardsInCategory(), SwitchToSession(), and UpdateActiveSession().
|
private |
Definition at line 158 of file session_coordinator.h.
Referenced by CleanupClosedSessions(), CloseSession(), CreateNewSession(), DrawSessionSwitcher(), DuplicateCurrentSession(), GetActiveSessionCount(), GetEmptySessionCount(), GetTotalSessionCount(), HasMultipleSessions(), SessionCoordinator(), and UpdateSessionCount().
|
private |
Definition at line 161 of file session_coordinator.h.
Referenced by DrawSessionSwitcher(), HideSessionSwitcher(), IsSessionSwitcherVisible(), ShowSessionSwitcher(), and ToggleSessionSwitcher().
|
private |
Definition at line 162 of file session_coordinator.h.
Referenced by DrawSessionManager(), HideSessionManager(), IsSessionManagerVisible(), ShowSessionManager(), and ToggleSessionManager().
|
private |
Definition at line 163 of file session_coordinator.h.
Referenced by DrawSessionContextMenu(), and DrawSessionRenameDialog().
|
private |
Definition at line 164 of file session_coordinator.h.
Referenced by DrawSessionContextMenu(), and DrawSessionRenameDialog().
|
private |
Definition at line 165 of file session_coordinator.h.
Referenced by DrawSessionContextMenu(), and DrawSessionRenameDialog().
|
staticconstexprprivate |
Definition at line 168 of file session_coordinator.h.
Referenced by CreateNewSession(), DuplicateCurrentSession(), and ShowSessionLimitWarning().
|
staticconstexprprivate |
Definition at line 169 of file session_coordinator.h.
Referenced by CloseSession().