NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
viewerpanel.hpp
Go to the documentation of this file.
1
2/*****************************************************************************
3 NumeRe: Framework fuer Numerische Rechnungen
4 Copyright (C) 2017 Erik Haenel et al.
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
18******************************************************************************/
19
20
21#ifndef VIEWERPANEL_HPP
22#define VIEWERPANEL_HPP
23#include <wx/wx.h>
24#include <wx/panel.h>
25
26class ViewerPanel : public wxPanel
27{
28 public:
29 ViewerPanel(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& position = wxDefaultPosition, const wxSize& size = wxDefaultSize, int style = 0, const wxString& name = wxPanelNameStr)
30 : wxPanel(parent, id, position, size, style, name), m_skipFocus(false) {}
31
32 void OnEnter(wxMouseEvent& event);
33 inline void toggleSkipFocus()
34 {
36 }
37 private:
39
41};
42#endif // VIEWERPANEL_HPP
43
ViewerPanel(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &position=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0, const wxString &name=wxPanelNameStr)
Definition: viewerpanel.hpp:29
void toggleSkipFocus()
Definition: viewerpanel.hpp:33
void OnEnter(wxMouseEvent &event)
Definition: viewerpanel.cpp:25
bool m_skipFocus
Definition: viewerpanel.hpp:38
char name[32]
Definition: resampler.cpp:371