Back to index

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

#include <nsStyleStruct.h>

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

List of all members.

Public Member Functions

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

Public Attributes

float mBoxFlex
PRUint32 mBoxOrdinal
PRUint8 mBoxAlign
PRUint8 mBoxDirection
PRUint8 mBoxOrient
PRUint8 mBoxPack

Detailed Description

Definition at line 1195 of file nsStyleStruct.h.


Constructor & Destructor Documentation

Definition at line 638 of file nsStyleStruct.cpp.

{
  memcpy((nsStyleXUL*)this, &aSource, sizeof(nsStyleXUL));
}

Here is the call graph for this function:

Definition at line 634 of file nsStyleStruct.cpp.

{
}

Here is the caller graph for this function:


Member Function Documentation

Definition at line 643 of file nsStyleStruct.cpp.

{
  if (mBoxAlign == aOther.mBoxAlign &&
      mBoxDirection == aOther.mBoxDirection &&
      mBoxFlex == aOther.mBoxFlex &&
      mBoxOrient == aOther.mBoxOrient &&
      mBoxPack == aOther.mBoxPack &&
      mBoxOrdinal == aOther.mBoxOrdinal)
    return NS_STYLE_HINT_NONE;
  if (mBoxOrdinal != aOther.mBoxOrdinal)
    return NS_STYLE_HINT_FRAMECHANGE;
  return NS_STYLE_HINT_REFLOW;
}
void nsStyleXUL::Destroy ( nsPresContext aContext) [inline]

Definition at line 1205 of file nsStyleStruct.h.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1202 of file nsStyleStruct.h.

                                                                       {
    return aContext->AllocateFromShell(sz);
  }

Member Data Documentation

Definition at line 1217 of file nsStyleStruct.h.

Definition at line 1218 of file nsStyleStruct.h.

Definition at line 1215 of file nsStyleStruct.h.

Definition at line 1216 of file nsStyleStruct.h.

Definition at line 1219 of file nsStyleStruct.h.

Definition at line 1220 of file nsStyleStruct.h.


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