gecko/widget/os2/nsGfxDefs.h

32 lines
663 B
C
Raw Normal View History

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/. */
#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
#define INCL_DEV
#include <os2.h>
#include "prlog.h"
#include "nsHashtable.h"
#include <uconv.h> // XXX hack XXX
class nsString;
class nsDeviceContext;
#ifndef min
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif
#define MK_RGB(r,g,b) ((r) * 65536) + ((g) * 256) + (b)
#endif