]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/generic/private/richtooltip.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/private/richtooltip.h
3 // Purpose: wxRichToolTipGenericImpl 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_GENERIC_PRIVATE_RICHTOOLTIP_H_
12 #define _GENERIC_PRIVATE_RICHTOOLTIP_H_
15 #include "wx/colour.h"
17 // ----------------------------------------------------------------------------
18 // wxRichToolTipGenericImpl: defines generic wxRichToolTip implementation.
19 // ----------------------------------------------------------------------------
21 class wxRichToolTipGenericImpl
: public wxRichToolTipImpl
24 wxRichToolTipGenericImpl(const wxString
& title
, const wxString
& message
) :
28 m_tipKind
= wxTipKind_Auto
;
30 // This is pretty arbitrary, we could follow MSW and use some multiple
31 // of double-click time here.
35 virtual void SetBackgroundColour(const wxColour
& col
,
36 const wxColour
& colEnd
);
37 virtual void SetCustomIcon(const wxIcon
& icon
);
38 virtual void SetStandardIcon(int icon
);
39 virtual void SetTimeout(unsigned milliseconds
);
40 virtual void SetTipKind(wxTipKind tipKind
);
41 virtual void SetTitleFont(const wxFont
& font
);
43 virtual void ShowFor(wxWindow
* win
);
62 #endif // _WX_GENERIC_PRIVATE_RICHTOOLTIP_H_