Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
BCData Class Reference

#include <celldata.h>

List of all members.

Public Member Functions

 BCData ()
 ~BCData ()
nscoord GetLeftEdge (BCBorderOwner &aOwner, PRBool &aStart) const
void SetLeftEdge (BCBorderOwner aOwner, nscoord aSize, PRBool aStart)
nscoord GetTopEdge (BCBorderOwner &aOwner, PRBool &aStart) const
void SetTopEdge (BCBorderOwner aOwner, nscoord aSize, PRBool aStart)
BCPixelSize GetCorner (PRUint8 &aCornerOwner, PRPackedBool &aBevel) const
void SetCorner (BCPixelSize aSubSize, PRUint8 aOwner, PRBool aBevel)
PRBool IsLeftStart () const
void SetLeftStart (PRBool aValue)
PRBool IsTopStart () const
void SetTopStart (PRBool aValue)

Protected Attributes

BCPixelSize mLeftSize
BCPixelSize mTopSize
BCPixelSize mCornerSubSize
unsigned mLeftOwner: 4
unsigned mTopOwner: 4
unsigned mLeftStart: 1
unsigned mTopStart: 1
unsigned mCornerSide: 2
unsigned mCornerBevel: 1

Detailed Description

Definition at line 202 of file celldata.h.


Constructor & Destructor Documentation

BCData::BCData ( ) [inline]
BCData::~BCData ( ) [inline]

Definition at line 416 of file celldata.h.

{
}

Member Function Documentation

BCPixelSize BCData::GetCorner ( PRUint8 aCornerOwner,
PRPackedBool aBevel 
) const [inline]

Definition at line 456 of file celldata.h.

{
  aOwnerSide = mCornerSide;
  aBevel     = (PRBool)mCornerBevel;
  return mCornerSubSize;
}

Here is the caller graph for this function:

nscoord BCData::GetLeftEdge ( BCBorderOwner aOwner,
PRBool aStart 
) const [inline]

Definition at line 420 of file celldata.h.

{
  aOwner = (BCBorderOwner)mLeftOwner;
  aStart = (PRBool)mLeftStart;

  return (nscoord)mLeftSize;
}

Here is the caller graph for this function:

nscoord BCData::GetTopEdge ( BCBorderOwner aOwner,
PRBool aStart 
) const [inline]

Definition at line 438 of file celldata.h.

{
  aOwner = (BCBorderOwner)mTopOwner;
  aStart = (PRBool)mTopStart;

  return (nscoord)mTopSize;
}

Here is the caller graph for this function:

PRBool BCData::IsLeftStart ( ) const [inline]

Definition at line 473 of file celldata.h.

{
  return (PRBool)mLeftStart;
}
PRBool BCData::IsTopStart ( ) const [inline]

Definition at line 483 of file celldata.h.

{
  return (PRBool)mTopStart;
}

Here is the caller graph for this function:

void BCData::SetCorner ( BCPixelSize  aSubSize,
PRUint8  aOwner,
PRBool  aBevel 
) [inline]

Definition at line 464 of file celldata.h.

{
  mCornerSubSize = aSubSize;
  mCornerSide    = aOwnerSide;
  mCornerBevel   = aBevel;
}

Here is the caller graph for this function:

void BCData::SetLeftEdge ( BCBorderOwner  aOwner,
nscoord  aSize,
PRBool  aStart 
) [inline]

Definition at line 429 of file celldata.h.

Here is the caller graph for this function:

void BCData::SetLeftStart ( PRBool  aValue) [inline]

Definition at line 478 of file celldata.h.

void BCData::SetTopEdge ( BCBorderOwner  aOwner,
nscoord  aSize,
PRBool  aStart 
) [inline]

Definition at line 447 of file celldata.h.

Here is the caller graph for this function:

void BCData::SetTopStart ( PRBool  aValue) [inline]

Definition at line 488 of file celldata.h.

Here is the caller graph for this function:


Member Data Documentation

unsigned BCData::mCornerBevel [protected]

Definition at line 252 of file celldata.h.

unsigned BCData::mCornerSide [protected]

Definition at line 251 of file celldata.h.

Definition at line 242 of file celldata.h.

unsigned BCData::mLeftOwner [protected]

Definition at line 247 of file celldata.h.

Definition at line 240 of file celldata.h.

unsigned BCData::mLeftStart [protected]

Definition at line 249 of file celldata.h.

unsigned BCData::mTopOwner [protected]

Definition at line 248 of file celldata.h.

Definition at line 241 of file celldata.h.

unsigned BCData::mTopStart [protected]

Definition at line 250 of file celldata.h.


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