Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsNativeTheme.cpp File Reference
#include "nsNativeTheme.h"
#include "nsIDocument.h"
#include "nsIContent.h"
#include "nsIFrame.h"
#include "nsIPresShell.h"
#include "nsPresContext.h"
#include "nsIEventStateManager.h"
#include "nsString.h"
#include "nsINameSpaceManager.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsILookAndFeel.h"
#include "nsThemeConstants.h"
#include "nsIComponentManager.h"

Go to the source code of this file.

Functions

static void ConvertMarginToTwips (const nsMargin &aSource, nsMargin &aDest, float p2t)

Function Documentation

static void ConvertMarginToTwips ( const nsMargin aSource,
nsMargin aDest,
float  p2t 
) [static]

Definition at line 200 of file nsNativeTheme.cpp.

{
  aDest.top = NSIntPixelsToTwips(aSource.top, p2t);
  aDest.left = NSIntPixelsToTwips(aSource.left, p2t);
  aDest.bottom = NSIntPixelsToTwips(aSource.bottom, p2t);
  aDest.right = NSIntPixelsToTwips(aSource.right, p2t);
}

Here is the call graph for this function:

Here is the caller graph for this function: