]> git.saurik.com Git - wxWidgets.git/blame - include/wx/aui/tabartgtk.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / aui / tabartgtk.h
CommitLineData
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
069358b7
VZ
7// Copyright: (c) 2012 Jens Lody <jens@codeblocks.org>
8// and Teodor Petrov
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_AUI_TABARTGTK_H_
13#define _WX_AUI_TABARTGTK_H_
14
15// ----------------------------------------------------------------------------
16// headers
17// ----------------------------------------------------------------------------
18
19#include "wx/defs.h"
20
21#if wxUSE_AUI
22
23#include "wx/aui/tabart.h"
24#include "wx/gdicmn.h"
25
26class wxWindow;
27class wxDC;
28
29class WXDLLIMPEXP_AUI wxAuiGtkTabArt : public wxAuiGenericTabArt
30{
31public:
32 wxAuiGtkTabArt();
33
34 virtual wxAuiTabArt* Clone();
9fa99f04 35 virtual void DrawBorder(wxDC& dc, wxWindow* wnd, const wxRect& rect);
069358b7
VZ
36 virtual void DrawBackground(wxDC& dc, wxWindow* wnd, const wxRect& rect);
37 virtual void DrawTab(wxDC& dc,
38 wxWindow* wnd,
39 const wxAuiNotebookPage& page,
40 const wxRect& in_rect,
41 int close_button_state,
42 wxRect* out_tab_rect,
43 wxRect* out_button_rect,
44 int* x_extent);
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);
9fa99f04 49 int GetBorderWidth(wxWindow* wnd);
1e30d94e 50 int GetAdditionalBorderSpace(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_