]> git.saurik.com Git - wxWidgets.git/blame - include/wx/private/richtooltip.h
Add lambda-friendly wxDialog::ShowWindowModalThenDo().
[wxWidgets.git] / include / wx / private / richtooltip.h
CommitLineData
e520c3f7
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/private/richtooltip.h
3// Purpose: wxRichToolTipImpl declaration.
4// Author: Vadim Zeitlin
5// Created: 2011-10-18
e520c3f7
VZ
6// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
7// Licence: wxWindows licence
8///////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_PRIVATE_RICHTOOLTIP_H_
11#define _WX_PRIVATE_RICHTOOLTIP_H_
12
13#include "wx/richtooltip.h"
14
15// ----------------------------------------------------------------------------
16// wxRichToolTipImpl: defines wxRichToolTip implementation.
17// ----------------------------------------------------------------------------
18
19class wxRichToolTipImpl
20{
21public:
22 // This is implemented in a platform-specific way.
23 static wxRichToolTipImpl* Create(const wxString& title,
24 const wxString& message);
25
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;
3c3b6f60
VZ
31 virtual void SetTimeout(unsigned milliseconds,
32 unsigned millisecondsShowdelay = 0) = 0;
e520c3f7
VZ
33 virtual void SetTipKind(wxTipKind tipKind) = 0;
34 virtual void SetTitleFont(const wxFont& font) = 0;
35
f6268c15 36 virtual void ShowFor(wxWindow* win, const wxRect* rect = NULL) = 0;
e520c3f7
VZ
37
38 virtual ~wxRichToolTipImpl() { }
39
40protected:
41 wxRichToolTipImpl() { }
42};
43
44#endif // _WX_PRIVATE_RICHTOOLTIP_H_