Code::Blocks
SVN r11506
|
#include <xtra_res.h>
Public Member Functions | |
wxToolBarAddOnXmlHandler () | |
wxObject * | DoCreateResource () override |
bool | CanHandle (wxXmlNode *node) override |
Protected Member Functions | |
wxBitmap | GetCenteredBitmap (const wxString ¶m=wxT("bitmap"), const wxArtClient &defaultArtClient=wxART_OTHER, wxSize size=wxDefaultSize) |
Protected Attributes | |
bool | m_isInside |
bool | m_isAddon |
wxToolBar * | m_toolbar |
Definition at line 17 of file xtra_res.h.
wxToolBarAddOnXmlHandler::wxToolBarAddOnXmlHandler | ( | ) |
Definition at line 34 of file xtra_res.cpp.
References wxTB_DOCKABLE, wxTB_FLAT, wxTB_HORIZONTAL, wxTB_NOALIGN, wxTB_NODIVIDER, wxTB_NOICONS, wxTB_TEXT, and wxTB_VERTICAL.
|
overridevirtual |
Implements wxXmlResourceHandler.
Definition at line 245 of file xtra_res.cpp.
References _T, wxXmlNode::GetAttribute(), IMPLEMENT_DYNAMIC_CLASS(), m_isInside, wxEmptyString, and wxT.
|
overridevirtual |
Implements wxXmlResourceHandler.
Definition at line 88 of file xtra_res.cpp.
References _(), _T, wxToolBar::AddControl(), wxToolBar::AddSeparator(), wxToolBar::AddTool(), wxToolBar::EnableTool(), GetCenteredBitmap(), wxXmlNode::GetName(), wxXmlNode::GetNext(), wxToolBar::GetToolBitmapSize(), wxXmlNode::GetType(), m_isAddon, m_isInside, m_toolbar, NULL, wxToolBar::Realize(), wxToolBar::SetMargins(), wxToolBar::SetToolBitmapSize(), wxToolBar::SetToolPacking(), wxToolBar::SetToolSeparation(), wxART_TOOLBAR, wxASSERT_MSG, wxCHECK_MSG, wxCHECK_VERSION, wxDefaultPosition, wxDefaultSize, wxDynamicCast, wxEmptyString, wxITEM_CHECK, wxITEM_NORMAL, wxITEM_RADIO, wxNO_BORDER, wxStaticCast, wxTB_HORIZONTAL, and wxXML_ELEMENT_NODE.
|
protected |
Definition at line 47 of file xtra_res.cpp.
References wxBitmap::ConvertToImage(), wxImage::GetAlpha(), wxImage::GetData(), wxBitmap::GetHeight(), wxSize::GetHeight(), wxSize::GetWidth(), wxBitmap::GetWidth(), wxImage::HasAlpha(), wxImage::Resize(), and wxDefaultSize.
Referenced by DoCreateResource().
|
protected |
Definition at line 26 of file xtra_res.h.
Referenced by DoCreateResource().
|
protected |
Definition at line 25 of file xtra_res.h.
Referenced by CanHandle(), and DoCreateResource().
|
protected |
Definition at line 27 of file xtra_res.h.
Referenced by DoCreateResource().