Showing results 1 to 25 of 33
Search took 0.01 seconds.
Search: Posts Made By: Benalish
Forum: Lua/XML Help 11-23-14, 05:36 PM
Replies: 3
Views: 273
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: 733
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: 733
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: 733
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: 733
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,030
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,030
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,030
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: 465
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,146
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,146
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,146
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,146
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,146
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,146
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,146
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,236
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,236
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: 3,277
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: 3,277
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: 3,277
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",
}
Forum: Lua/XML Help 03-22-13, 11:19 AM
Replies: 16
Views: 3,277
Posted By Benalish
I tried this local meow function buffscan() ...

I tried this


local meow

function buffscan()
-- lines disabled
meow = { "a","b","c","d","e","f","g","h" }
-- more stuff
table.wipe(meow)
Forum: Lua/XML Help 03-22-13, 10:26 AM
Replies: 16
Views: 3,277
Posted By Benalish
Unusual memory usage

In my addon I noticed an unusual use of memory ranges from 200 kb to 1.10 mb. After several tests, I found the cause of this oscillation, located inside a function. I noticed that disabling...
Forum: Lua/XML Help 12-30-12, 08:58 AM
Replies: 0
Views: 1,341
Posted By Benalish
SetCooldown()

How do I display only the numerical value of the cooldown (what is seen through OmniCC) without the cooldown animation? Of course, I have OmniCC installed.
Forum: Lua/XML Help 12-29-12, 11:25 PM
Replies: 5
Views: 2,190
Posted By Benalish
I had not written this: local LSM =...

I had not written this: local LSM = LibStub("LibSharedMedia-3.0")
Showing results 1 to 25 of 33