mingw build system
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2003-10-07 Dom Lachowicz <cinamod@hotmail.com>
|
||||
|
||||
* Added new mingw based build system, tidied up other missing bits
|
||||
|
||||
2003-10-07 Raymond Penners <raymond@dotsphinx.com>
|
||||
|
||||
* src/wimp_style.c: Tabs not located on top of the notebook are
|
||||
|
||||
23
modules/engines/ms-windows/Makefile.am
Normal file
23
modules/engines/ms-windows/Makefile.am
Normal file
@@ -0,0 +1,23 @@
|
||||
SUBDIRS=Theme
|
||||
|
||||
EXTRA_DIST=Makefile.msc
|
||||
|
||||
INCLUDES=$(WIMP_CFLAGS)
|
||||
|
||||
enginedir=$(libdir)/gtk-2.0/$(GTK_VERSION)/engines
|
||||
|
||||
engine_LTLIBRARIES = libwimp.la
|
||||
|
||||
libwimp_la_SOURCES = \
|
||||
wimp_rc_style.c \
|
||||
wimp_rc_style.h \
|
||||
wimp_style.c \
|
||||
wimp_style.h \
|
||||
wimp_theme_main.c \
|
||||
xp_theme.c \
|
||||
xp_theme_defs.h \
|
||||
xp_theme.h
|
||||
|
||||
libwimp_la_LDFLAGS = -avoid-version -module -no-undefined -export-dynamic
|
||||
libwimp_la_LIBADD= $(WIMP_LIBS)
|
||||
|
||||
1
modules/engines/ms-windows/Theme/Makefile.am
Normal file
1
modules/engines/ms-windows/Theme/Makefile.am
Normal file
@@ -0,0 +1 @@
|
||||
SUBDIRS=gtk-2.0
|
||||
4
modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am
Normal file
4
modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am
Normal file
@@ -0,0 +1,4 @@
|
||||
themedir = $(datadir)/themes/gtk-2.0
|
||||
theme_DATA=gtkrc
|
||||
|
||||
EXTRA_DIST=$(theme_DATA)
|
||||
@@ -21,17 +21,17 @@
|
||||
#include "xp_theme.h"
|
||||
|
||||
#include <windows.h>
|
||||
#include <uxtheme.h>
|
||||
#include <tmschema.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <gdk/gdkwin32.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* MS defines this when it includes its schema definitions */
|
||||
#ifndef TMSCHEMA_H
|
||||
#ifdef DONT_HAVE_UXTHEME_H
|
||||
#include "xp_theme_defs.h"
|
||||
#else
|
||||
#include <uxtheme.h>
|
||||
#include <tmschema.h>
|
||||
#endif
|
||||
|
||||
static const LPCWSTR class_descriptors[] =
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* These are the real values of these UXTHEME constants, provided so that we can
|
||||
* These are the real values of these UXTHEME constants, provided so that we can
|
||||
* compile/link on Win32 platforms that aren't WinXP, and also build against
|
||||
* MinGW 1.0/1.1, which also doesn't have these things defined in its header files
|
||||
*/
|
||||
@@ -29,6 +29,10 @@
|
||||
|
||||
typedef HANDLE HTHEME;
|
||||
|
||||
#define ETDT_ENABLE 0x00000002
|
||||
#define ETDT_USETABTEXTURE 0x00000004
|
||||
#define ETDT_ENABLETAB (ETDT_ENABLE | ETDT_USETABTEXTURE)
|
||||
|
||||
#define BP_PUSHBUTTON 1
|
||||
#define BP_CHECKBOX 3
|
||||
|
||||
@@ -98,6 +102,7 @@ typedef HANDLE HTHEME;
|
||||
#define ABS_UPDISABLED 4
|
||||
#define ABS_DOWNNORMAL 5
|
||||
#define ABS_DOWNHOT 6
|
||||
#define ABS_DOWNPRESSED 7
|
||||
#define ABS_DOWNDISABLED 8
|
||||
#define ABS_LEFTNORMAL 9
|
||||
#define ABS_LEFTHOT 10
|
||||
|
||||
Reference in New Issue
Block a user