A custom control to display the bitmap and avoid flicker.
Definition at line 295 of file WxSubsystem.h.
#include <mrpt/gui/WxSubsystem.h>

Public Member Functions | |
| wxMRPTImageControl (wxWindow *parent, wxWindowID winID, int x, int y, int width, int height) | |
| virtual | ~wxMRPTImageControl () |
| void | AssignImage (wxBitmap *img) |
| Assigns this image. This object has the ownship of the image and will delete it when appropriate. More... | |
| void | GetBitmap (wxBitmap &bmp) |
| void | OnPaint (wxPaintEvent &ev) |
| void | OnMouseMove (wxMouseEvent &ev) |
| void | OnMouseClick (wxMouseEvent &ev) |
| void | OnChar (wxKeyEvent &ev) |
| void | OnEraseBackground (wxEraseEvent &ev) |
Public Attributes | |
| wxPoint | m_last_mouse_point |
| wxPoint | m_last_mouse_click |
Protected Attributes | |
| wxBitmap * | m_img |
| mrpt::synch::CCriticalSection | m_img_cs |
| CDisplayWindow * | m_win2D |
| mrpt::gui::CWindowDialog::wxMRPTImageControl::wxMRPTImageControl | ( | wxWindow * | parent, |
| wxWindowID | winID, | ||
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height | ||
| ) |
|
virtual |
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::AssignImage | ( | wxBitmap * | img | ) |
Assigns this image. This object has the ownship of the image and will delete it when appropriate.
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::GetBitmap | ( | wxBitmap & | bmp | ) |
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::OnChar | ( | wxKeyEvent & | ev | ) |
|
inline |
Definition at line 317 of file WxSubsystem.h.
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::OnMouseClick | ( | wxMouseEvent & | ev | ) |
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::OnMouseMove | ( | wxMouseEvent & | ev | ) |
| void mrpt::gui::CWindowDialog::wxMRPTImageControl::OnPaint | ( | wxPaintEvent & | ev | ) |
|
protected |
Definition at line 298 of file WxSubsystem.h.
|
protected |
Definition at line 299 of file WxSubsystem.h.
| wxPoint mrpt::gui::CWindowDialog::wxMRPTImageControl::m_last_mouse_click |
Definition at line 306 of file WxSubsystem.h.
| wxPoint mrpt::gui::CWindowDialog::wxMRPTImageControl::m_last_mouse_point |
Definition at line 306 of file WxSubsystem.h.
|
protected |
Definition at line 300 of file WxSubsystem.h.
| Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Aug 22 01:03:35 UTC 2017 |