Showing results 1 to 25 of 37
Search took 0.01 seconds.
Search: Posts Made By: Benalish
Forum: Lua/XML Help 05-07-15, 05:33 AM
Replies: 1
Views: 309
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: 417
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: 533
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: 533
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,189
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,852
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,852
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,852
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,852
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,602
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,602
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,602
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: 695
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,903
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,903
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,903
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,903
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,903
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,903
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,903
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,769
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,769
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...
Forum: Lua/XML Help 03-24-13, 07:06 AM
Replies: 16
Views: 4,265
Posted By Benalish
Done, but the anomalies in memory usage persist...

Done, but the anomalies in memory usage persist :(
I also made ​​substantial changes
http://nopaste.dk/p23706
Forum: Lua/XML Help 03-22-13, 01:13 PM
Replies: 16
Views: 4,265
Posted By Benalish
As you prefer :D *SPOILER* It's very very very...

As you prefer :D

*SPOILER* It's very very very long, can result difficult for you to read whole

http://nopaste.dk/p23585, line 373, 380 e 504
Forum: Lua/XML Help 03-22-13, 12:06 PM
Replies: 16
Views: 4,265
Posted By Benalish
Is a DYNAMIC table I write an example of how it...

Is a DYNAMIC table

I write an example of how it should work my script


local foobar = {
[1] = "Welcome#To#My#World",
[2] = "Secret#To#The#End",
[3] = "My#Little#Universe",
}
Showing results 1 to 25 of 37