Audacity  3.0.3
HitTestResult.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3 Audacity: A Digital Audio Editor
4 
5 HitTestResult.h
6 
7 Paul Licameli
8 
9 **********************************************************************/
10 
11 #ifndef __AUDACITY_HIT_TEST_RESULT__
12 #define __AUDACITY_HIT_TEST_RESULT__
13 
14 #include <memory>
15 #include "Internat.h" // for TranslatableString
16 
17 class wxCursor;
18 
20 {
22  {}
23 
24  HitTestPreview(const TranslatableString &message_, wxCursor *cursor_,
25  const TranslatableString &tooltip_ = {})
26  : message{ message_ }, cursor{ cursor_ }, tooltip{ tooltip_ }
27  {}
28 
30  wxCursor *cursor {};
32 };
33 
34 #endif
HitTestPreview::HitTestPreview
HitTestPreview(const TranslatableString &message_, wxCursor *cursor_, const TranslatableString &tooltip_={})
Definition: HitTestResult.h:24
TranslatableString
Holds a msgid for the translation catalog; may also bind format arguments.
Definition: TranslatableString.h:32
HitTestPreview::cursor
wxCursor * cursor
Definition: HitTestResult.h:30
HitTestPreview
Definition: HitTestResult.h:20
HitTestPreview::HitTestPreview
HitTestPreview()
Definition: HitTestResult.h:21
HitTestPreview::message
TranslatableString message
Definition: HitTestResult.h:29
Internat.h
HitTestPreview::tooltip
TranslatableString tooltip
Definition: HitTestResult.h:31