class mrpt::gui::CWindowDialog

Overview

The wx dialog for gui::CDisplayWindow.

#include <mrpt/gui/WxSubsystem.h>

class CWindowDialog: public wxFrame
{
public:
    // classes

    class wxMRPTImageControl;

    // fields

    CDisplayWindow* m_win2D {nullptr};
    WxSubsystem::CWXMainFrame* m_mainFrame {nullptr};
    wxMRPTImageControl* m_image {nullptr};
    static const wxWindowID ID_IMAGE_BITMAP = wxNewId();

    // construction

    CWindowDialog(const CWindowDialog&);
    CWindowDialog(CWindowDialog&&);

    CWindowDialog(
        CDisplayWindow* win2D,
        WxSubsystem::CWXMainFrame* parent,
        wxWindowID id = -1,
        const std::string& caption = std::string("[MRPT-CDisplayWindow]"),
        wxSize initialSize = wxDefaultSize
        );

    // methods

    CWindowDialog& operator = (const CWindowDialog&);
    CWindowDialog& operator = (CWindowDialog&&);
};