source: filezilla/trunk/fuentes/src/interface/aui_notebook_ex.h @ 130

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

First release to xenial

File size: 759 bytes
RevLine 
[130]1#ifndef __AUI_NOTEBOOK_EX_H__
2#define __AUI_NOTEBOOK_EX_H__
3
4#include <wx/aui/aui.h>
5
6class wxAuiTabArtEx;
7class wxAuiNotebookEx : public wxAuiNotebook
8{
9public:
10        wxAuiNotebookEx();
11        virtual ~wxAuiNotebookEx();
12
13        void RemoveExtraBorders();
14
15        void SetExArtProvider();
16
17        // Basically identical to the AUI one, but not calling Update
18        bool SetPageText(size_t page_idx, const wxString& text);
19
20        void Highlight(size_t page, bool highlight = true);
21        bool Highlighted(size_t page) const;
22
23        void AdvanceTab(bool forward);
24
25        bool AddPage(wxWindow *page, const wxString &text, bool select = false, int imageId = -1);
26protected:
27        std::vector<bool> m_highlighted;
28
29        DECLARE_EVENT_TABLE()
30        void OnPageChanged(wxAuiNotebookEvent& event);
31};
32
33#endif //__AUI_NOTEBOOK_EX_H__
Note: See TracBrowser for help on using the repository browser.