OpenCPN Partial API docs
Loading...
Searching...
No Matches
ocpn_aui_manager.h
Go to the documentation of this file.
1/**************************************************************************
2 * Copyright (C) 2018 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
24#ifndef WX_PRECOMP
25#include "wx/wx.h"
26#endif
27
28#include <wx/aui/aui.h>
29
30class OCPN_AUIManager; // forward
31
33
34class OCPN_AUIManager : public wxAuiManager {
35public:
36 OCPN_AUIManager(wxWindow* managed_wnd = NULL,
37 unsigned int flags = wxAUI_MGR_DEFAULT);
39
40 void OnMotionx(wxMouseEvent& event);
41 bool DoEndResizeAction(wxMouseEvent& event);
42 void OnLeftUp(wxMouseEvent& event);
43 bool ProcessDockResult(wxAuiPaneInfo& target, const wxAuiPaneInfo& new_pos);
44
45 wxAuiDockInfo* FindDock(wxAuiPaneInfo& pane);
46 void SetDockSize(wxAuiDockInfo* d, int size);
47
48 wxRect m_0actionHintRect;
49
50 DECLARE_EVENT_TABLE()
51};
OCPN_AUIManager * g_pauimgr
Global instance.