Back to index

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

#include <nsStyleStruct.h>

Inheritance diagram for nsStyleBorderPadding:
Inheritance graph
Collaboration diagram for nsStyleBorderPadding:
Collaboration graph

List of all members.

Public Member Functions

 nsStyleBorderPadding (void)
 ~nsStyleBorderPadding (void)
PRBool GetBorderPadding (nsMargin &aBorderPadding) const
void SetBorderPadding (nsMargin aBorderPadding)

Protected Attributes

nsMargin mCachedBorderPadding
PRPackedBool mHasCachedBorderPadding

Detailed Description

Definition at line 508 of file nsStyleStruct.h.

Constructor & Destructor Documentation

Definition at line 509 of file nsStyleStruct.h.

Definition at line 510 of file nsStyleStruct.h.


Member Function Documentation

PRBool nsStyleBorderPadding::GetBorderPadding ( nsMargin aBorderPadding) const [inline]

Definition at line 515 of file nsStyleStruct.h.

    if (mHasCachedBorderPadding) {
      aBorderPadding = mCachedBorderPadding;
      return PR_TRUE;
    return PR_FALSE;

Here is the caller graph for this function:

Definition at line 523 of file nsStyleStruct.h.

Member Data Documentation

Definition at line 529 of file nsStyleStruct.h.

Definition at line 530 of file nsStyleStruct.h.

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