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\Format
-
ManiaLib\Gui\Elements\Label
-
ManiaLib\Gui\Elements\Button
Methods summary
public
|
#
__construct( float $sizeX = 35, float $sizeY = 7 )
Manialink element default constructor. It's common to specify the size of the
element in the constructor.
Manialink element default constructor. It's common to specify the size of the
element in the constructor.
Parameters
- $sizeX
float Width of the element
- $sizeY
float Height of the element
Overrides
|
Methods inherited from ManiaLib\Gui\Elements\Label
enableAutonewline(),
getAutonewline(),
getFocusAreaColor1(),
getFocusAreaColor2(),
getMaxline(),
getText(),
getTextid(),
setFocusAreaColor1(),
setFocusAreaColor2(),
setMaxline(),
setText(),
setTextid()
|
Methods inherited from ManiaLib\Gui\Element
addLink(),
buildXML(),
getAction(),
getActionKey(),
getAddPlayerId(),
getBgcolor(),
getBgcolorFocus(),
getImage(),
getImageFocus(),
getImageFocusid(),
getImageid(),
getManialink(),
getManialinkId(),
getScriptEvents(),
getStyle(),
getSubStyle(),
getUrl(),
getUrlId(),
handleCardElements(),
hasLink(),
save(),
setAction(),
setActionKey(),
setBgcolor(),
setBgcolorFocus(),
setCardElementPosition(),
setImage(),
setImageFocus(),
setImageFocusid(),
setImageid(),
setManialink(),
setManialinkId(),
setScriptEvents(),
setStyle(),
setSubStyle(),
setUrl(),
setUrlId()
|
Methods inherited from ManiaLib\Gui\Component
getBorderBottom(),
getBorderLeft(),
getBorderRight(),
getBorderTop(),
getHalign(),
getId(),
getParentFrame(),
getParentLayout(),
getParentNode(),
getPosX(),
getPosY(),
getPosZ(),
getRealSizeX(),
getRealSizeY(),
getRelativeHalign(),
getRelativeValign(),
getScale(),
getSizeX(),
getSizeY(),
getValign(),
incPosX(),
incPosY(),
incPosZ(),
isVisible(),
onAlign(),
onMove(),
onResize(),
onScale(),
setAlign(),
setHalign(),
setId(),
setParentFrame(),
setParentLayout(),
setParentNode(),
setPosX(),
setPosY(),
setPosZ(),
setPosition(),
setPositionX(),
setPositionY(),
setPositionZ(),
setRelativeAlign(),
setRelativeHalign(),
setRelativeValign(),
setScale(),
setSize(),
setSizeX(),
setSizeY(),
setValign(),
setVisibility()
|
Constants inherited from ManiaLib\Gui\Elements\Format
AvatarButtonNormal,
StyleTextScriptEditor,
StyleValueYellowSmall,
TextButtonBig,
TextButtonMedium,
TextButtonNav,
TextButtonNavBack,
TextButtonSmall,
TextCardInfoSmall,
TextCardMedium,
TextCardRaceRank,
TextCardScores2,
TextCardSmallScores2,
TextCardSmallScores2Rank,
TextChallengeNameMedal,
TextChallengeNameMedalNone,
TextChallengeNameMedium,
TextChallengeNameSmall,
TextCongratsBig,
TextCredits,
TextCreditsTitle,
TextInfoMedium,
TextInfoSmall,
TextPlayerCardName,
TextPlayerCardScore,
TextRaceChat,
TextRaceChrono,
TextRaceChronoError,
TextRaceChronoOfficial,
TextRaceChronoWarning,
TextRaceMessage,
TextRaceMessageBig,
TextRaceStaticSmall,
TextRaceValueSmall,
TextRankingsBig,
TextSPScoreBig,
TextSPScoreMedium,
TextSPScoreSmall,
TextStaticMedium,
TextStaticSmall,
TextStaticVerySmall,
TextSubTitle1,
TextSubTitle2,
TextTips,
TextTitle1,
TextTitle2,
TextTitle2Blink,
TextTitle3,
TextTitle3Header,
TextTitleError,
TextValueBig,
TextValueMedium,
TextValueSmall,
TrackListItem,
TrackListLine,
TrackerText,
TrackerTextBig
|
Properties inherited from ManiaLib\Gui\Element
$action,
$actionKey,
$bgcolor,
$bgcolorfocus,
$cardElements,
$cardElementsHalign,
$cardElementsLayout,
$cardElementsPosX,
$cardElementsPosY,
$cardElementsPosZ,
$cardElementsValign,
$goto,
$image,
$imageFocus,
$imageFocusid,
$imageid,
$manialink,
$manialinkId,
$scriptevents,
$url,
$urlId,
$xml
|
Properties inherited from ManiaLib\Gui\Component
$id,
$parentFrame,
$parentLayout,
$parentNode,
$relativeHalign,
$relativeValign,
$scale,
$scriptEvents,
$sizeX,
$sizeY,
$visible
|