Update of /cvsroot/htoolkit/port/src/include
In directory sc8-pr-cvs1:/tmp/cvs-serv22219/src/include
Modified Files:
ToolBar.h Types.h
Log Message:
Fix ToolBar for Win32
Index: ToolBar.h
===================================================================
RCS file: /cvsroot/htoolkit/port/src/include/ToolBar.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ToolBar.h 8 Jul 2003 20:31:29 -0000 1.1
--- ToolBar.h 8 Jul 2003 21:18:06 -0000 1.2
***************
*** 5,9 ****
WindowHandle osCreateToolBar(char *name, int place, int band_num, int band_position, int offset);
! void osDestroyToolBar(GtkWidget *toolbar);
ToolHandle osInsertToolButton(WindowHandle toolbar, int pos);
--- 5,9 ----
WindowHandle osCreateToolBar(char *name, int place, int band_num, int band_position, int offset);
! void osDestroyToolBar(WindowHandle toolbar);
ToolHandle osInsertToolButton(WindowHandle toolbar, int pos);
Index: Types.h
===================================================================
RCS file: /cvsroot/htoolkit/port/src/include/Types.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Types.h 8 Jul 2003 20:31:29 -0000 1.13
--- Types.h 8 Jul 2003 21:18:07 -0000 1.14
***************
*** 12,19 ****
--- 12,28 ----
#ifdef WIN32_TARGET
+ #define _WIN32_IE 0x0501
#include <windows.h>
#include <mmsystem.h>
#include <shlobj.h>
+ #ifndef TB_GETBUTTONINFO
+ #define TB_GETBUTTONINFO (WM_USER + 65)
+ #endif
+
+ #ifndef I_IMAGENONE
+ #define I_IMAGENONE -2
+ #endif
+
typedef HWND WindowHandle;
***************
*** 35,39 ****
typedef struct MenuHandle *MenuHandle;
! typedef struct _ToolHandle *ToolHandle;
typedef struct
--- 44,48 ----
typedef struct MenuHandle *MenuHandle;
! typedef struct ToolHandle *ToolHandle;
typedef struct
|