From: <kr_...@us...> - 2003-02-10 22:42:15
|
Update of /cvsroot/htoolkit/port/src/include In directory sc8-pr-cvs1:/tmp/cvs-serv30164a/src/include Modified Files: Internals.h Types.h Window.h Log Message: MDI/SDI interface for Windows Index: Internals.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/Internals.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Internals.h 27 Jan 2003 21:18:32 -0000 1.3 --- Internals.h 10 Feb 2003 22:42:11 -0000 1.4 *************** *** 12,15 **** --- 12,20 ---- extern HMODULE ghModule; extern HFONT ghControlFont; + extern int gDocumentInterface; + extern HWND ghWndFrame; + extern HWND ghWndClient; + extern DWORD gActiveObjects; + extern LPCSTR gAppName; extern WindowHandle checkWindow(HWND hWnd, char *className); *************** *** 29,33 **** extern void rfree(void *ptr); extern void *rmalloc(unsigned long bytes); - extern void initGUI(); #endif --- 34,37 ---- Index: Types.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/Types.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Types.h 3 Feb 2003 16:53:41 -0000 1.4 --- Types.h 10 Feb 2003 22:42:11 -0000 1.5 *************** *** 114,117 **** --- 114,118 ---- #endif + extern void osInit(char *AppName, int DocumentInterface); extern void osStart(); extern void osQuit(); Index: Window.h =================================================================== RCS file: /cvsroot/htoolkit/port/src/include/Window.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Window.h 23 Jan 2003 20:19:32 -0000 1.2 --- Window.h 10 Feb 2003 22:42:11 -0000 1.3 *************** *** 63,67 **** WindowHandle osCreateWindow(); WindowHandle osCreateDialog(WindowHandle parent); - WindowHandle osCreateMDIWindow(WindowHandle parent); void osSetWindowColor(WindowHandle window, int foreColor, int backColor, int hatchStyle, BitmapHandle patBmp); char *osGetWindowTitle(WindowHandle window); --- 63,66 ---- *************** *** 77,81 **** void osGetWindowLineSize(WindowHandle window, int *res); void osSetWindowLineSize(WindowHandle window, int cx, int cy); ! void osCloseWindow(WindowHandle window); CanvasHandle osGetWindowCanvas(WindowHandle window); void osReleaseWindowCanvas(WindowHandle window,CanvasHandle canvas); --- 76,81 ---- void osGetWindowLineSize(WindowHandle window, int *res); void osSetWindowLineSize(WindowHandle window, int cx, int cy); ! BOOL osDismissWindow(WindowHandle window); ! void osDestroyWindow(WindowHandle window); CanvasHandle osGetWindowCanvas(WindowHandle window); void osReleaseWindowCanvas(WindowHandle window,CanvasHandle canvas); |