MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

ifmdefs.h File Reference

#include <wx/hashmap.h>
#include <wx/dynarray.h>

Include dependency graph for ifmdefs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  wxIFMDimensions

Defines

#define IFM_USE_WX_RTTI   1
#define IFM_GET_EXTENSION_DATA(c, d)   (wxDynamicCast((c)->GetExtensionData(d::DataKey()), d))
#define DECLARE_IFM_DATA_KEY(name)   extern const wxIFMComponentDataKeyType name;
#define DEFINE_IFM_DATA_KEY(name)   const wxIFMComponentDataKeyType name = GetNewDataKey();
#define DECLARE_IFM_COMPONENT_TYPE(name)   extern const int name;
#define DEFINE_IFM_COMPONENT_TYPE(name)   const int name = GetNewComponentType();
#define IFM_COMPONENT_UNDEFINED   0
#define IFM_COMPONENT_FLOATING_ROOT   -1
 Special value used to create root components for floating windows.
#define DECLARE_IFM_CHILD_TYPE(name)   extern const int name;
#define DEFINE_IFM_CHILD_TYPE(name)   const int name = GetNewChildType();
#define IFM_CHILDTYPE_UNDEFINED   0
#define IFM_COORDS_ABSOLUTE   1
#define IFM_COORDS_BACKGROUND   2
#define IFM_COORDS_CLIENT   3
#define IFM_COORDS_FLOATINGWINDOW   4
#define IFM_ALIGN_NONE   0
#define IFM_ALIGN_HORIZONTAL   1
#define IFM_ALIGN_VERTICAL   2
#define IFM_NO_RESIZE_UPDATE   0x00000001
#define IFM_DEFAULT_FLAGS   0
#define IFM_DISABLE_STATUS_MESSAGES   -1
#define IFM_USE_CURRENT_VALUE   -1
#define IFM_NO_MAXIMUM   -2
#define IFM_NO_MINIMUM   -3
#define IFM_NO_MAXIMUM_SIZE   wxSize(IFM_NO_MAXIMUM,IFM_NO_MAXIMUM)
#define IFM_NO_MINIMUM_SIZE   wxSize(IFM_NO_MINIMUM,IFM_NO_MINIMUM)
#define IFM_USE_CHILD_MINSIZE   wxSize(-2,-2)
#define IFM_USE_CURRENT_SIZE   wxSize(IFM_USE_CURRENT_VALUE,IFM_USE_CURRENT_VALUE)
#define IFM_DEFAULT_INDEX   -1
#define IFM_DEFAULT_POS   wxPoint(-1, -1)
#define IFM_DEFAULT_SIZE   wxSize(100, 100)
#define IFM_DEFAULT_RECT   wxRect(IFM_DEFAULT_POS, wxSize(-1,-1))
#define IFM_INTERFACE_ACTIVE   -1
#define IFM_INTERFACE_ALL   -2
#define IFM_DEFAULT_COMPONENT_NAME   wxT("")
#define IFM_CANFLOAT   0
#define IFM_BORDER_Y   4

Typedefs

typedef int wxIFMComponentDataKeyType
 Data type used to retrieve component data.
typedef wxIFMDimensions wxIFMBorders
typedef wxIFMDimensions wxIFMMargins

Functions

 WX_DEFINE_ARRAY (wxIFMInterfacePluginBase *, wxIFMInterfacePluginArray)
 WX_DEFINE_ARRAY (wxIFMComponent *, wxIFMComponentArray)
 WX_DEFINE_ARRAY (wxIFMFloatingWindowBase *, wxIFMFloatingWindowArray)
 WX_DECLARE_HASH_MAP (wxIFMComponentDataKeyType, wxIFMExtensionDataBase *, wxIntegerHash, wxIntegerEqual, wxIFMComponentDataMap)
 WX_DECLARE_HASH_MAP (unsigned int, wxIFMComponent *, wxIntegerHash, wxIntegerEqual, wxIFMChildWindowMap)
 DECLARE_IFM_CHILD_TYPE (IFM_CHILD_GENERIC) DECLARE_IFM_CHILD_TYPE(IFM_CHILD_TOOLBAR) class wxIFMDimensions


Detailed Description

Defintions for the IFM system

Author:
Robin McNeill
Date:
Created: 10/15/04
Copyright (c) Robin McNeill Licensed under the terms of the wxWindows license

Definition in file ifmdefs.h.


Define Documentation

#define DECLARE_IFM_CHILD_TYPE name   )     extern const int name;
 

Definition at line 92 of file ifmdefs.h.

#define DECLARE_IFM_COMPONENT_TYPE name   )     extern const int name;
 

Definition at line 81 of file ifmdefs.h.

#define DECLARE_IFM_DATA_KEY name   )     extern const wxIFMComponentDataKeyType name;
 

Definition at line 75 of file ifmdefs.h.

#define DEFINE_IFM_CHILD_TYPE name   )     const int name = GetNewChildType();
 

Definition at line 93 of file ifmdefs.h.

#define DEFINE_IFM_COMPONENT_TYPE name   )     const int name = GetNewComponentType();
 

Definition at line 82 of file ifmdefs.h.

#define DEFINE_IFM_DATA_KEY name   )     const wxIFMComponentDataKeyType name = GetNewDataKey();
 

Definition at line 76 of file ifmdefs.h.

#define IFM_ALIGN_HORIZONTAL   1
 

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(), wxIFMDefaultPlugin::OnCalcRects(), wxIFMDefaultDockingPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDragEnd(), wxIFMDefaultContainerPlugin::OnGetDesiredSize(), wxIFMDefaultPlugin::OnGetMaxSize(), wxIFMDefaultPlugin::OnGetMinSize(), wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), wxIFMDefaultResizePlugin::OnResizing(), wxIFMDefaultContainerPlugin::OnSetDesiredSize(), wxIFMDefaultResizePlugin::ResizeComponent(), wxIFMDefaultResizePlugin::UpdateContainerResizeSashes(), and wxIFMDefaultResizePlugin::UpdateResizeSashes().

#define IFM_ALIGN_NONE   0
 

Referenced by wxIFMComponent::wxIFMComponent().

#define IFM_ALIGN_VERTICAL   2
 

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(), wxIFMDefaultPlugin::OnCalcRects(), wxIFMDefaultDockingPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDragEnd(), wxIFMDefaultContainerPlugin::OnGetDesiredSize(), wxIFMDefaultPlugin::OnGetMaxSize(), wxIFMDefaultPlugin::OnGetMinSize(), wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), wxIFMDefaultResizePlugin::OnResizing(), wxIFMDefaultContainerPlugin::OnSetDesiredSize(), wxIFMDefaultResizePlugin::UpdateContainerResizeSashes(), and wxIFMDefaultResizePlugin::UpdateResizeSashes().

#define IFM_BORDER_Y   4
 

Definition at line 181 of file ifmdefs.h.

#define IFM_CANFLOAT   0
 

Referenced by wxIFMDefaultResizePlugin::UpdateContainerResizeSashes(), wxIFMDefaultResizePlugin::UpdateResizeSashes(), and wxInterfaceManager::wxInterfaceManager().

#define IFM_CHILDTYPE_UNDEFINED   0
 

Definition at line 94 of file ifmdefs.h.

Referenced by wxInterfaceManager::AddChild().

#define IFM_COMPONENT_FLOATING_ROOT   -1
 

Special value used to create root components for floating windows.

Definition at line 84 of file ifmdefs.h.

Referenced by wxIFMDefaultContainerPlugin::OnCreateComponent().

#define IFM_COMPONENT_UNDEFINED   0
 

Definition at line 83 of file ifmdefs.h.

Referenced by wxIFMExtensionDataBase::DataKey(), and wxInterfaceManager::ReleaseInput().

#define IFM_COORDS_ABSOLUTE   1
 

Referenced by wxIFMDefaultResizePlugin::OnConvertRect(), wxIFMDefaultPlugin::OnConvertRect(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultPlugin::OnGetDesiredSize(), wxIFMDefaultContainerPlugin::OnGetDesiredSize(), wxIFMDefaultPlugin::OnGetMaxSize(), wxIFMDefaultPlugin::OnGetMinSize(), wxIFMDefaultPanelPlugin::OnGetMinSize(), wxIFMDefaultPlugin::OnGetRect(), wxIFMDefaultPlugin::OnHitTest(), wxIFMDefaultPlugin::OnSetDesiredSize(), wxIFMDefaultPanelPlugin::OnSetDesiredSize(), wxIFMDefaultContainerPlugin::OnSetDesiredSize(), wxIFMDefaultPlugin::OnSetRect(), and wxIFMDefaultPlugin::OnUpdate().

#define IFM_COORDS_BACKGROUND   2
 

Referenced by wxIFMDefaultResizePlugin::OnConvertRect(), wxIFMDefaultPlugin::OnConvertRect(), wxIFMDefaultPlugin::OnGetRect(), wxIFMDefaultPlugin::OnHitTest(), and wxIFMDefaultPlugin::OnSetRect().

#define IFM_COORDS_CLIENT   3
 

Referenced by wxIFMDefaultPlugin::OnConvertRect(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultPlugin::OnGetDesiredSize(), wxIFMDefaultContainerPlugin::OnGetDesiredSize(), wxIFMDefaultPlugin::OnGetMaxSize(), wxIFMDefaultPlugin::OnGetMinSize(), wxIFMDefaultPanelPlugin::OnGetMinSize(), wxIFMDefaultPlugin::OnGetRect(), wxIFMDefaultPlugin::OnHitTest(), wxIFMDefaultPlugin::OnSetDesiredSize(), wxIFMDefaultPanelPlugin::OnSetDesiredSize(), wxIFMDefaultContainerPlugin::OnSetDesiredSize(), and wxIFMDefaultPlugin::OnSetRect().

#define IFM_COORDS_FLOATINGWINDOW   4
 

Referenced by wxIFMDefaultPlugin::OnConvertRect(), and wxIFMDefaultPlugin::OnUpdate().

#define IFM_DEFAULT_COMPONENT_NAME   wxT("")
 

#define IFM_DEFAULT_FLAGS   0
 

Referenced by wxInterfaceManager::wxInterfaceManager().

#define IFM_DEFAULT_INDEX   -1
 

Referenced by wxIFMDefaultInterfacePlugin::OnAddChild(), wxIFMDefaultDockingPlugin::OnDock(), wxIFMDefaultPlugin::OnDock(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDragEnd(), and wxIFMDefaultChildData::wxIFMDefaultChildData().

#define IFM_DEFAULT_POS   wxPoint(-1, -1)
 

Referenced by wxIFMDefaultChildData::wxIFMDefaultChildData().

#define IFM_DEFAULT_RECT   wxRect(IFM_DEFAULT_POS, wxSize(-1,-1))
 

Referenced by wxInterfaceManager::AddPendingUpdate(), MainFrm::OnShowAll(), wxIFMDefaultPlugin::OnShowComponent(), wxInterfaceManager::Update(), and wxIFMCalcRectsEvent::wxIFMCalcRectsEvent().

#define IFM_DEFAULT_SIZE   wxSize(100, 100)
 

#define IFM_DISABLE_STATUS_MESSAGES   -1
 

Referenced by wxInterfaceManager::DisplayStatusMessage(), wxInterfaceManager::ResetStatusMessage(), and wxInterfaceManager::wxInterfaceManager().

#define IFM_GET_EXTENSION_DATA c,
 )     (wxDynamicCast((c)->GetExtensionData(d::DataKey()), d))
 

Definition at line 38 of file ifmdefs.h.

Referenced by wxInterfaceManager::CaptureInput(), wxIFMDefaultPanelPlugin::DrawTabs(), wxIFMDefaultInterfacePlugin::GetContainer(), wxIFMComponent::GetParentWindow(), wxIFMDefaultInterfacePlugin::OnAddChild(), wxIFMDefaultResizePlugin::OnConvertRect(), wxIFMDefaultPanelPlugin::OnDestroyComponent(), wxIFMDefaultPlugin::OnDock(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultContainerPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDrag(), wxIFMDefaultDockingPlugin::OnDragBegin(), wxIFMDefaultDockingPlugin::OnDragEnd(), wxIFMDefaultInterfacePlugin::OnGetContentRect(), wxIFMDefaultPanelPlugin::OnGetMaxSize(), wxIFMDefaultPanelPlugin::OnGetMinSize(), wxIFMDefaultResizePlugin::OnGetRect(), wxIFMDefaultPanelPlugin::OnLeftDown(), wxIFMDefaultContainerPlugin::OnLeftDown(), wxIFMDefaultResizePlugin::OnPaintDecor(), wxIFMDefaultPanelPlugin::OnPaintDecor(), wxIFMDefaultContainerPlugin::OnPaintDecor(), wxIFMDefaultPanelPlugin::OnQueryChild(), wxIFMDefaultInterfacePlugin::OnRemoveTopContainer(), wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), wxIFMDefaultPanelPlugin::OnSelectTab(), wxIFMDefaultPlugin::OnSetChildSize(), wxIFMDefaultResizePlugin::OnSetCursor(), wxIFMDefaultPlugin::OnSetDesiredSize(), wxIFMDefaultPanelPlugin::OnSetDesiredSize(), wxIFMDefaultResizePlugin::OnSetRect(), wxIFMDefaultPanelPlugin::OnShowComponent(), wxIFMDefaultDockingPlugin::OnShowDropTargets(), wxIFMDefaultPlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUndock(), wxIFMDefaultPlugin::OnUpdate(), wxIFMDefaultPanelPlugin::OnUpdate(), wxIFMDefaultContainerPlugin::OnUpdate(), wxIFMDefaultInterfacePlugin::OnUpdate(), wxIFMDefaultContainerPlugin::OnVisibilityChange(), wxIFMDefaultPanelPlugin::OnVisibilityChanged(), wxIFMDefaultResizePlugin::UpdateContainerResizeSashes(), and wxIFMDefaultResizePlugin::UpdateResizeSashes().

#define IFM_INTERFACE_ACTIVE   -1
 

#define IFM_INTERFACE_ALL   -2
 

#define IFM_NO_MAXIMUM   -2
 

Referenced by wxIFMDefaultPlugin::OnCalcRects(), wxIFMDefaultPlugin::OnSetDesiredSize(), and wxIFMDefaultPlugin::OnSetRect().

#define IFM_NO_MAXIMUM_SIZE   wxSize(IFM_NO_MAXIMUM,IFM_NO_MAXIMUM)
 

Referenced by wxIFMDefaultPlugin::OnGetMaxSize(), wxIFMChildDataBase::wxIFMChildDataBase(), and wxIFMComponent::wxIFMComponent().

#define IFM_NO_MINIMUM   -3
 

Referenced by wxIFMDefaultContainerPlugin::OnGetDesiredSize(), wxIFMDefaultPlugin::OnGetMinSize(), wxIFMDefaultPanelPlugin::OnGetMinSize(), and wxIFMDefaultPlugin::OnSetRect().

#define IFM_NO_MINIMUM_SIZE   wxSize(IFM_NO_MINIMUM,IFM_NO_MINIMUM)
 

Referenced by wxIFMChildDataBase::wxIFMChildDataBase(), and wxIFMComponent::wxIFMComponent().

#define IFM_NO_RESIZE_UPDATE   0x00000001
 

Referenced by wxIFMInterfacePluginBase::OnSize().

#define IFM_USE_CHILD_MINSIZE   wxSize(-2,-2)
 

Referenced by wxIFMDefaultPlugin::OnGetMinSize().

#define IFM_USE_CURRENT_SIZE   wxSize(IFM_USE_CURRENT_VALUE,IFM_USE_CURRENT_VALUE)
 

#define IFM_USE_CURRENT_VALUE   -1
 

Referenced by wxIFMDefaultPlugin::OnSetChildSize(), wxIFMDefaultPlugin::OnSetDesiredSize(), and wxIFMDefaultPlugin::OnSetRect().

#define IFM_USE_WX_RTTI   1
 

Definition at line 32 of file ifmdefs.h.


Typedef Documentation

typedef wxIFMDimensions wxIFMBorders
 

Definition at line 178 of file ifmdefs.h.

typedef int wxIFMComponentDataKeyType
 

Data type used to retrieve component data.

Definition at line 72 of file ifmdefs.h.

typedef wxIFMDimensions wxIFMMargins
 

Definition at line 179 of file ifmdefs.h.


Function Documentation

DECLARE_IFM_CHILD_TYPE IFM_CHILD_GENERIC   ) 
 

WX_DECLARE_HASH_MAP unsigned  int,
wxIFMComponent ,
wxIntegerHash  ,
wxIntegerEqual  ,
wxIFMChildWindowMap 
 

WX_DECLARE_HASH_MAP wxIFMComponentDataKeyType  ,
wxIFMExtensionDataBase ,
wxIntegerHash  ,
wxIntegerEqual  ,
wxIFMComponentDataMap 
 

WX_DEFINE_ARRAY wxIFMFloatingWindowBase *  ,
wxIFMFloatingWindowArray 
 

WX_DEFINE_ARRAY wxIFMComponent ,
wxIFMComponentArray 
 

WX_DEFINE_ARRAY wxIFMInterfacePluginBase ,
wxIFMInterfacePluginArray 
 

 

SourceForge Logo