#include <DebugDrawingManagerUI.h>
Static Public Member Functions | |
static void | showContextMenu (DrawingPapers::FieldDrawingPaper drawingPaper, CPoint point, CFrameWnd *pParent) |
static void | showContextMenu (DrawingPapers::ImageDrawingPaper drawingPaper, CPoint point, CFrameWnd *pParent) |
Definition at line 17 of file DebugDrawingManagerUI.h.
void DebugDrawingManagerUI::showContextMenu | ( | DrawingPapers::ImageDrawingPaper | drawingPaper, | |
CPoint | point, | |||
CFrameWnd * | pParent | |||
) | [static] |
Shows a context menu for field drawing papers.
drawingPaper | the id of the paper | |
point | the point of the right-click | |
pParent | a pointer to the parent window |
Definition at line 105 of file DebugDrawingManagerUI.cpp.
References DebugDrawingManager::copyDrawingPaperToClipBoard(), DebugDrawingManager::copyImageToClipBoard(), CRobotControlMainFrame::debugDrawingManager, Drawings::getDrawingName(), DebugDrawingManager::getHighRes(), DebugDrawingManager::getImageID(), Images::getImageIDName(), getRobotControlApp(), DebugDrawingManager::getSendDebugImagesFromRobot(), image, DebugDrawingManager::isDrawingShownOnDrawingPaper(), Drawings::numberOfImageDrawings, CRobotControlApp::pMainFrame, DebugDrawingManager::setHighRes(), DebugDrawingManager::setImageID(), DebugDrawingManager::setSendDebugImagesFromRobot(), DebugDrawingManager::showDrawingOnDrawingPaper(), and VERIFY.
void DebugDrawingManagerUI::showContextMenu | ( | DrawingPapers::FieldDrawingPaper | drawingPaper, | |
CPoint | point, | |||
CFrameWnd * | pParent | |||
) | [static] |
Shows a context menu for field drawing papers.
drawingPaper | the id of the paper | |
point | the point of the right-click | |
pParent | a pointer to the parent window |
Definition at line 16 of file DebugDrawingManagerUI.cpp.
References DebugDrawingManager::copyDrawingPaperToClipBoard(), CRobotControlMainFrame::debugDrawingManager, DebugDrawingManager::enableAutoRotate(), Drawings::firstDrawingInRadarViewer, Drawings::getDrawingName(), getRobotControlApp(), DebugDrawingManager::isAutoRotateEnabled(), DebugDrawingManager::isDrawingShownOnDrawingPaper(), Drawings::numberOfFieldDrawings, CRobotControlApp::pMainFrame, DebugDrawingManager::rotate(), DebugDrawingManager::showDrawingOnDrawingPaper(), and VERIFY.
Referenced by CRobotControlFieldView::OnContextMenu(), CLargeImageViewerDlgBar::OnContextMenu(), and CImageViewerDlgBar::OnContextMenu().