Commit bb3f3dbc authored by cinamod's avatar cinamod

mingw build system

parent 8a93f2ff
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
......
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)
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment