// DragonX Wallet - ImGui Edition // Copyright 2024-2026 The Hush Developers // Released under the GPLv3 #pragma once #include #include "../../data/wallet_state.h" namespace dragonx { class App; namespace ui { /** * @brief Dialog showing full transaction details */ class TransactionDetailsDialog { public: /** * @brief Show the dialog for a transaction * @param tx The transaction to display */ static void show(const TransactionInfo& tx); /** * @brief Render the dialog (call every frame) * @param app Pointer to app instance */ static void render(App* app); /** * @brief Check if dialog is currently open */ static bool isOpen(); private: static bool s_open; static TransactionInfo s_transaction; }; } // namespace ui } // namespace dragonx