initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
36
libs/wxWidgets-3.3.1/include/wx/xrc/xh_infobar.h
Normal file
36
libs/wxWidgets-3.3.1/include/wx/xrc/xh_infobar.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/xrc/xh_infobar.h
|
||||
// Purpose: XML resource handler for wxInfoBar
|
||||
// Author: Ilya Sinitsyn
|
||||
// Created: 2019-09-25
|
||||
// Copyright: (c) 2019 TT-Solutions SARL
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_XH_INFOBAR_H_
|
||||
#define _WX_XH_INFOBAR_H_
|
||||
|
||||
#include "wx/xrc/xmlres.h"
|
||||
|
||||
#if wxUSE_XRC && wxUSE_INFOBAR
|
||||
|
||||
class WXDLLIMPEXP_XRC wxInfoBarXmlHandler : public wxXmlResourceHandler
|
||||
{
|
||||
wxDECLARE_DYNAMIC_CLASS(wxInfoBarXmlHandler);
|
||||
|
||||
public:
|
||||
wxInfoBarXmlHandler();
|
||||
virtual wxObject *DoCreateResource() override;
|
||||
virtual bool CanHandle(wxXmlNode *node) override;
|
||||
|
||||
private:
|
||||
wxShowEffect GetShowEffect(wxString const& param);
|
||||
|
||||
bool m_insideBar;
|
||||
|
||||
wxString m_effectNames[wxSHOW_EFFECT_MAX];
|
||||
};
|
||||
|
||||
#endif // wxUSE_XRC && wxUSE_INFOBAR
|
||||
|
||||
#endif // _WX_XH_INFOBAR_H_
|
||||
Reference in New Issue
Block a user