]> git.saurik.com Git - wxWidgets.git/blame - include/wx/aui/tabartgtk.h
Force wide char environment version initialization in wxGetEnvMap().
[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();
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);
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);
52};
53
54#endif // wxUSE_AUI
55
56#endif // _WX_AUI_TABARTGTK_H_