#include <drawing_canvas.h>
Public Member Functions | |
| DrawingCanvas () | |
| Constructors. | |
| DrawingCanvas (int scope_index, wxWindow *parent, wxWindowID id=SYMBOL_DRAWINGCANVAS_IDNAME, const wxPoint &pos=SYMBOL_DRAWINGCANVAS_POSITION, const wxSize &size=SYMBOL_DRAWINGCANVAS_SIZE, long style=SYMBOL_DRAWINGCANVAS_STYLE) | |
| ~DrawingCanvas () | |
| bool | Create (wxWindow *parent, wxWindowID id=SYMBOL_DRAWINGCANVAS_IDNAME, const wxPoint &pos=SYMBOL_DRAWINGCANVAS_POSITION, const wxSize &size=SYMBOL_DRAWINGCANVAS_SIZE, long style=SYMBOL_DRAWINGCANVAS_STYLE) |
| Creation. | |
| void | CreateControls () |
| Creates the controls and sizers. | |
| void | OnSize (wxSizeEvent &event) |
| wxEVT_SIZE event handler for ID_DRAWING_CANVAS_DIALOG | |
| void | OnPaint (wxPaintEvent &event) |
| wxEVT_PAINT event handler for ID_DRAWING_CANVAS_DIALOG | |
| void | OnEraseBackground (wxEraseEvent &event) |
| wxEVT_ERASE_BACKGROUND event handler for ID_DRAWING_CANVAS_DIALOG | |
| wxBitmap | GetBitmapResource (const wxString &name) |
| Retrieves bitmap resources. | |
| wxIcon | GetIconResource (const wxString &name) |
| Retrieves icon resources. | |
| void | RefreshBackBitmap (void) |
| void | RefreshSampleBitmap (wxBitmap *p_sample_bitmap) |
Static Public Member Functions | |
| static bool | ShowToolTips () |
| Should we show tooltips? | |
Static Public Attributes | |
| static const int | NUM_DIV_PER_SCREEN = 10 |
Protected Member Functions | |
| void | DrawGrid (wxDC &dc) |
| void | DrawBackground (wxDC &dc) |
| void | DrawCursor (wxDC &dc) |
| void | DrawTrigger (wxDC &dc) |
| void | DrawSamples (wxDC &dc) |
Protected Attributes | |
| wxBitmap * | m_p_back_bitmap |
| wxBitmap * | m_p_buffer_bitmap |
| DrawingPanel * | m_parent |
| int | m_pix_X |
| int | m_pix_Y |
| bool | m_first_time |
| int | m_scope_index |
Definition at line 62 of file drawing_canvas.h.
|
|
Constructors. DrawingCanvas constructors Definition at line 65 of file drawing_canvas.cpp. |
|
||||||||||||||||||||||||||||
|
Definition at line 71 of file drawing_canvas.cpp. References Create(), m_p_back_bitmap, m_p_buffer_bitmap, and m_scope_index. |
|
|
Definition at line 78 of file drawing_canvas.cpp. References m_p_back_bitmap, and m_p_buffer_bitmap. |
|
||||||||||||||||||||||||
|
Creation. DrawingCanvas creator Definition at line 88 of file drawing_canvas.cpp. References CreateControls(). Referenced by DrawingCanvas(). |
|
|
Creates the controls and sizers. Control creation for DrawingCanvas Definition at line 106 of file drawing_canvas.cpp. Referenced by Create(). |
|
|
Definition at line 312 of file drawing_canvas.cpp. |
|
|
Definition at line 250 of file drawing_canvas.cpp. References DrawingPanel::m_app_settings, AppSettings::m_board_array, and m_parent. |
|
|
Definition at line 154 of file drawing_canvas.cpp. References NUM_DIV_PER_SCREEN. |
|
|
Definition at line 261 of file drawing_canvas.cpp. References DrawingPanel::m_app_settings, AppSettings::m_board_array, and m_parent. |
|
|
Definition at line 240 of file drawing_canvas.cpp. References DrawingPanel::m_app_settings, AppSettings::m_board_array, and m_parent. |
|
|
Retrieves bitmap resources. DrawingCanvas member function declarations Definition at line 219 of file drawing_canvas.cpp. |
|
|
Retrieves icon resources. Get icon resources Definition at line 232 of file drawing_canvas.cpp. |
|
|
wxEVT_ERASE_BACKGROUND event handler for ID_DRAWING_CANVAS_DIALOG wxEVT_ERASE_BACKGROUND event handler for ID_DRAWING_CANVAS_DIALOG Definition at line 202 of file drawing_canvas.cpp. |
|
|
wxEVT_PAINT event handler for ID_DRAWING_CANVAS_DIALOG wxEVT_PAINT event handler for ID_DRAWING_CANVAS_DIALOG Definition at line 130 of file drawing_canvas.cpp. |
|
|
wxEVT_SIZE event handler for ID_DRAWING_CANVAS_DIALOG DrawingCanvas event handler declarations Definition at line 120 of file drawing_canvas.cpp. References RefreshBackBitmap(). |
|
|
Definition at line 271 of file drawing_canvas.cpp. Referenced by OnSize(), and DrawingPanel::RefreshBackBitmap(). |
|
|
|
|
|
Should we show tooltips? Should we show tooltips? Definition at line 210 of file drawing_canvas.cpp. |
|
|
Definition at line 117 of file drawing_canvas.h. |
|
|
Definition at line 114 of file drawing_canvas.h. Referenced by DrawingCanvas(), and ~DrawingCanvas(). |
|
|
Definition at line 114 of file drawing_canvas.h. Referenced by DrawingCanvas(), and ~DrawingCanvas(). |
|
|
Definition at line 115 of file drawing_canvas.h. Referenced by DrawCursor(), DrawSamples(), and DrawTrigger(). |
|
|
Definition at line 116 of file drawing_canvas.h. |
|
|
Definition at line 116 of file drawing_canvas.h. |
|
|
Definition at line 118 of file drawing_canvas.h. Referenced by DrawingCanvas(). |
|
|
Definition at line 106 of file drawing_canvas.h. Referenced by DrawGrid(), GenericBoardChannel::DrawPosition(), GenericBoardChannel::DrawSamples(), and PhysicalBoardChannel::DrawTrigger(). |
1.4.6-NO