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 DrawBorder(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& rect
);
37 virtual void DrawBackground(wxDC
& dc
, wxWindow
* wnd
, const wxRect
& rect
);
38 virtual void DrawTab(wxDC
& dc
,
40 const wxAuiNotebookPage
& page
,
41 const wxRect
& in_rect
,
42 int close_button_state
,
44 wxRect
* out_button_rect
,
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
);
50 int GetBorderWidth(wxWindow
* wnd
);
51 int GetAdditionalBorderSpace(wxWindow
* wnd
);
52 virtual wxSize
GetTabSize(wxDC
& dc
, wxWindow
* wnd
, const wxString
& caption
,
53 const wxBitmap
& bitmap
, bool active
,
54 int close_button_state
, int* x_extent
);
59 #endif // _WX_AUI_TABARTGTK_H_