OpenCPN Partial API docs
Loading...
Searching...
No Matches
GrabberWin.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, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
39#ifndef __GRIBGRABBERWIN_H__
40#define __GRIBGRABBERWIN_H__
41
42#include "wx/wxprec.h"
43
44#ifndef WX_PRECOMP
45#include "wx/wx.h"
46#endif // precompiled headers
47
48#include "GribUIDialog.h"
49
50class GriUICtrlBar;
51class GribGrabberWin;
52class GribSpacerWin;
53//----------------------------------------------------------------------------
54// GrabberWindow Definition
55//----------------------------------------------------------------------------
56
57class GribGrabberWin : public wxPanel {
58public:
59 GribGrabberWin(wxWindow* parent);
60 void OnPaint(wxPaintEvent& event);
61 void Size();
62
63private:
64 void OnMouseEvent(wxMouseEvent& event);
65
66 wxBitmap m_bitmap;
67 bool m_bLeftDown;
68
69 DECLARE_EVENT_TABLE()
70};
71
72#endif
GRIB Weather Data Control Interface.