]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/private/richtooltip.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/private/richtooltip.h
3 // Purpose: wxRichToolTipImpl declaration.
4 // Author: Vadim Zeitlin
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 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_PRIVATE_RICHTOOLTIP_H_
12 #define _WX_PRIVATE_RICHTOOLTIP_H_
14 #include "wx/richtooltip.h"
16 // ----------------------------------------------------------------------------
17 // wxRichToolTipImpl: defines wxRichToolTip implementation.
18 // ----------------------------------------------------------------------------
20 class wxRichToolTipImpl
23 // This is implemented in a platform-specific way.
24 static wxRichToolTipImpl
* Create(const wxString
& title
,
25 const wxString
& message
);
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;
36 virtual void ShowFor(wxWindow
* win
) = 0;
38 virtual ~wxRichToolTipImpl() { }
41 wxRichToolTipImpl() { }
44 #endif // _WX_PRIVATE_RICHTOOLTIP_H_