Iniciar sesión
Registrarse
Wowpedia
Explora
Portada
Todas las páginas
Mapas Interactivos
Contenido del wiki
Páginas cambiadas recientemente
Ner'zhul
Guía de Cocina
Anub'esset
Cronología de Warcraft
Cronología de Warcraft (versión corta)
Historia de la Magia
Kalimdor
Humanos
Humano
Bernice Pedregosa
Aaron
Abuela Pedregosa
Adele Fielder
Alba Estrellaclara
Ashley Bridenbecker
Eliminado de World of Warcraft
Misiones eliminadas del juego
Items eliminados del juego
Elfo de la noche mohicano
Thamarian
Sorn Crin Digna
Fiora Orejona
Nubos MacKreel
Comunidad
Sobre Wowpedia
Políticas
Cambios recientes
Lo que enlaza aquí
Twitter WowpediaES
Discord
Iniciar sesión
¿No tienes una cuenta?
Registrarse
Iniciar sesión
Menú
Explora
Más
Historial
Anuncio
Wowpedia
14 259
páginas
Explora
Portada
Todas las páginas
Mapas Interactivos
Contenido del wiki
Páginas cambiadas recientemente
Ner'zhul
Guía de Cocina
Anub'esset
Cronología de Warcraft
Cronología de Warcraft (versión corta)
Historia de la Magia
Kalimdor
Humanos
Humano
Bernice Pedregosa
Aaron
Abuela Pedregosa
Adele Fielder
Alba Estrellaclara
Ashley Bridenbecker
Eliminado de World of Warcraft
Misiones eliminadas del juego
Items eliminados del juego
Elfo de la noche mohicano
Thamarian
Sorn Crin Digna
Fiora Orejona
Nubos MacKreel
Comunidad
Sobre Wowpedia
Políticas
Cambios recientes
Lo que enlaza aquí
Twitter WowpediaES
Discord
Editando
Parche 1.11.0
(sección)
Volver a la página
Editar
Editor visual
Historial
Purgar página
Comentarios (0)
Editar página
Parche 1.11.0
Aviso:
No has iniciado sesión con una cuenta de usuario. Tu dirección IP se almacenará en el historial de ediciones de la página.
Comprobación antispam. ¡
No
rellenes esto!
== UI Scripting == * Cambios marcos XML - Ahora hay un nuevo atributo "clampToScreen", que no permitirá a los marcos ser arrastrados fuera de la pantalla. * Cambios botones XML ** La implementación de los botones se ha cambiado de tres fuentes de cadena, a una fuente de cadena con tres tipos de fuentes. Esto es mas eficiente, utiliza menos memoria y reduce la complejidad a la hora de definir un botón. Para dar soporte a esto, los actuales elementos NormalText, HighlightText, y DisabledText se han despreciado (aunque todavía funcionen en [[parche 1.11.0|1.11]] para compativilidades de vuelta atrás), y se han definido nuevos elementos ButtonText, NormalFont, HighlightFont, y DisabledFont para reemplazar a los anteriores. * Nuevas funciones del API ** SetCursor() ahora se le puede pasar el nombre de un fichero de una textura de 32x32, asi como un modo de cursor, o nulo para reiniciar el cursor. ** GetAddOnMetadata("addon", "campo") - devuelve el valor de los siguientes campos en el fichero [[TOC]] del addon: Titulo, Notas, Autor, Versión, y cualquier campo empezando con X- * Region Script Objecto - La region es el objeto base para todos los marcos, texturas y fuentes de cadena. Region también es el tipo de objeto devuelto por el nuevo metodo Frame:GetTitleRegion(). Region:GetObjectType() devuelve "Region", y Region:IsObjectType("type") devuelve verdadero si "type" es una "Region". ** Todas las regiones tienen las siguiente funciones miembro: ** type = Region:GetObjectType() ** isType = Region:IsObjectType("type") ** name = Region:GetName() ** frame = Region:GetParent() ** Region:SetParent(frame) ** x,y = Region:GetCenter() ** x = Region:GetLeft() ** x = Region:GetRight() ** y = Region:GetTop() ** y = Region:GetBottom() ** width = Region:GetWidth() ** Region:SetWidth(width) ** height = Region:GetHeight() ** Region:SetHeight(height) ** numPoints = Region:GetNumPoints() ** "point",relativeObject,"relativePoint",xOfs,yOfs = Region:GetPoint(index) ** Region:SetPoint("point" [, LayoutFrame] [, "relativePoint"] [, offsetX, offsetY]) ** Region:SetAllPoints(LayoutFrame) ** Region:ClearAllPoints() * Nuevos métodos de textura ** ULx,ULy,LLx,LLy,URx,URy,LRx,LRy = Texture:GetTexCoord() ** isDesaturated = Texture:IsDesaturated() * Nuevos métodos FontString - nonSpaceWrap = FontString:CanNonSpaceWrap() * Nuevos métodos de Frame ** Frame:RegisterAllEvents() - For debugging purposes only! ** enabled = Frame:IsKeyboardEnabled() ** enabled = Frame:IsMouseEnabled() ** enabled = Frame:IsMouseWheelEnabled() ** region = Frame:CreateTitleRegion() ** region = Frame:GetTitleRegion() ** Frame:SetHitRectInsets(left, right, top, bottom) ** left, right, top, bottom = Frame:GetHitRectInsets() ** minWidth, minHeight = Frame:GetMinResize() ** maxWidth, maxHeight = Frame:GetMaxResize() ** backdropTable = Frame:GetBackdrop(backdropTable) - backdropTable will be filled in and returned. ** r, g, b, a = Frame:GetBackdropColor() ** r, g, b, a = Frame:GetBackdropBorderColor() ** Frame:SetClampedToScreen(clamped) ** clamped = Frame:IsClampedToScreen() * Nuevos métodos Button ** Button:SetFontString(fontstring) ** texture = Button:GetNormalTexture() ** texture = Button:GetPushedTexture() ** texture = Button:GetDisabledTexture() ** texture = Button:GetHighlightTexture() ** r, g, b, a = Button:GetTextColor() ** r, g, b, a = Button:GetDisabledTextColor() ** r, g, b, a = Button:GetHighlightTextColor() ** Button:SetPushedTextOffset(x, y) ** x, y = Button:GetPushedTextOffset() * Nuevos métodos CheckButton ** texture = CheckButton:GetCheckedTexture() ** texture = CheckButton:GetDisabledCheckedTexture() * Nuevos métodos EditBox ** EditBox:SetAutoFocus(isAutofocus) ** isAutofocus = EditBox:IsAutoFocus() ** EditBox:SetMultiLine(isMultiline) ** isMultiline = EditBox:IsMultiLine() ** EditBox:SetNumeric(isNumeric) ** isNumeric = EditBox:IsNumeric() ** EditBox:SetPassword(isPassword) ** isPassword = EditBox:IsPassword() ** EditBox:SetBlinkSpeed(speed) ** speed = EditBox:GetBlinkSpeed() ** bytes = EditBox:GetMaxBytes() ** letters = EditBox:GetMaxLetters() ** l, r, t, b = EditBox:GetTextInsets() * Nuevos métodos MessageFrame ** MessageFrame:SetInsertMode("TOP" or "BOTTOM") ** mode = MessageFrame:GetInsertMode() ** MessageFrame:SetFading(fading) ** fading = MessageFrame:GetFading() ** MessageFrame:SetTimeVisible(seconds) ** seconds = MessageFrame:GetTimeVisible() ** MessageFrame:SetFadeDuration(seconds) ** seconds = MessageFrame:GetFadeDuration() ** MessageFrame:Clear() * Nuevos métodos ScrollingMessageFrame - isAtTop = ScrollingMessageFrame:AtTop() * Nuevos métodos SimpleHTML - format = SimpleHTML:GetHyperlinkFormat() * Nuevos métodos Model ** filename = Model:GetModel() ** r, g, b, a = Model:GetFogColor() ** value = Model:GetFogNear() ** value = Model:GetFogFar() ** enabled, omni, dirX,dirY,dirZ, ambIntensity[,ambR,ambG,ambB], dirIntensity[,dirR,dirG,dirB] = Model:GetLight() * Nuevos métodos Slider - texture = Slider:GetThumbTexture() * Nuevos métodos ColorSelect ** ColorSelect:SetColorWheelTexture(texture or nil) ** ColorSelect:SetColorValueTexture(texture or nil) ** ColorSelect:SetColorValueThumbTexture(texture or "texture" or nil) ** texture = ColorSelect:GetColorWheelTexture() ** texture = ColorSelect:GetColorWheelThumbTexture() ** texture = ColorSelect:GetColorValueTexture() ** texture = ColorSelect:GetColorValueThumbTexture() * Nuevos métodos Minimap ** MiniMap:SetArrowModel("file") ** MiniMap:SetPlayerModel("file") {{patches}} [[en:Patch 1.11.0]] [[Category:Parches|1]]
Resumen:
Por favor ten en cuenta que todas las contribuciones en Wowpedia se consideran publicadas con la licencia CC BY-SA 3.0
Cancelar
Ayuda de edición
(se abre en una ventana nueva)
Anuncio