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

git-svn-id: svn://10.0.0.236/trunk@14498 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com
1998-11-12 05:59:31 +00:00
parent 718cf50bfc
commit f938f75ace
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;