1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/aui/tabartgtk.h
3 // Purpose: declaration of the wxAuiGTKTabArt
4 // Author: Jens Lody and Teodor Petrov
7 // Copyright: (c) 2012 Jens Lody <jens@codeblocks.org>
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_AUI_TABARTGTK_H_
13 #define _WX_AUI_TABARTGTK_H_
15 // ----------------------------------------------------------------------------
17 // ----------------------------------------------------------------------------
23 #include "wx/aui/tabart.h"
24 #include "wx/gdicmn.h"
29 class WXDLLIMPEXP_AUI wxAuiGtkTabArt
: public wxAuiGenericTabArt
34 virtual wxAuiTabArt
* Clone();
35 virtual void DrawBorder(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& rect
);
36 virtual void DrawBackground(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& rect
);
37 virtual void DrawTab(wxDC
& dc
,
39 const wxAuiNotebookPage
& page
,
40 const wxRect
& in_rect
,
41 int close_button_state
,
43 wxRect
* out_button_rect
,
45 void DrawButton(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& in_rect
, int bitmap_id
,
46 int button_state
, int orientation
, wxRect
* out_rect
);
47 int GetBestTabCtrlSize(wxWindow
* wnd
, const wxAuiNotebookPageArray
& pages
,
48 const wxSize
& required_bmp_size
);
49 int GetBorderWidth(wxWindow
* wnd
);
50 int GetAdditionalBorderSpace(wxWindow
* wnd
);
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
);
58 #endif // _WX_AUI_TABARTGTK_H_