]> git.saurik.com Git - wxWidgets.git/blob - include/wx/private/richtooltip.h
Add wx/datetimectrl.h to the wxAdv files list.
[wxWidgets.git] / include / wx / private / richtooltip.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/richtooltip.h
3 // Purpose: wxRichToolTipImpl declaration.
4 // Author: Vadim Zeitlin
5 // Created: 2011-10-18
6 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_PRIVATE_RICHTOOLTIP_H_
12 #define _WX_PRIVATE_RICHTOOLTIP_H_
13
14 #include "wx/richtooltip.h"
15
16 // ----------------------------------------------------------------------------
17 // wxRichToolTipImpl: defines wxRichToolTip implementation.
18 // ----------------------------------------------------------------------------
19
20 class wxRichToolTipImpl
21 {
22 public:
23 // This is implemented in a platform-specific way.
24 static wxRichToolTipImpl* Create(const wxString& title,
25 const wxString& message);
26
27 // These methods simply mirror the public wxRichToolTip ones.
28 virtual void SetBackgroundColour(const wxColour& col,
29 const wxColour& colEnd) = 0;
30 virtual void SetCustomIcon(const wxIcon& icon) = 0;
31 virtual void SetStandardIcon(int icon) = 0;
32 virtual void SetTimeout(unsigned milliseconds) = 0;
33 virtual void SetTipKind(wxTipKind tipKind) = 0;
34 virtual void SetTitleFont(const wxFont& font) = 0;
35
36 virtual void ShowFor(wxWindow* win) = 0;
37
38 virtual ~wxRichToolTipImpl() { }
39
40 protected:
41 wxRichToolTipImpl() { }
42 };
43
44 #endif // _WX_PRIVATE_RICHTOOLTIP_H_