Skip to content

XWark/dxLibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

dxLibrary

Descripción

Librería dx para Multi Thef Auto - San Andreas:

Funcion

object dxDrawButton(string text = “”, float posX = 0, float posY = 0, float sizeX = 100, float sizeY = 50, color color = tocolor(255,255,255,255), font = "default", float textScale = 1, image image = false)

Argumentos

  • text: Crea el texto inserto en el boton
  • posX: Posición absoluta en el eje x
  • posY: Pocision absoluta en el eje y
  • sizeX: Tamaño del boton en el eje x
  • sizeY: Tamaño del boton en el eje y *color: Color del boton, del tipo tocolor(red,blue,green,alpha)
  • Font: Fuente del texto tipo dx.
  "default": Tahoma
  "default -bold": Tahoma 
  Bold"clear": Verdana
  "arial": Anal
  "sans": Microsoft Sans Serif
  "pricedown": Pricedown (GTA's theme text)
  "bankgothic": Bank Gothic Medium
  "diploma": Diploma Regular
  "beckett": Beckett Regular
  • textScale: Tamaño del texto.
  • image: Elemento tipo imagen, el cual debe ser declarado en el meta.xml

OPP

bool object.isCursorInside()

  • Retorna true si el cursor esta sobre el botón

bool object.isClicked()

  • Retorna true si el botón es clickeado

bool object.isVisible()

  • Retorna true si el botón está activo y visible.

void object.setVisible(bool value)

  • Asigna un valor para hacer el botón activo y visible.(por defecto se crea visible)

About

Libreria dx para Multi Thef Auto - San Andreas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages