Class: TRaisedBackground

Declaration: Decoration.h

Taxonomy Categories:

Member Functions:


Interface Category:

API.

Inherits From:

TRaisedBorder

Inherited By:

None.

Purpose:

TRaisedBackground derives from TRaisedBorder. It adds nothing to what TRaisedBorder already provides. All it does is change the defaults so that the border has no interior edge, and so that the interior is filled. This results in a raised platform appearance.

Instantiation:

Allocate on the heap or the stack.

Deriving Classes:

Deriving from TRaisedBackground is not intended; derive directly from TBorder instead.

Concurrency:

Not multithread safe.

Resource Use:

No special requirements.

Member Function: TRaisedBackground::operator=

TRaisedBackground & operator =(const TRaisedBackground & source)

Interface Category:

API.

Purpose:

Assignment operator.

Calling Context:

Call this function by using the operator in an assignment statement.

Parameters:

Return Value:

Returns a const reference to the left-hand side object.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRaisedBackground::operator>>=

virtual TStream & operator >>=(TStream &) const

Interface Category:

API.

Purpose:

Stream-out operator.

Calling Context:

Called to stream out data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself out to.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRaisedBackground::operator<<=

virtual TStream & operator <<= (TStream &)

Interface Category:

API.

Purpose:

Stream-in operator.

Calling Context:

Called to stream in data.

Parameters:

Return Value:

Returns a reference to the stream the object streams itself in from.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRaisedBackground::TRaisedBackground

  1. TRaisedBackground ()
  2. TRaisedBackground (const TGRect & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  3. TRaisedBackground (const TGRect & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  4. TRaisedBackground (const MGraphic & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  5. TRaisedBackground (const MGraphic & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  6. TRaisedBackground (const TView & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  7. TRaisedBackground (const TView & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
  8. TRaisedBackground (const TRaisedBackground & copy)

Interface Category:

API.

Purpose:

  1. Default constructor.
  2. 2-7. Creates a new border using the specified bounds, paint, and border thickness.
  3. Copy constructor.

Calling Context:

  1. Called by the stream-in operators.
  2. 2-7. Call these functions directly.
  3. Called to copy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.

Member Function: TRaisedBackground::~TRaisedBackground

virtual ~ TRaisedBackground ()

Interface Category:

API.

Purpose:

Destructor.

Calling Context:

Called to destroy an object.

Parameters:

Return Value:

None.

Exceptions:

Throws no exceptions, passes all exceptions through.

Concurrency:

Not multithread safe.

Other Considerations:

None.
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.