Showing results 1 to 25 of 40
Search took 0.01 seconds.
Search: Posts Made By: Benalish
Forum: Lua/XML Help Yesterday, 04:54 AM
Replies: 0
Views: 119
Posted By Benalish
Two frame Cooldown question

I have two questions about the frame Cooldown:

The first is: if I want monitor the duration of a temporary enchant weapon through APIs GetWeaponEnchantInfo() and cd:SetCooldown (start, duration),...
Forum: Lua/XML Help 08-25-15, 09:12 AM
Replies: 1
Views: 145
Posted By Benalish
Print message on the screen

Hello everyone
After much research on the web about how to print a message on the screen (not in the chat) game I did not find what I was interested. Can you tell me how?

Thank you in advance
Forum: Lua/XML Help 08-10-15, 07:11 PM
Replies: 1
Views: 199
Posted By Benalish
Retrieve buff id by name

Hi everyone, there is an API that allows, if I have for example the buff "Blood Shield," to give me his id? Not the spell ID, but the buff index that I can then use in the API GameTooltip:SetUnitBuff...
Forum: Lua/XML Help 05-07-15, 05:33 AM
Replies: 1
Views: 337
Posted By Benalish
Form for choosing settings

I've created a form to choose the settings. These settings are automatically saved from the client in this form:


["Setting"] = {
["track"] = "Water Shield",
["duration"] = {
...
Forum: Lua/XML Help 05-04-15, 05:53 AM
Replies: 2
Views: 441
Posted By Benalish
Concatenation problem

Hi all. This is a fuction of my code


function onAdvancedOptionClose()
local options = { 'duration', 'stack' }
for i=1, #options do
local option = options[i]

if not db[option]...
Forum: Lua/XML Help 02-17-15, 07:49 PM
Replies: 3
Views: 569
Posted By Benalish
OnTextChanged event just does what I want. You...

OnTextChanged event just does what I want. You cant add [SOLVED] to the thread's title.
Forum: Lua/XML Help 02-17-15, 04:08 PM
Replies: 3
Views: 569
Posted By Benalish
[SOLVED] OnKeyUp not working

On this editbox does not work the event OnKeyUp: there is something wrong?


<Frame name="testChooseDialog" parent="UIParent" toplevel="true" enableMouse="true"...
Forum: Lua/XML Help 11-23-14, 05:36 PM
Replies: 3
Views: 1,297
Posted By Benalish
AceDB-3.0 question

I wrote this line on the OnInitalize() event of my mod


self.db = LibStub("AceDB-3.0"):New("MyAddonDB", defaults, true)
db = self.db


When I run /dump db and /dump MyAddonDB, is possible they print...
Forum: Lua/XML Help 11-15-14, 06:24 AM
Replies: 8
Views: 1,943
Posted By Benalish
local t =...

local t = widget:CreateTexture(nil,"BACKGROUND")
t:SetTexture("Interface\\QuestFrame\\UI-QuestLogTitleHighlight")
t:SetAllPoints(widget)
t:SetBlendMode("ADD")
t:SetVertexColor(0, 0.75,...
Forum: Lua/XML Help 11-14-14, 04:04 PM
Replies: 8
Views: 1,943
Posted By Benalish
To highlight the selected item I used this...

To highlight the selected item I used this code:

Inside SpawnFrames function:


button:SetScript("OnMouseDown", function(self)
self:GetParent().selected = self.id ...
Forum: Lua/XML Help 11-13-14, 09:13 AM
Replies: 8
Views: 1,943
Posted By Benalish
Unhappy This in my new attempt: <Frame name="ListView"...

This in my new attempt:


<Frame name="ListView" toplevel="true" enableMouse="true" hidden="false">
<Size x="175" y="75" />
<Anchors>
<Anchor point="CENTER">
<Offset x="-26" y="7"...
Forum: Lua/XML Help 11-12-14, 04:07 PM
Replies: 8
Views: 1,943
Posted By Benalish
Listview

My intention was to create a listview based on that of Qt (https://qt-project.org/doc/qt-5/qlistview.html)
This is my attempt.


<Frame name="ListView" toplevel="true" enableMouse="true">
<Size...
Forum: Lua/XML Help 09-28-14, 02:03 PM
Replies: 7
Views: 1,677
Posted By Benalish
Very well. And if I want make transparents...

Very well. And if I want make transparents instead of blacks the texture outer colors?
Forum: Lua/XML Help 09-28-14, 08:20 AM
Replies: 7
Views: 1,677
Posted By Benalish
It was not what I was looking for: do you...

It was not what I was looking for: do you remember the background that appears in the menu at the mouse hover?
Forum: Lua/XML Help 09-27-14, 06:36 PM
Replies: 7
Views: 1,677
Posted By Benalish
Background name

Anyone can tell me the name of the blue blackground (http://s18.postimg.org/lo6kd69w9/friendlist.png)? Thanks in advance :)
Forum: Lua/XML Help 09-14-14, 08:08 AM
Replies: 1
Views: 706
Posted By Benalish
Relative size

You can do something similar to CSS, or resize a widget according to the space available in the parent in which it is hosted? For example, create a button with half widht (50%) of the frame in which...
Forum: Lua/XML Help 09-11-14, 08:18 PM
Replies: 17
Views: 1,990
Posted By Benalish
From this...

From this (http://wowprogramming.com/forums/development/434) page: "Backdrops are deprecated in favour of the new tiling mechanisms". What it the new tiling mechanism?
Forum: Lua/XML Help 09-11-14, 05:51 AM
Replies: 17
Views: 1,990
Posted By Benalish
If I want solid color instead of texture?

If I want solid color instead of texture?
Forum: Lua/XML Help 09-11-14, 04:41 AM
Replies: 17
Views: 1,990
Posted By Benalish
Could you at least tell me what is the equivalent...

Could you at least tell me what is the equivalent of SetBackdropBorderColor in XML? :o
Forum: Lua/XML Help 09-10-14, 12:33 PM
Replies: 17
Views: 1,990
Posted By Benalish
In XML ... <EditBox name="editbox"...

In XML


...
<EditBox name="editbox" parent="frame">
<Scripts>
<OnLoad>
editbox:SetAutoFocus(false)
editbox:SetFontObject(GameFontHighlightSmall)
...
Forum: Lua/XML Help 09-10-14, 10:18 AM
Replies: 17
Views: 1,990
Posted By Benalish
The editbox beneath the slider in ace3 libraries...

The editbox beneath the slider in ace3 libraries what inherits? I would reproduce the same smooth frame , but I have no idea how to do it :confused:
Forum: Lua/XML Help 09-10-14, 08:49 AM
Replies: 17
Views: 1,990
Posted By Benalish
As I build four similar slider in xml, there is a...

As I build four similar slider in xml, there is a container (frame?) where put everything inside to be used as a model to inherit?
Forum: Lua/XML Help 09-10-14, 06:18 AM
Replies: 17
Views: 1,990
Posted By Benalish
Editbox under slider

Hi. Can I create a slider like this (http://s24.postimg.org/q0ryq2uv9/sliders.png), with the yellow title at the top and the editbox bottom without ace libraries ? If so, how should I proceed?
Forum: Lua/XML Help 07-29-13, 06:23 AM
Replies: 7
Views: 2,852
Posted By Benalish
because if WS is updated, as well the duration...

because if WS is updated, as well the duration needs to be updated :p
Forum: Lua/XML Help 07-29-13, 04:22 AM
Replies: 7
Views: 2,852
Posted By Benalish
API SetCooldown:()/OnUpdate trouble

I have a problem with the API SetCooldown: basically, when working in an OnUpdate script, I can't see the clock animation, while if it's started only once is displayed correctly. This is my script, a...
Showing results 1 to 25 of 40