Code::Blocks
SVN r11506
include
xtra_res.h
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3
* http://www.gnu.org/licenses/lgpl-3.0.html
4
*/
5
6
#ifndef XTRA_RES_H
7
#define XTRA_RES_H
8
9
#include <
wx/xrc/xmlres.h
>
10
#include <wx/xrc/xh_dlg.h>
11
#include <
wx/toolbar.h
>
12
13
#include "
settings.h
"
// DLLIMPORT
14
15
class
wxXmlResourceHandler
;
16
17
class
DLLIMPORT
wxToolBarAddOnXmlHandler
:
public
wxXmlResourceHandler
18
{
19
public
:
20
wxToolBarAddOnXmlHandler
();
21
wxObject
*
DoCreateResource
()
override
;
22
bool
CanHandle
(
wxXmlNode
*node)
override
;
23
24
protected
:
25
bool
m_isInside
;
26
bool
m_isAddon
;
27
wxToolBar
*
m_toolbar
;
28
29
wxBitmap
GetCenteredBitmap(
const
wxString
& param =
wxT
(
"bitmap"
),
30
const
wxArtClient
& defaultArtClient = wxART_OTHER,
31
wxSize
size = wxDefaultSize);
32
};
33
34
class
DLLIMPORT
wxScrollingDialogXmlHandler
:
public
wxDialogXmlHandler
35
{
36
DECLARE_DYNAMIC_CLASS(
wxScrollingDialogXmlHandler
)
37
38
public
:
39
wxScrollingDialogXmlHandler
();
40
wxObject
*DoCreateResource()
override
;
41
bool
CanHandle(
wxXmlNode
*node)
override
;
42
};
43
44
#endif
wxScrollingDialogXmlHandler
Definition:
xtra_res.h:34
wxXmlNode
wxXmlResourceHandler::CanHandle
virtual bool CanHandle(wxXmlNode *node)=0
wxToolBarAddOnXmlHandler::m_isAddon
bool m_isAddon
Definition:
xtra_res.h:26
wxXmlResourceHandler
wxT
#define wxT(string)
wxXmlResourceHandler::DoCreateResource
virtual wxObject * DoCreateResource()=0
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
wxBitmap
settings.h
wxString
wxObject
wxToolBarAddOnXmlHandler
Definition:
xtra_res.h:17
wxToolBar
xmlres.h
wxSize
toolbar.h
wxToolBarAddOnXmlHandler::m_toolbar
wxToolBar * m_toolbar
Definition:
xtra_res.h:27
wxToolBarAddOnXmlHandler::m_isInside
bool m_isInside
Definition:
xtra_res.h:25
Generated by
1.8.13