Back to index

lightning-sunbird  0.9+nobinonly
Functions | Variables
nsNativeThemeMac.cpp File Reference
#include <Gestalt.h>
#include "nsNativeThemeMac.h"
#include "nsRenderingContextMac.h"
#include "nsDeviceContextMac.h"
#include "nsRect.h"
#include "nsSize.h"
#include "nsTransform2D.h"
#include "nsThemeConstants.h"
#include "nsIPresShell.h"
#include "nsPresContext.h"
#include "nsIContent.h"
#include "nsIDocument.h"
#include "nsIFrame.h"
#include "nsIAtom.h"
#include "nsIEventStateManager.h"
#include "nsINameSpaceManager.h"
#include "nsILookAndFeel.h"
#include "nsRegionPool.h"
#include "nsGfxUtils.h"
#include "nsUnicharUtils.h"

Go to the source code of this file.

Functions

static void ConvertGeckoToNativeRect (const nsRect &aSrc, Rect &aDst)
static pascal void DoNothing (const Rect *bounds, UInt32 eraseData, SInt16 depth, Boolean isColorDev)

Variables

static PRBool sInitializedBorders = PR_FALSE

Function Documentation

static void ConvertGeckoToNativeRect ( const nsRect aSrc,
Rect &  aDst 
) [static]

Definition at line 63 of file nsNativeThemeMac.cpp.

{
  aDst.top = aSrc.y;
  aDst.bottom = aSrc.y + aSrc.height;
  aDst.left = aSrc.x;
  aDst.right = aSrc.x + aSrc.width;
}

Here is the caller graph for this function:

static pascal void DoNothing ( const Rect *  bounds,
UInt32  eraseData,
SInt16  depth,
Boolean  isColorDev 
) [static]

Definition at line 79 of file nsNativeThemeMac.cpp.

{
  // be gentle, erase nothing.
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 60 of file nsNativeThemeMac.cpp.