Class Button
Can be drawn onto the Screen. This is mainly used by ManiaLive.
- ManiaLib\Gui\Component
- ManiaLib\Gui\Element implements ManiaLib\Gui\Drawable
- ManiaLib\Gui\Elements\Quad
- ManiaLib\Gui\Elements\Bgs1
- ManiaLib\Gui\Cards\Navigation\Button
Namespace: ManiaLib\Gui\Cards\Navigation
Located at libraries/ManiaLib/Gui/Cards/Navigation/Button.php
Located at libraries/ManiaLib/Gui/Cards/Navigation/Button.php
public
|
#
__construct( float $sizeX = 69, float $sizeY = 8.5 )
Manialink element default constructor. It's common to specify the size of the element in the constructor. |
public
|
USE_ABSOLUTE_URL
|
public static
string
|
$unselectedTextStyle | '$fff' |
#
TrackMania formatting string appended to the text when a button is selected (default is just a light blue color) |
public
|
$text |
|
|
public
|
$icon |
|
|
public
float
|
$iconSizeMinimizer | 1.5 |
|
public
integer
|
$textSizeMinimizer | 10 |
|
protected
|
$selectedIcon |
|
|
protected
boolean
|
$isSelected | false |
|
protected
boolean
|
$forceLinks | true |
$style,
$subStyle
|
$xmlTagName
|
$action,
$actionKey,
$bgcolor,
$bgcolorfocus,
$cardElements,
$cardElementsHalign,
$cardElementsLayout,
$cardElementsPosX,
$cardElementsPosY,
$cardElementsPosZ,
$cardElementsValign,
$goto,
$image,
$imageFocus,
$imageFocusid,
$imageid,
$manialink,
$manialinkId,
$scriptevents,
$url,
$urlId,
$xml
|
$halign,
$id,
$parentFrame,
$parentLayout,
$parentNode,
$posX,
$posY,
$posZ,
$relativeHalign,
$relativeValign,
$scale,
$scriptEvents,
$sizeX,
$sizeY,
$valign,
$visible
|