... And corrected improper connections in HistoryWindow and ContrastDialog, improper because they got called with the wrong this pointer, to the control instead of the dialog. But that was harmless anyway because the handlers did not use this.
46 lines
979 B
C++
46 lines
979 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
SplashDialog.h
|
|
|
|
James Crook
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_SPLASH_DLG__
|
|
#define __AUDACITY_SPLASH_DLG__
|
|
|
|
#include "widgets/wxPanelWrapper.h" // to inherit
|
|
|
|
class wxBitmap;
|
|
class ShuttleGui;
|
|
class AudacityProject;
|
|
class HtmlWindow;
|
|
|
|
class SplashDialog final : public wxDialogWrapper {
|
|
DECLARE_DYNAMIC_CLASS(SplashDialog)
|
|
public:
|
|
|
|
static void DoHelpWelcome( AudacityProject &project );
|
|
|
|
SplashDialog(wxWindow * parent);
|
|
virtual ~ SplashDialog();
|
|
void OnOK(wxCommandEvent & event);
|
|
static void Show2( wxWindow * pParent );
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
private:
|
|
|
|
void OnChar(wxMouseEvent &event);
|
|
void Populate( ShuttleGui & S );
|
|
void OnDontShow( wxCommandEvent & Evt );
|
|
|
|
HtmlWindow * mpHtml;
|
|
std::unique_ptr<wxBitmap> m_pLogo; //vvv
|
|
static SplashDialog * pSelf;
|
|
};
|
|
|
|
#endif
|