]>
Commit | Line | Data |
---|---|---|
069358b7 VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: include/wx/aui/tabartgtk.h | |
3 | // Purpose: declaration of the wxAuiGTKTabArt | |
4 | // Author: Jens Lody and Teodor Petrov | |
5 | // Modified by: | |
6 | // Created: 2012-03-23 | |
7 | // RCS-ID: $Id:$ | |
8 | // Copyright: (c) 2012 Jens Lody <jens@codeblocks.org> | |
9 | // and Teodor Petrov | |
10 | // Licence: wxWindows licence | |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #ifndef _WX_AUI_TABARTGTK_H_ | |
14 | #define _WX_AUI_TABARTGTK_H_ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
20 | #include "wx/defs.h" | |
21 | ||
22 | #if wxUSE_AUI | |
23 | ||
24 | #include "wx/aui/tabart.h" | |
25 | #include "wx/gdicmn.h" | |
26 | ||
27 | class wxWindow; | |
28 | class wxDC; | |
29 | ||
30 | class WXDLLIMPEXP_AUI wxAuiGtkTabArt : public wxAuiGenericTabArt | |
31 | { | |
32 | public: | |
33 | wxAuiGtkTabArt(); | |
34 | ||
35 | virtual wxAuiTabArt* Clone(); | |
9fa99f04 | 36 | virtual void DrawBorder(wxDC& dc, wxWindow* wnd, const wxRect& rect); |
069358b7 VZ |
37 | virtual void DrawBackground(wxDC& dc, wxWindow* wnd, const wxRect& rect); |
38 | virtual void DrawTab(wxDC& dc, | |
39 | wxWindow* wnd, | |
40 | const wxAuiNotebookPage& page, | |
41 | const wxRect& in_rect, | |
42 | int close_button_state, | |
43 | wxRect* out_tab_rect, | |
44 | wxRect* out_button_rect, | |
45 | int* x_extent); | |
46 | void DrawButton(wxDC& dc, wxWindow* wnd, const wxRect& in_rect, int bitmap_id, | |
47 | int button_state, int orientation, wxRect* out_rect); | |
48 | int GetBestTabCtrlSize(wxWindow* wnd, const wxAuiNotebookPageArray& pages, | |
49 | const wxSize& required_bmp_size); | |
9fa99f04 | 50 | int GetBorderWidth(wxWindow* wnd); |
069358b7 VZ |
51 | virtual wxSize GetTabSize(wxDC& dc, wxWindow* wnd, const wxString& caption, |
52 | const wxBitmap& bitmap, bool active, | |
53 | int close_button_state, int* x_extent); | |
54 | }; | |
55 | ||
56 | #endif // wxUSE_AUI | |
57 | ||
58 | #endif // _WX_AUI_TABARTGTK_H_ |