зеркало из https://github.com/mozilla/gecko-dev.git
Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file.
This commit is contained in:
Родитель
4de682c0ce
Коммит
1c038ee24d
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче