source: filezilla/trunk/fuentes/src/interface/view.h

Last change on this file was 130, checked in by jrpelegrina, 4 years ago

First release to xenial

File size: 705 bytes
Line 
1#ifndef __VIEW_H__
2#define __VIEW_H__
3
4class CViewHeader;
5class CView : public wxNavigationEnabled<wxWindow>
6{
7public:
8        CView(wxWindow* pParent);
9
10        void SetWindow(wxWindow* pWnd);
11        void SetHeader(CViewHeader* pWnd);
12        CViewHeader* GetHeader() { return m_pHeader; }
13        CViewHeader* DetachHeader();
14        void SetStatusBar(wxStatusBar* pStatusBar);
15        wxStatusBar* GetStatusBar() { return m_pStatusBar; }
16
17        void SetFooter(wxWindow* footer);
18
19protected:
20        void Arrange(wxWindow* child, wxRect& clientRect, bool top);
21
22        void FixTabOrder();
23
24        wxWindow* m_pWnd{};
25        CViewHeader* m_pHeader{};
26        wxStatusBar* m_pStatusBar{};
27
28        wxWindow* m_pFooter{};
29
30        DECLARE_EVENT_TABLE()
31        void OnSize(wxSizeEvent&);
32};
33
34#endif //__VIEW_H__
Note: See TracBrowser for help on using the repository browser.