]>
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
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
,
33 unsigned millisecondsShowdelay
= 0) = 0;
34 virtual void SetTipKind(wxTipKind tipKind
) = 0;
35 virtual void SetTitleFont(const wxFont
& font
) = 0;
37 virtual void ShowFor(wxWindow
* win
, const wxRect
* rect
= NULL
) = 0;
39 virtual ~wxRichToolTipImpl() { }
42 wxRichToolTipImpl() { }
45 #endif // _WX_PRIVATE_RICHTOOLTIP_H_