]>
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 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_PRIVATE_RICHTOOLTIP_H_
11 #define _WX_PRIVATE_RICHTOOLTIP_H_
13 #include "wx/richtooltip.h"
15 // ----------------------------------------------------------------------------
16 // wxRichToolTipImpl: defines wxRichToolTip implementation.
17 // ----------------------------------------------------------------------------
19 class wxRichToolTipImpl
22 // This is implemented in a platform-specific way.
23 static wxRichToolTipImpl
* Create(const wxString
& title
,
24 const wxString
& message
);
26 // These methods simply mirror the public wxRichToolTip ones.
27 virtual void SetBackgroundColour(const wxColour
& col
,
28 const wxColour
& colEnd
) = 0;
29 virtual void SetCustomIcon(const wxIcon
& icon
) = 0;
30 virtual void SetStandardIcon(int icon
) = 0;
31 virtual void SetTimeout(unsigned milliseconds
,
32 unsigned millisecondsShowdelay
= 0) = 0;
33 virtual void SetTipKind(wxTipKind tipKind
) = 0;
34 virtual void SetTitleFont(const wxFont
& font
) = 0;
36 virtual void ShowFor(wxWindow
* win
, const wxRect
* rect
= NULL
) = 0;
38 virtual ~wxRichToolTipImpl() { }
41 wxRichToolTipImpl() { }
44 #endif // _WX_PRIVATE_RICHTOOLTIP_H_