]> git.saurik.com Git - wxWidgets.git/blame - include/wx/aui/tabartgtk.h
Don't create multiple parent-less top level frames in layout sample.
[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
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
27class wxWindow;
28class wxDC;
29
30class WXDLLIMPEXP_AUI wxAuiGtkTabArt : public wxAuiGenericTabArt
31{
32public:
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);
1e30d94e 51 int GetAdditionalBorderSpace(wxWindow* wnd);
069358b7
VZ
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);
55};
56
57#endif // wxUSE_AUI
58
59#endif // _WX_AUI_TABARTGTK_H_