Main MRPT website > C++ reference for MRPT 1.9.9
List of all members | Classes | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions
mrpt::gui::CWindowDialog Class Reference

Detailed Description

The wx dialog for gui::CDisplayWindow.

Definition at line 331 of file WxSubsystem.h.

#include <mrpt/gui/WxSubsystem.h>

Inheritance diagram for mrpt::gui::CWindowDialog:
Inheritance graph

Classes

class  wxMRPTImageControl
 A custom control to display the bitmap and avoid flicker. More...
 

Public Member Functions

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

Public Attributes

CDisplayWindowm_win2D
 
WxSubsystem::CWXMainFramem_mainFrame
 
wxMRPTImageControlm_image
 

Static Public Attributes

static const long ID_IMAGE_BITMAP = wxNewId()
 

Private Member Functions

void OnClose (wxCloseEvent &event)
 
void OnMenuClose (wxCommandEvent &event)
 
void OnMenuAbout (wxCommandEvent &event)
 
void OnMenuSave (wxCommandEvent &event)
 
void OnChar (wxKeyEvent &event)
 
void OnKeyDown (wxKeyEvent &event)
 
void OnResize (wxSizeEvent &event)
 
void OnMouseDown (wxMouseEvent &event)
 
void OnMouseMove (wxMouseEvent &event)
 

Constructor & Destructor Documentation

◆ CWindowDialog()

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

◆ ~CWindowDialog()

CWindowDialog::~CWindowDialog ( )
virtual

Definition at line 208 of file CDisplayWindow.cpp.

Member Function Documentation

◆ OnChar()

void CWindowDialog::OnChar ( wxKeyEvent &  event)
private

◆ OnClose()

void CWindowDialog::OnClose ( wxCloseEvent &  event)
private

◆ OnKeyDown()

void CWindowDialog::OnKeyDown ( wxKeyEvent &  event)
private

Definition at line 236 of file CDisplayWindow.cpp.

◆ OnMenuAbout()

void CWindowDialog::OnMenuAbout ( wxCommandEvent &  event)
private

Definition at line 324 of file CDisplayWindow.cpp.

Referenced by CWindowDialog().

◆ OnMenuClose()

void CWindowDialog::OnMenuClose ( wxCommandEvent &  event)
private

Definition at line 322 of file CDisplayWindow.cpp.

Referenced by CWindowDialog().

◆ OnMenuSave()

void CWindowDialog::OnMenuSave ( wxCommandEvent &  event)
private

◆ OnMouseDown()

void CWindowDialog::OnMouseDown ( wxMouseEvent &  event)
private

◆ OnMouseMove()

void CWindowDialog::OnMouseMove ( wxMouseEvent &  event)
private

◆ OnResize()

void CWindowDialog::OnResize ( wxSizeEvent &  event)
private

Member Data Documentation

◆ ID_IMAGE_BITMAP

const long CWindowDialog::ID_IMAGE_BITMAP = wxNewId()
static

Definition at line 379 of file WxSubsystem.h.

Referenced by CWindowDialog().

◆ m_image

wxMRPTImageControl* mrpt::gui::CWindowDialog::m_image

◆ m_mainFrame

WxSubsystem::CWXMainFrame* mrpt::gui::CWindowDialog::m_mainFrame

Definition at line 374 of file WxSubsystem.h.

◆ m_win2D

CDisplayWindow* mrpt::gui::CWindowDialog::m_win2D

Definition at line 373 of file WxSubsystem.h.

Referenced by OnChar(), OnClose(), OnMouseDown(), OnMouseMove(), and OnResize().




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST