-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
1,367 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_all.h | ||
// Purpose: includes all xh_*.h files | ||
// Author: Vaclav Slavik | ||
// Created: 2000/03/05 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Vaclav Slavik | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_ALL_H_ | ||
#define _WX_XH_ALL_H_ | ||
|
||
|
||
// Existing handlers: | ||
|
||
#include "wx/xml/xh_menu.h" | ||
#include "wx/xml/xh_panel.h" | ||
#include "wx/xml/xh_dlg.h" | ||
#include "wx/xml/xh_bttn.h" | ||
#include "wx/xml/xh_chckb.h" | ||
#include "wx/xml/xh_gauge.h" | ||
#include "wx/xml/xh_html.h" | ||
#include "wx/xml/xh_spin.h" | ||
#include "wx/xml/xh_sttxt.h" | ||
#include "wx/xml/xh_slidr.h" | ||
#include "wx/xml/xh_radbt.h" | ||
#include "wx/xml/xh_radbx.h" | ||
#include "wx/xml/xh_combo.h" | ||
#include "wx/xml/xh_chckl.h" | ||
#include "wx/xml/xh_choic.h" | ||
#include "wx/xml/xh_sizer.h" | ||
#include "wx/xml/xh_stbmp.h" | ||
#include "wx/xml/xh_notbk.h" | ||
#include "wx/xml/xh_text.h" | ||
#include "wx/xml/xh_listb.h" | ||
#include "wx/xml/xh_toolb.h" | ||
|
||
#endif // _WX_XMLRES_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_bttn.h | ||
// Purpose: XML resource handler for buttons | ||
// Author: Vaclav Slavik | ||
// Created: 2000/03/05 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Vaclav Slavik | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_BTTN_H_ | ||
#define _WX_XH_BTTN_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_bttn.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
class WXDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxButtonXmlHandler() : wxXmlResourceHandler() {} | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
}; | ||
|
||
|
||
#endif // _WX_XH_BTTN_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_chckb.h | ||
// Purpose: XML resource handler for wxCheckBox | ||
// Author: Bob Mitchell | ||
// Created: 2000/03/21 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_CHCKB_H_ | ||
#define _WX_XH_CHCKB_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_chckb.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
#include "wx/defs.h" | ||
|
||
#if wxUSE_CHECKBOX | ||
|
||
class WXDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxCheckBoxXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
}; | ||
|
||
#endif | ||
|
||
|
||
#endif // _WX_XH_CHECKBOX_H_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_chckl.h | ||
// Purpose: XML resource handler for wxCheckListBox | ||
// Author: Bob Mitchell | ||
// Created: 2000/03/21 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_CHCKL_H_ | ||
#define _WX_XH_CHCKL_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_chckl.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
class WXDLLEXPORT wxCheckListXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxCheckListXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
private: | ||
bool m_InsideBox; | ||
wxArrayString strList; | ||
}; | ||
|
||
|
||
|
||
#endif // _WX_XH_CHECKLIST_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_choic.h | ||
// Purpose: XML resource handler for wxChoice | ||
// Author: Bob Mitchell | ||
// Created: 2000/03/21 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_CHOIC_H_ | ||
#define _WX_XH_CHOIC_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_choic.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
class WXDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxChoiceXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
private: | ||
bool m_InsideBox; | ||
wxArrayString strList; | ||
}; | ||
|
||
|
||
#endif // _WX_XH_CHOIC_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_combo.h | ||
// Purpose: XML resource handler for wxComboBox | ||
// Author: Bob Mitchell | ||
// Created: 2000/03/21 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_COMBO_H_ | ||
#define _WX_XH_COMBO_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_combo.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
#if wxUSE_COMBOBOX | ||
|
||
class WXDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxComboBoxXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
private: | ||
bool m_InsideBox; | ||
wxArrayString strList; | ||
}; | ||
|
||
#endif | ||
|
||
#endif // _WX_XH_COMBO_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_dlg.h | ||
// Purpose: XML resource handler for dialogs | ||
// Author: Vaclav Slavik | ||
// Created: 2000/03/05 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Vaclav Slavik | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_DLG_H_ | ||
#define _WX_XH_DLG_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_dlg.h" | ||
#endif | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
class WXDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler | ||
{ | ||
public: | ||
wxDialogXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
}; | ||
|
||
|
||
#endif // _WX_XH_DLG_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: xh_gauge.h | ||
// Purpose: XML resource handler for wxGauge | ||
// Author: Bob Mitchell | ||
// Created: 2000/03/21 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2000 Bob Mitchell and Verant Interactive | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifndef _WX_XH_GAUGE_H_ | ||
#define _WX_XH_GAUGE_H_ | ||
|
||
#ifdef __GNUG__ | ||
#pragma interface "xh_gauge.h" | ||
#endif | ||
|
||
#include "wx/defs.h" | ||
|
||
#if wxUSE_GAUGE | ||
|
||
#include "wx/xml/xmlres.h" | ||
|
||
|
||
class WXDLLEXPORT wxGaugeXmlHandler : public wxXmlResourceHandler | ||
{ | ||
enum | ||
{ | ||
wxGAUGE_DEFAULT_RANGE = 100 | ||
}; | ||
|
||
public: | ||
wxGaugeXmlHandler(); | ||
virtual wxObject *DoCreateResource(); | ||
virtual bool CanHandle(wxXmlNode *node); | ||
}; | ||
|
||
#endif | ||
|
||
#endif // _WX_XH_GAUGE_H_ |
Oops, something went wrong.