Back to index

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

#include <nsCSSStruct.h>

Collaboration diagram for nsCSSShadow:
Collaboration graph

List of all members.

Public Member Functions

 nsCSSShadow (void)
 nsCSSShadow (const nsCSSShadow &aCopy)
 ~nsCSSShadow (void)

Static Public Member Functions

static PRBool Equal (nsCSSShadow *aList1, nsCSSShadow *aList2)

Public Attributes

nsCSSValue mColor
nsCSSValue mXOffset
nsCSSValue mYOffset
nsCSSValue mRadius

Detailed Description

Definition at line 116 of file nsCSSStruct.h.

Constructor & Destructor Documentation

Definition at line 191 of file nsCSSStruct.cpp.

Definition at line 208 of file nsCSSStruct.cpp.

Member Function Documentation

PRBool nsCSSShadow::Equal ( nsCSSShadow aList1,
nsCSSShadow aList2 
) [static]

Definition at line 215 of file nsCSSStruct.cpp.

  if (aList1 == aList2)
    return PR_TRUE;

  nsCSSShadow *p1 = aList1, *p2 = aList2;
  for ( ; p1 && p2; p1 = p1->mNext, p2 = p2->mNext) {
    if (p1->mColor != p2->mColor ||
        p1->mXOffset != p2->mXOffset ||
        p1->mYOffset != p2->mYOffset ||
        p1->mRadius != p2->mRadius)
      return PR_FALSE;
  return !p1 && !p2; // true if same length, false otherwise

Here is the caller graph for this function:

Member Data Documentation

Definition at line 123 of file nsCSSStruct.h.

Definition at line 127 of file nsCSSStruct.h.

Definition at line 126 of file nsCSSStruct.h.

Definition at line 124 of file nsCSSStruct.h.

Definition at line 125 of file nsCSSStruct.h.

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