1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00
Files
audacity/src/HitTestResult.h
Paul Licameli e6e96de0fd Replace most inclusions of MemoryX.h with <memory> ...
... Most often it was needed for a custom definition of std::make_unique, but
we build C++14 now.
2021-06-02 07:08:19 -04:00

35 lines
719 B
C++

/**********************************************************************
Audacity: A Digital Audio Editor
HitTestResult.h
Paul Licameli
**********************************************************************/
#ifndef __AUDACITY_HIT_TEST_RESULT__
#define __AUDACITY_HIT_TEST_RESULT__
#include <memory>
#include "Internat.h" // for TranslatableString
class wxCursor;
struct HitTestPreview
{
HitTestPreview()
{}
HitTestPreview(const TranslatableString &message_, wxCursor *cursor_,
const TranslatableString &tooltip_ = {})
: message{ message_ }, cursor{ cursor_ }, tooltip{ tooltip_ }
{}
TranslatableString message {};
wxCursor *cursor {};
TranslatableString tooltip{};
};
#endif