1 /////////////////////////////////////////////////////////////////////////////
2 // Name: include/wx/aui/tabartgtk.h
3 // Purpose: declaration of the wxAuiGTKTabArt
4 // Author: Jens Lody and Teodor Petrov
8 // Copyright: (c) 2012 Jens Lody <jens@codeblocks.org>
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_AUI_TABARTGTK_H_
14 #define _WX_AUI_TABARTGTK_H_
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
24 #include "wx/aui/tabart.h"
25 #include "wx/gdicmn.h"
30 class WXDLLIMPEXP_AUI wxAuiGtkTabArt
: public wxAuiGenericTabArt
35 virtual wxAuiTabArt
* Clone();
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 virtual wxSize
GetTabSize(wxDC
& dc
, wxWindow
* wnd
, const wxString
& caption
,
50 const wxBitmap
& bitmap
, bool active
,
51 int close_button_state
, int* x_extent
);
56 #endif // _WX_AUI_TABARTGTK_H_