Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 96
Search took 0.01 seconds.
Search: Posts Made By: Zax
Forum: Lua/XML Help 01-17-21, 06:17 AM
Replies: 6
Views: 1,550
Posted By Zax
Yes. In my case, I just set a local variable to...

Yes. In my case, I just set a local variable to isInitialLogin when PLAYER_ENTERING_WORLD event is fired.
I then use this variable later, on PLAYER_LOGIN event.
Forum: Lua/XML Help 01-17-21, 06:03 AM
Replies: 6
Views: 1,550
Posted By Zax
Great! Thank you Rilgamon for your quick answer :)

Great!
Thank you Rilgamon for your quick answer :)
Forum: Lua/XML Help 01-17-21, 05:39 AM
Replies: 6
Views: 1,550
Posted By Zax
Differentiate fresh login and UI reload?

Hello,

I would like to apply a setting saved in saved variable file only on fresh log in, and not on interface reload.
I'm using PLAYER_LOGIN event to initialize my addons, but this event is also...
Forum: AddOn Search/Requests 12-29-20, 09:53 AM
Replies: 0
Views: 1,231
Posted By Zax
Eye of the Keeper frame replacement?

Is there an addon to replace the Eye of the Keeper (in the Maw) by something smaller?
A thin, horizontal and movable progress bar would be great.

I suppose this big frame can be moved with an addon...
Forum: Lua/XML Help 12-20-20, 03:49 AM
Replies: 1
Views: 1,637
Posted By Zax
SOLVED. I only had to declare a variable.

SOLVED.

I only had to declare a variable.
Forum: Lua/XML Help 12-19-20, 03:59 AM
Replies: 1
Views: 1,637
Posted By Zax
Passing argument to popup menu (UIDropDownMenu)

Hello,

I'm using a popup menu based on UIDropDownMenuTemplate like this:

local popupMenuHiddenFrame = CreateFrame("Frame", "hiddenPopupFrame", nil,...
Forum: Lua/XML Help 12-16-20, 10:17 AM
Replies: 19
Views: 8,861
Posted By Zax
Great :) Thank you very much Fizzlemizz and...

Great :)
Thank you very much Fizzlemizz and Kanegasi for your scripts, and also for your time and patience.
Forum: Lua/XML Help 12-16-20, 03:03 AM
Replies: 19
Views: 8,861
Posted By Zax
Considring Fizzlemizz's script, is there a way to...

Considring Fizzlemizz's script, is there a way to modify border color of an existing border, previously created with his script?

local function CreateBorder(self)
if not self.borders...
Forum: Lua/XML Help 12-15-20, 02:32 AM
Replies: 19
Views: 8,861
Posted By Zax
Maybe it should be intensively tested but...

Maybe it should be intensively tested but Fizzlemizz's solution seems perfect :)

Though, I don't understand why corners are rounded (it's obvious with thickness > 1)
Forum: Lua/XML Help 12-14-20, 07:45 AM
Replies: 19
Views: 8,861
Posted By Zax
Yes, that's what happen with a 1px border width:...

Yes, that's what happen with a 1px border width: some borders are sometimes drawn with 2px.
Forum: Lua/XML Help 12-14-20, 02:22 AM
Replies: 19
Views: 8,861
Posted By Zax
Interesting trick! Thank you Kanegasi. I tried...

Interesting trick! Thank you Kanegasi.

I tried this, but the result is sometime not very accurate:
-- params
local borderColor = {1, 1, 1}
local borderWidth = 1
--
if (not frame.SetBackdrop) then...
Forum: Lua/XML Help 12-12-20, 12:35 PM
Replies: 19
Views: 8,861
Posted By Zax
Nice :) Thank you.

Nice :)
Thank you.
Forum: Lua/XML Help 12-08-20, 06:17 AM
Replies: 19
Views: 8,861
Posted By Zax
Very interesting link, Xrystal. Thank you.

Very interesting link, Xrystal.
Thank you.
Forum: Lua/XML Help 12-08-20, 01:22 AM
Replies: 7
Views: 3,249
Posted By Zax
I recently used this tutorial and it...

I recently used this tutorial and it works:
https://wow.gamepedia.com/Making_a_scrollable_list_using_FauxScrollFrameTemplate

Though I had to...
Forum: Lua/XML Help 12-07-20, 01:55 AM
Replies: 19
Views: 8,861
Posted By Zax
How to add a thin border to a frame?

Hello,

Is there a simple way to draw/add a thin border to a frame, without any .tga file?
Something like CSS attribute border: 1px solid #00ff00

I tried with Backdrop's edgeFile with some built-in...
Forum: Lua/XML Help 12-07-20, 01:40 AM
Replies: 7
Views: 3,249
Posted By Zax
In this case, I would try first to add this debug...

In this case, I would try first to add this debug line before "SetText()" at line 7:
print("index=", index, "offset=", offset, "SpellChatGlobalTable1[offset]=", SpellChatGlobalTable1[offset])
Don't...
Forum: Lua/XML Help 12-05-20, 08:28 AM
Replies: 7
Views: 2,514
Posted By Zax
OK, after several tests, in order to make my...

OK, after several tests, in order to make my scroll frame work, whenever the number of lines in data is lower or greater then the number of "displayable" lines, I have to pass true as last...
Forum: Lua/XML Help 12-05-20, 07:45 AM
Replies: 7
Views: 2,514
Posted By Zax
My scroll frame works fine, but I have another...

My scroll frame works fine, but I have another question: apparently, FauxScrollFrame_Update has an option to not always show scroll buttons.
I'm unable to make option alwaysShowScrollBar work: scroll...
Forum: Lua/XML Help 12-04-20, 10:42 AM
Replies: 7
Views: 2,514
Posted By Zax
Oops ! Thank you very much :)

Oops !

Thank you very much :)
Forum: Lua/XML Help 12-04-20, 10:36 AM
Replies: 7
Views: 2,514
Posted By Zax
OK, I understand. Any clue about how to do...

OK, I understand.
Any clue about how to do that?:confused:
Forum: Lua/XML Help 12-04-20, 10:08 AM
Replies: 7
Views: 2,514
Posted By Zax
FauxScrollFrame in pure LUA problem

Hello,

Sorry if it has already been asked but I encounter a problem with FauxScrollFrame.
In the past, I used this kind of frame with XML without problem, but now I'm trying in pure LUA.
When I...
Forum: Lua/XML Help 09-27-20, 01:07 PM
Replies: 5
Views: 4,173
Posted By Zax
Thank you Rilgamon. I tried your script but...

Thank you Rilgamon. I tried your script but "reason" is NIL when the addon TOC interface is 9.x on WoW Retail (8.x).
I wanted to compare an addon TOC interface number with WoW version number but I...
Forum: Lua/XML Help 09-27-20, 01:13 AM
Replies: 5
Views: 4,173
Posted By Zax
OK, so is there another way to get this value?

OK, so is there another way to get this value?
Forum: Lua/XML Help 09-26-20, 02:00 PM
Replies: 5
Views: 4,173
Posted By Zax
How to read "Interface" TOC field?

Hello,

Is there a way to read "Interface" field in the TOC file of an addon?
I tried:
GetAddOnMetadata(myAddonName, "Interface")
but only "nil" is returned.

Thanks.
Forum: PTR API and Graphics Changes 08-04-20, 11:36 AM
Replies: 39
Views: 39,906
Posted By Zax
Great! Now I just have to use this code on...

Great!

Now I just have to use this code on OnLoad of my old frames, without inherits="BackdropTemplate" and it works on both 8.x and 9.0 versions:
---------------------------------- testing WoW...
Showing results 1 to 25 of 96