Taxonomy Categories:
Member Functions:
Interface Category:
API.
Inherits From:
TRecessedBorder
Inherited By:
None.
Purpose:
TRecessedBackground derives from TRecessedBorder. It adds nothing to what TRecessedBorder 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 sunken platform appearance.
Instantiation:
Allocate on the heap or the stack.
Deriving Classes:
Deriving from TRecessedBackground is not intended; derive directly from TBorder instead.
Concurrency:
Not multithread safe.
Resource Use:
No special requirements.
TRecessedBackground & operator =(const TRecessedBackground & 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.
virtual TStream & operator >>=(TStream &) const
Interface Category:
API.
Purpose:
Stream-out operator.
Calling Context:
Called to stream out data.
Parameters:
- TStream & -The stream the object streams itself out to.
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.
virtual TStream & operator <<= (TStream &)
Interface Category:
API.
Purpose:
Stream-in operator.
Calling Context:
Called to stream in data.
Parameters:
- TStream & -The stream the object streams itself in from.
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.
- TRecessedBackground ()
- TRecessedBackground (const TGRect & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const TGRect & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const MGraphic & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const MGraphic & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const TView & bounds, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const TView & bounds, const TPaint & fill, GCoordinate thickness =kDefaultThickness, bool interior =TBackground :: kDefaultInteriorState)
- TRecessedBackground (const TRecessedBackground & copy)
Interface Category:
API.
Purpose:
- Default constructor.
2-7. Creates a new border using the specified bounds, paint, and border thickness.
- Copy constructor.
Calling Context:
- Called by the stream-in operators.
2-7. Call these functions directly.
- Called to copy an object.
Parameters:
- Takes no parameters.
- const TGRect & bounds -The outer bounds of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const TGRect & bounds -The outer bounds of the new border.
- const TPaint & fill -The fill paint of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const MGraphic & bounds -The MGraphic object from which to derive the bounds of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const MGraphic & bounds -The MGraphic object from which to derive the bounds of the new border.
- const TPaint & fill -The fill paint of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const TView & bounds -The TView object from which to derive the bounds of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const TView & bounds -The TView object from which to derive the bounds of the new border.
- const TPaint & fill -The fill paint of the new border.
- GCoordinate thickness =kDefaultThickness -The thickness of the new border.
- bool interior =kDefaultInteriorState -Specifies whether the border has an interior.
- const TRecessedBackground & copy -The object to copy.
Return Value:
None.
Exceptions:
Throws no exceptions, passes all exceptions through.
Concurrency:
Not multithread safe.
Other Considerations:
None.
virtual ~ TRecessedBackground ()
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.