Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsITheme Class Reference

#include <nsITheme.h>

Inheritance diagram for nsITheme:
Inheritance graph
[legend]
Collaboration diagram for nsITheme:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD DrawWidgetBackground (nsIRenderingContext *aContext, nsIFrame *aFrame, PRUint8 aWidgetType, const nsRect &aRect, const nsRect &aClipRect)=0
NS_IMETHOD GetWidgetBorder (nsIDeviceContext *aContext, nsIFrame *aFrame, PRUint8 aWidgetType, nsMargin *aResult)=0
virtual PRBool GetWidgetPadding (nsIDeviceContext *aContext, nsIFrame *aFrame, PRUint8 aWidgetType, nsMargin *aResult)=0
virtual PRBool GetWidgetOverflow (nsIDeviceContext *aContext, nsIFrame *aFrame, PRUint8 aWidgetType, nsRect *aResult)
NS_IMETHOD GetMinimumWidgetSize (nsIRenderingContext *aContext, nsIFrame *aFrame, PRUint8 aWidgetType, nsSize *aResult, PRBool *aIsOverridable)=0
NS_IMETHOD WidgetStateChanged (nsIFrame *aFrame, PRUint8 aWidgetType, nsIAtom *aAttribute, PRBool *aShouldRepaint)=0
NS_IMETHOD ThemeChanged ()=0
virtual PRBool ThemeSupportsWidget (nsPresContext *aPresContext, nsIFrame *aFrame, PRUint8 aWidgetType)=0
virtual PRBool WidgetIsContainer (PRUint8 aWidgetType)=0

Detailed Description

Definition at line 66 of file nsITheme.h.


Member Function Documentation

NS_IMETHOD nsITheme::DrawWidgetBackground ( nsIRenderingContext aContext,
nsIFrame aFrame,
PRUint8  aWidgetType,
const nsRect aRect,
const nsRect aClipRect 
) [pure virtual]

Implemented in nsNativeThemeMac, nsNativeThemeGTK, nsNativeThemeQt, and nsNativeThemeWin.

Here is the caller graph for this function:

NS_IMETHOD nsITheme::GetMinimumWidgetSize ( nsIRenderingContext aContext,
nsIFrame aFrame,
PRUint8  aWidgetType,
nsSize aResult,
PRBool aIsOverridable 
) [pure virtual]

Implemented in nsNativeThemeGTK, nsNativeThemeMac, nsNativeThemeWin, and nsNativeThemeQt.

Here is the caller graph for this function:

NS_IMETHOD nsITheme::GetWidgetBorder ( nsIDeviceContext aContext,
nsIFrame aFrame,
PRUint8  aWidgetType,
nsMargin aResult 
) [pure virtual]

Implemented in nsNativeThemeMac, nsNativeThemeQt, nsNativeThemeGTK, and nsNativeThemeWin.

Here is the caller graph for this function:

virtual PRBool nsITheme::GetWidgetOverflow ( nsIDeviceContext aContext,
nsIFrame aFrame,
PRUint8  aWidgetType,
nsRect aResult 
) [inline, virtual]

Definition at line 92 of file nsITheme.h.

  { return PR_FALSE; }
virtual PRBool nsITheme::GetWidgetPadding ( nsIDeviceContext aContext,
nsIFrame aFrame,
PRUint8  aWidgetType,
nsMargin aResult 
) [pure virtual]

Implemented in nsNativeThemeMac, and nsNativeThemeWin.

Here is the caller graph for this function:

NS_IMETHOD nsITheme::ThemeChanged ( ) [pure virtual]
virtual PRBool nsITheme::ThemeSupportsWidget ( nsPresContext aPresContext,
nsIFrame aFrame,
PRUint8  aWidgetType 
) [pure virtual]

Implemented in nsNativeThemeWin, nsNativeThemeQt, and nsNativeThemeMac.

Here is the caller graph for this function:

virtual PRBool nsITheme::WidgetIsContainer ( PRUint8  aWidgetType) [pure virtual]

Implemented in nsNativeThemeWin, nsNativeThemeQt, and nsNativeThemeMac.

Here is the caller graph for this function:

NS_IMETHOD nsITheme::WidgetStateChanged ( nsIFrame aFrame,
PRUint8  aWidgetType,
nsIAtom aAttribute,
PRBool aShouldRepaint 
) [pure virtual]

Implemented in nsNativeThemeGTK, nsNativeThemeMac, nsNativeThemeWin, and nsNativeThemeQt.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: