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:
@@ -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
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "nsWidgetsCID.h"
|
||||
#include <MacWindows.h>
|
||||
#include <LPeriodical.h>
|
||||
#include <ToolUtils.h>
|
||||
|
||||
#define DRAW_ON_RESIZE
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
#ifndef nsMacMessagePump_h__
|
||||
#define nsMacMessagePump_h__
|
||||
|
||||
#include <LowMem.h>
|
||||
|
||||
#include "prtypes.h"
|
||||
class nsToolkit;
|
||||
class nsWindow;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user