Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.

This commit is contained in:
pinkerton%netscape.com 1998-11-12 05:59:31 +00:00
parent 4de682c0ce
commit 1c038ee24d
4 changed files with 23 additions and 0 deletions

View File

@ -16,9 +16,19 @@
* Reserved.
*/
#include <LowMem.h>
#include "nsMacEventHandler.h"
#include "prinrval.h"
// from MacHeaders.c
#ifndef topLeft
#define topLeft(r) (((Point *) &(r))[0])
#endif
#ifndef botRight
#define botRight(r) (((Point *) &(r))[1])
#endif
//-------------------------------------------------------------------------
//

View File

@ -23,6 +23,7 @@
#include "nsWidgetsCID.h"
#include <MacWindows.h>
#include <LPeriodical.h>
#include <ToolUtils.h>
#define DRAW_ON_RESIZE

View File

@ -19,6 +19,8 @@
#ifndef nsMacMessagePump_h__
#define nsMacMessagePump_h__
#include <LowMem.h>
#include "prtypes.h"
class nsToolkit;
class nsWindow;

View File

@ -16,10 +16,20 @@
* Reserved.
*/
#include <LowMem.h>
#include "nsWindow.h"
#include "nsMacWindow.h"
#include "nsMacEventHandler.h"
// from MacHeaders.c
#ifndef topLeft
#define topLeft(r) (((Point *) &(r))[0])
#endif
#ifndef botRight
#define botRight(r) (((Point *) &(r))[1])
#endif
const short kWindowTitleBarHeight = 20;