mrdr.h File Reference
Go to the source code of this file.
Data Structures
Defines
- #define NCS_TYPE_MASK WE_ATTR_TYPE_MASK
- #define ncsGetElement(self, id) ncsGetElementEx((mWidget*)self, NULL, id)
- Get the value of element id in specified window.
- #define ncsSetElement(self, id, value) ncsSetElementEx((mWidget*)self, NULL, id, value)
- Set the value of element id in specified window.
- typedef struct _NCS_RDR_ENTRY NCS_RDR_ENTRY
- MGNCS_EXPORT DWORD ncsGetElementEx (mWidget *self, const char *rdrName, int id)
- Get the value of element id in specified window or renderer.
- MGNCS_EXPORT DWORD ncsSetElementEx (mWidget *self, const char *rdrName, int id, DWORD value)
- Set the value of element id in specified window or renderer.
- MGNCS_EXPORT GHANDLE ncsLoadRdrEtcFile (const char *etcfile, const char **rdrName, int count)
- Load renderer configure file from file system or incore mode.
- MGNCS_EXPORT int ncsUnloadRdrEtcFile (GHANDLE hEtcFile)
- Unload renderer configuration file.
- MGNCS_EXPORT mWidgetRenderer * ncsRetriveCtrlRDR (const char *rendererName, const char *className)
- get a renderer of special control
- MGNCS_EXPORT BOOL ncsRegisterCtrlRDR (const char *rendererName, const char *className, mWidgetRenderer *renderer)
- register one of implemention of a special control into system
- MGNCS_EXPORT void ncsUnregisterCtrlRDRs (const char *rdrName, const char *className)
- unregister a special rdr
- MGNCS_EXPORT BOOL ncsRegisterCtrlRDRs (const char *rendererName, NCS_RDR_ENTRY *entries, int count)
- register a group of renderers into system
- MGNCS_EXPORT BOOL ncsSetSystemRenderer (const char *name)
- Set the System renderer. If a system renderer would be used by all the controls who haven't been set the property "renderer", see mWidget and mWidgetRenderer.
- MGNCS_EXPORT const char * ncsGetSystemRenderer (void)
- get the system renderer name
Detailed Description
- Author:
- dongjunjie
- Date:
- 2009/02/13
This file include the base renderer information of ncs.
*
* This file is part of ncs, define the interface of LF Renderer
*
*
Definition in file mrdr.h.