Full-node GUI wallet for DragonX cryptocurrency. Built with Dear ImGui, SDL3, and OpenGL3/DX11. Features: - Send/receive shielded and transparent transactions - Autoshield with merged transaction display - Built-in CPU mining (xmrig) - Peer management and network monitoring - Wallet encryption with PIN lock - QR code generation for receive addresses - Transaction history with pagination - Console for direct RPC commands - Cross-platform (Linux, Windows)
35 lines
737 B
C++
35 lines
737 B
C++
// DragonX Wallet - ImGui Edition
|
|
// Copyright 2024-2026 The Hush Developers
|
|
// Released under the GPLv3
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace dragonx {
|
|
class App;
|
|
|
|
namespace ui {
|
|
|
|
/**
|
|
* @brief Render the Send tab
|
|
* Form for sending transactions
|
|
*/
|
|
void RenderSendTab(App* app);
|
|
|
|
/**
|
|
* @brief Render the send-confirm modal popup.
|
|
* Must be called at the top-level window scope (after ImGui::End of the main
|
|
* window) so the modal dim layer blocks ALL input — sidebar, tabs, etc.
|
|
*/
|
|
void RenderSendConfirmPopup(App* app);
|
|
|
|
/**
|
|
* @brief Pre-fill the "from" address in the send tab
|
|
* @param address The address to send from
|
|
*/
|
|
void SetSendFromAddress(const std::string& address);
|
|
|
|
} // namespace ui
|
|
} // namespace dragonx
|