Back to index

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

#include <nsStyleStruct.h>

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

List of all members.

Public Member Functions

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

Public Attributes

nscolor mColor

Detailed Description

Definition at line 129 of file nsStyleStruct.h.


Constructor & Destructor Documentation

Definition at line 1067 of file nsStyleStruct.cpp.

{
  mColor = aPresContext->DefaultColor();
}

Here is the call graph for this function:

Definition at line 1072 of file nsStyleStruct.cpp.

{
  mColor = aSource.mColor;
}

Definition at line 132 of file nsStyleStruct.h.

{};

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1077 of file nsStyleStruct.cpp.

{
  if (mColor == aOther.mColor)
    return NS_STYLE_HINT_NONE;
  return NS_STYLE_HINT_VISUAL;
}
void nsStyleColor::Destroy ( nsPresContext aContext) [inline]

Definition at line 144 of file nsStyleStruct.h.

                                        {
    this->~nsStyleColor();
    aContext->FreeToShell(sizeof(nsStyleColor), this);
  };

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 141 of file nsStyleStruct.h.

                                                                       {
    return aContext->AllocateFromShell(sz);
  }

Member Data Documentation

Definition at line 147 of file nsStyleStruct.h.


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