2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-09-06 11:40:48 -07:00
|
|
|
|
|
|
|
#ifndef _nsgfxdefs_h
|
|
|
|
#define _nsgfxdefs_h
|
|
|
|
|
|
|
|
// nsGfxDefs.h - common includes etc. for gfx library
|
|
|
|
|
|
|
|
#include "nscore.h"
|
|
|
|
|
|
|
|
#define INCL_PM
|
|
|
|
#define INCL_DOS
|
2007-09-06 11:40:51 -07:00
|
|
|
#define INCL_DOSERRORS
|
2007-09-06 11:40:55 -07:00
|
|
|
#define INCL_DEV
|
2007-09-06 11:40:48 -07:00
|
|
|
#include <os2.h>
|
2007-09-06 11:40:54 -07:00
|
|
|
#include "prlog.h"
|
2007-09-06 11:41:01 -07:00
|
|
|
#include "nsHashtable.h"
|
2007-09-06 11:40:48 -07:00
|
|
|
|
|
|
|
#include <uconv.h> // XXX hack XXX
|
|
|
|
|
|
|
|
class nsString;
|
2011-04-16 18:22:44 -07:00
|
|
|
class nsDeviceContext;
|
2007-09-06 11:40:48 -07:00
|
|
|
|
|
|
|
#ifndef min
|
|
|
|
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define MK_RGB(r,g,b) ((r) * 65536) + ((g) * 256) + (b)
|
|
|
|
|
|
|
|
#endif
|