Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsStyleList Struct Reference

#include <nsStyleStruct.h>

Inheritance diagram for nsStyleList:
Inheritance graph
Collaboration diagram for nsStyleList:
Collaboration graph

List of all members.

Public Member Functions

 nsStyleList (void)
 nsStyleList (const nsStyleList &aStyleList)
 ~nsStyleList (void)
voidoperator new (size_t sz, nsPresContext *aContext) CPP_THROW_NEW
void Destroy (nsPresContext *aContext)
nsChangeHint CalcDifference (const nsStyleList &aOther) const

Public Attributes

PRUint8 mListStyleType
PRUint8 mListStylePosition
nsCOMPtr< imgIRequestmListStyleImage
nsRect mImageRegion

Detailed Description

Definition at line 629 of file nsStyleStruct.h.

Constructor & Destructor Documentation

Definition at line 591 of file nsStyleStruct.cpp.

  : mListStyleType(aSource.mListStyleType),

Definition at line 587 of file nsStyleStruct.cpp.


Here is the caller graph for this function:

Member Function Documentation

Definition at line 599 of file nsStyleStruct.cpp.

  if (mListStylePosition == aOther.mListStylePosition &&
      EqualImages(mListStyleImage, aOther.mListStyleImage) &&
      mListStyleType == aOther.mListStyleType) {
    if (mImageRegion == aOther.mImageRegion)
      return NS_STYLE_HINT_NONE;
    if (mImageRegion.width == aOther.mImageRegion.width &&
        mImageRegion.height == aOther.mImageRegion.height)
      return NS_STYLE_HINT_VISUAL;

Here is the call graph for this function:

void nsStyleList::Destroy ( nsPresContext aContext) [inline]

Definition at line 639 of file nsStyleStruct.h.

    aContext->FreeToShell(sizeof(nsStyleList), this);

Here is the call graph for this function:

Here is the caller graph for this function:

void* nsStyleList::operator new ( size_t  sz,
nsPresContext aContext 
) [inline]

Definition at line 636 of file nsStyleStruct.h.

    return aContext->AllocateFromShell(sz);

Member Data Documentation

Definition at line 652 of file nsStyleStruct.h.

Definition at line 651 of file nsStyleStruct.h.

Definition at line 650 of file nsStyleStruct.h.

Definition at line 649 of file nsStyleStruct.h.

The documentation for this struct was generated from the following files: