Animation support added to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8e8d11eeaa
commit
9a9ed31993
@ -105,6 +105,9 @@ public:
|
|||||||
wxSize size = wxDefaultSize)
|
wxSize size = wxDefaultSize)
|
||||||
{ return wxXmlResourceHandler::GetIcon(param, defaultArtClient, size); }
|
{ return wxXmlResourceHandler::GetIcon(param, defaultArtClient, size); }
|
||||||
|
|
||||||
|
wxAnimation GetAnimation(const wxString& param = wxT("animation"))
|
||||||
|
{ return wxXmlResourceHandler::GetAnimation(param); }
|
||||||
|
|
||||||
wxFont GetFont(const wxString& param = wxT("font"))
|
wxFont GetFont(const wxString& param = wxT("font"))
|
||||||
{ return wxXmlResourceHandler::GetFont(param); }
|
{ return wxXmlResourceHandler::GetFont(param); }
|
||||||
|
|
||||||
@ -243,6 +246,9 @@ public:
|
|||||||
// Gets a font.
|
// Gets a font.
|
||||||
wxFont GetFont(const wxString& param = wxPyFontString);
|
wxFont GetFont(const wxString& param = wxPyFontString);
|
||||||
|
|
||||||
|
// Gets an animation.
|
||||||
|
wxAnimation GetAnimation(const wxString& param = wxPyAnimationString);
|
||||||
|
|
||||||
// Sets common window options.
|
// Sets common window options.
|
||||||
void SetupWindow(wxWindow *wnd);
|
void SetupWindow(wxWindow *wnd);
|
||||||
|
|
||||||
|
@ -63,6 +63,7 @@ public:
|
|||||||
|
|
||||||
~wxXmlResource();
|
~wxXmlResource();
|
||||||
|
|
||||||
|
//wxXmlNode* GetFirstRoot(); ** Link error
|
||||||
|
|
||||||
// Loads resources from XML files that match given filemask.
|
// Loads resources from XML files that match given filemask.
|
||||||
// This method understands VFS (see filesys.h).
|
// This method understands VFS (see filesys.h).
|
||||||
|
@ -42,7 +42,7 @@ MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
|
|||||||
MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
|
MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
|
||||||
MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
|
MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
|
||||||
MAKE_CONST_WXSTRING2(FontString, wxT("font"));
|
MAKE_CONST_WXSTRING2(FontString, wxT("font"));
|
||||||
|
MAKE_CONST_WXSTRING2(AnimationString, wxT("animation"));
|
||||||
|
|
||||||
|
|
||||||
// Include all the files that make up this module
|
// Include all the files that make up this module
|
||||||
|
Loading…
Reference in New Issue
Block a user