OpenCPN Partial API docs
Loading...
Searching...
No Matches
grabber_win.h
Go to the documentation of this file.
1/***************************************************************************
2 * Copyright (C) 2010 by David S. Register *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, see <https://www.gnu.org/licenses/>. *
16 ***************************************************************************/
17
40#ifndef GRIBgrabberWIN_H_
41#define GRIBgrabberWIN_H_
42
43#include <wx/wxprec.h>
44
45#ifndef WX_PRECOMP
46#include <wx/wx.h>
47#endif
48
49#include "grib_ui_dlg.h"
50
51class GriUICtrlBar;
52class GribGrabberWin;
53class GribSpacerWin;
54//----------------------------------------------------------------------------
55// GrabberWindow Definition
56//----------------------------------------------------------------------------
57
58class GribGrabberWin : public wxPanel {
59public:
60 GribGrabberWin(wxWindow* parent);
61 void OnPaint(wxPaintEvent& event);
62 void Size();
63
64private:
65 void OnMouseEvent(wxMouseEvent& event);
66
67 wxBitmap m_bitmap;
68 bool m_bLeftDown;
69
70 DECLARE_EVENT_TABLE()
71};
72
73#endif // GRIBgrabberWIN_H_
GRIB Weather Data Control Interface.