5fda198f65
git-svn-id: svn://10.65.10.50/branches/R_10_00@22947 c028cbd2-c16b-5b4b-a496-9718f37d4682
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
#pragma once
|
|
#ifndef __GTART_H__
|
|
#define __GTART_H__
|
|
|
|
#ifndef _WX_ARTPROV_H_
|
|
#include <wx/artprov.h>
|
|
#endif
|
|
|
|
#ifndef _WX_AUI_H_
|
|
#include <wx/aui/aui.h>
|
|
#endif
|
|
|
|
class gtAuiManager : public wxAuiManager
|
|
{
|
|
public:
|
|
static bool DrawBackground(wxDC& dc, wxWindow* window, int orientation, const wxRect &rect);
|
|
static bool BaseColours(wxColour& base, wxColour& light, wxColour& dark, wxColour& text);
|
|
gtAuiManager();
|
|
};
|
|
|
|
class gtTabArt : public wxAuiDefaultTabArt
|
|
{
|
|
protected:
|
|
virtual wxAuiTabArt* Clone();
|
|
|
|
public:
|
|
gtTabArt();
|
|
};
|
|
|
|
///////////////////////////////////////////////////////////
|
|
// rmstToolBarArt
|
|
///////////////////////////////////////////////////////////
|
|
|
|
class gtToolBarArt : public wxAuiDefaultDockArt
|
|
{
|
|
protected:
|
|
virtual void DrawBackground (wxDC& dc, wxWindow* window, int orientation, const wxRect& rect);
|
|
virtual void DrawSash(wxDC& dc, wxWindow *window, int orientation, const wxRect& rect);
|
|
|
|
public:
|
|
gtToolBarArt();
|
|
};
|
|
|
|
void gtInitArtProvider();
|
|
wxColour ModulatedColor(const wxColour& col, int val);
|
|
wxColour gtContrastingColor(const wxColour& col);
|
|
|
|
#endif
|