The wx dialog for gui::CDisplayWindow.
Definition at line 290 of file WxSubsystem.h.
#include <mrpt/gui/WxSubsystem.h>
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 | |
CDisplayWindow * | m_win2D |
WxSubsystem::CWXMainFrame * | m_mainFrame |
wxMRPTImageControl * | m_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) |
CWindowDialog::CWindowDialog | ( | CDisplayWindow * | win2D, |
WxSubsystem::CWXMainFrame * | parent, | ||
wxWindowID | id = -1 , |
||
const std::string & | caption = std::string("[MRPT-CDisplayWindow]") , |
||
wxSize | initialSize = wxDefaultSize |
||
) |
Definition at line 124 of file CDisplayWindow.cpp.
References _U, mrpt::gui::WxSubsystem::getMRPTDefaultIcon(), ID_IMAGE_BITMAP, ID_MENUITEM1, ID_MENUITEM2, ID_MENUITEM3, m_image, mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowCreation(), OnChar(), OnClose(), OnMenuAbout(), OnMenuClose(), OnMenuSave(), OnMouseDown(), OnMouseMove(), and OnResize().
|
virtual |
Definition at line 198 of file CDisplayWindow.cpp.
|
private |
Definition at line 231 of file CDisplayWindow.cpp.
References mrpt::gui::keyEventToMrptKeyModifier(), mrpt::gui::CBaseGUIWindow::m_keyPushed, mrpt::gui::CBaseGUIWindow::m_keyPushedCode, mrpt::gui::CBaseGUIWindow::m_keyPushedModifier, m_win2D, and mrpt::utils::CObservable::publishEvent().
Referenced by CWindowDialog().
|
private |
Definition at line 203 of file CDisplayWindow.cpp.
References mrpt::gui::mrptEventWindowClosed::allow_close, mrpt::gui::CBaseGUIWindow::m_semWindowDestroyed, m_win2D, mrpt::gui::CBaseGUIWindow::notifyChildWindowDestruction(), mrpt::gui::WxSubsystem::CWXMainFrame::notifyWindowDestruction(), mrpt::utils::CObservable::publishEvent(), and mrpt::synch::CSemaphore::release().
Referenced by CWindowDialog().
|
private |
Definition at line 226 of file CDisplayWindow.cpp.
|
private |
Definition at line 294 of file CDisplayWindow.cpp.
Referenced by CWindowDialog().
|
private |
Definition at line 289 of file CDisplayWindow.cpp.
Referenced by CWindowDialog().
|
private |
Definition at line 300 of file CDisplayWindow.cpp.
References mrpt::gui::CWindowDialog::wxMRPTImageControl::GetBitmap(), and m_image.
Referenced by CWindowDialog().
|
private |
Definition at line 262 of file CDisplayWindow.cpp.
References mrpt::utils::CObservable::hasSubscribers(), m_win2D, and mrpt::utils::CObservable::publishEvent().
Referenced by CWindowDialog().
|
private |
Definition at line 274 of file CDisplayWindow.cpp.
References mrpt::utils::CObservable::hasSubscribers(), m_win2D, and mrpt::utils::CObservable::publishEvent().
Referenced by CWindowDialog().
|
private |
Definition at line 250 of file CDisplayWindow.cpp.
References mrpt::utils::CObservable::hasSubscribers(), m_win2D, and mrpt::utils::CObservable::publishEvent().
Referenced by CWindowDialog().
|
static |
Definition at line 332 of file WxSubsystem.h.
Referenced by CWindowDialog().
wxMRPTImageControl* mrpt::gui::CWindowDialog::m_image |
Definition at line 330 of file WxSubsystem.h.
Referenced by CWindowDialog(), mrpt::gui::CDisplayWindow::getLastMousePosition(), OnMenuSave(), mrpt::gui::WxSubsystem::CWXMainFrame::OnTimerProcessRequests(), and mrpt::gui::CDisplayWindow::setCursorCross().
WxSubsystem::CWXMainFrame* mrpt::gui::CWindowDialog::m_mainFrame |
Definition at line 327 of file WxSubsystem.h.
CDisplayWindow* mrpt::gui::CWindowDialog::m_win2D |
Definition at line 326 of file WxSubsystem.h.
Referenced by OnChar(), OnClose(), OnMouseDown(), OnMouseMove(), and OnResize().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |