Torque 3D - Script Manual: GuiBitmapButtonTextCtrl Class Reference

TorqueScript

Main   Class List   Namespace List   Online

GuiBitmapButtonTextCtrl Class Reference
[Button Controls]

An extension of GuiBitmapButtonCtrl that additionally renders a text label on the bitmapped button. More...

Inheritance diagram for GuiBitmapButtonTextCtrl:

List of all members.


Detailed Description

An extension of GuiBitmapButtonCtrl that additionally renders a text label on the bitmapped button.

The text for the label is taken from the GuiButtonBaseCtrl::text property.

For rendering, the label is placed, relative to the control's upper left corner, at the text offset specified in the control's profile (GuiControlProfile::textOffset) and justified according to the profile's setting (GuiControlProfile::justify).

See also:
GuiControlProfile::textOffset
GuiControlProfile::justify


Copyright © GarageGames, LLC. All Rights Reserved.