Update of /cvsroot/htoolkit/port/src/include
In directory sc8-pr-cvs1:/tmp/cvs-serv14355/port/src/include
Modified Files:
Internals.h
Log Message:
The internal implementation is rewritten. The new feature is that we have FrameWindow for both SDI and MDI. This simplify the implementation of the entire backend.
Index: Internals.h
===================================================================
RCS file: /cvsroot/htoolkit/port/src/include/Internals.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Internals.h 3 Mar 2003 21:09:21 -0000 1.6
--- Internals.h 29 Mar 2003 08:12:19 -0000 1.7
***************
*** 4,10 ****
#include <config.h>
! extern int gActiveObjects;
! extern int gDocumentInterface;
! extern char *gAppName;
#ifdef WIN32_TARGET
--- 4,9 ----
#include <config.h>
! extern BOOL gInKey;
! extern int gCurChar;
#ifdef WIN32_TARGET
***************
*** 15,21 ****
extern HMODULE ghModule;
- extern HFONT ghControlFont;
extern HWND ghWndFrame;
! extern HWND ghWndClient;
extern WindowHandle checkWindow(HWND hWnd, char *className);
--- 14,20 ----
extern HMODULE ghModule;
extern HWND ghWndFrame;
!
! extern unsigned int GetModifiers();
extern WindowHandle checkWindow(HWND hWnd, char *className);
***************
*** 23,37 ****
extern void SetupLogBrush(LOGBRUSH *plb, BOOL bSetSolid, int hatchStyle, BitmapHandle patBmp);
#else
! extern GtkWidget *gMDIFrameWidget;
! extern GtkWidget *gMDINotebookWidget;
! extern GtkWidget *gActiveTopLevelWindow;
- extern GtkBin *GetSW(GtkWidget *window);
extern gchar *fromMnemonicString(const gchar *source);
extern gchar *toMnemonicString(const gchar *source);
void createMDIFrame();
#endif
--- 22,45 ----
extern void SetupLogBrush(LOGBRUSH *plb, BOOL bSetSolid, int hatchStyle, BitmapHandle patBmp);
+ typedef struct
+ {
+ HWND hClientWnd;
+ int DocumentInterface;
+ HFONT hControlFont;
+ LPSTR lpszAppName;
+ } FrameData;
+
#else
! extern int gDocumentInterface;
! extern char *gAppName;
! extern GtkWidget *gFrameWidget;
! extern GtkWidget *gClientWidget;
extern gchar *fromMnemonicString(const gchar *source);
extern gchar *toMnemonicString(const gchar *source);
void createMDIFrame();
+ void createSDIFrame();
#endif
|