|
MGNCS_EXPORT const char * | ncsSetDefaultLocale (char *language, char *country) |
| Set default locale information. More...
|
|
MGNCS_EXPORT const char * | ncsGetDefaultLocale (void) |
| Get default locale information. More...
|
|
MGNCS_EXPORT HPACKAGE | ncsLoadResPackageFromFile (const char *fileName) |
| Load a resource package from resource package file. More...
|
|
MGNCS_EXPORT int | ncsAddRefResPackage (HPACKAGE package) |
| add the reference count for resource package More...
|
|
MGNCS_EXPORT void | ncsUnloadResPackage (HPACKAGE package) |
| Unload a resource package. More...
|
|
MGNCS_EXPORT HPACKAGE | ncsLoadResPackageFromMem (const void *mem, int size) |
| Load a resource package from memory. User get the information of incore resource package by getIncoreResPackInfo firstly, then call this function to load resource package. More...
|
|
MGNCS_EXPORT const char * | ncsGetImageFileName (HPACKAGE package, Uint32 resId) |
| Get the name of image file. More...
|
|
MGNCS_EXPORT int | ncsGetBitmap (HDC hdc, HPACKAGE package, Uint32 resId, PBITMAP pBitmap) |
| Load a device-dependent bitmap from resource id. More...
|
|
MGNCS_EXPORT void | ncsReleaseBitmap (PBITMAP pBitmap) |
| Releases a bitmap. More...
|
|
MGNCS_EXPORT int | ncsGetMyBitmap (HPACKAGE package, Uint32 resId, PMYBITMAP myBmp, RGB *pal) |
| Load a device-independent bitmap from resource id. More...
|
|
MGNCS_EXPORT void | ncsReleaseMyBitmap (PMYBITMAP myBmp) |
| Releases a bitmap. More...
|
|
MGNCS_EXPORT const char * | ncsGetString (HPACKAGE package, Uint32 resId) |
| Get string. More...
|
|
MGNCS_EXPORT BOOL | ncsSetSysRdr (HPACKAGE package, Uint32 rdrSetId) |
| Set system renderer. More...
|
|
MGNCS_EXPORT BOOL | ncsSetWinRdr (HWND hWnd, HPACKAGE package, Uint32 rdrId) |
| Set window renderer. More...
|
|
MGNCS_EXPORT mMainWnd * | ncsCreateMainWindowIndirectFromID (HPACKAGE package, Uint32 wndId, HWND owner, HICON hIcon, HMENU hMenu, NCS_EVENT_HANDLER_INFO *handlers, NCS_EVENT_CONNECT_INFO *connects, DWORD user_data) |
| Create main window. More...
|
|
MGNCS_EXPORT BOOL | ncsGetWndTemplFromID (HPACKAGE package, Uint32 wndId, NCS_MNWND_TEMPLATE *ptempl, NCS_EVENT_HANDLER_INFO *handlers) |
| get the window template from package More...
|
|
MGNCS_EXPORT void | ncsFreeWndTemplate (NCS_MNWND_TEMPLATE *ptempl) |
| free the window template create by ncsGetWndTemplFromID More...
|
|
- Author
- XiaoweiYan
- Date
- 2009/04/01
This file includes the definition of resource managerment.
This file is part of mGNCS, a component for MiniGUI.
Copyright (C) 2008~2018, Beijing FMSoft Technologies Co., Ltd.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Or,
As this program is a library, any link to this program must follow
GNU General Public License version 3 (GPLv3). If you cannot accept
GPLv3, you need to be licensed from FMSoft.
If you have got a commercial license of this program, please use it
under the terms and conditions of the commercial license.
For more information about the commercial license, please refer to
<http://www.minigui.com/en/about/licensing-policy/>.
Definition in file mresmgr.h.