Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 141
Search took 0.01 seconds.
Search: Posts Made By: kurapica.igas
Forum: Lua/XML Help 11-21-20, 11:08 AM
Replies: 9
Views: 401
Posted By kurapica.igas
No, blz use it in many places, I also take its...

No, blz use it in many places, I also take its code to create my own template in pure Lua.
Forum: Lua/XML Help 11-21-20, 07:02 AM
Replies: 9
Views: 401
Posted By kurapica.igas
The error is the usage about the ScrollFrame, you...

The error is the usage about the ScrollFrame, you normally should use the FauxScrollFrameTemplate or take the logic part from that template to handle the scroll range changes.

Back to the code,...
Forum: Lua/XML Help 11-20-20, 09:51 PM
Replies: 9
Views: 401
Posted By kurapica.igas
Maybe show the full addon for test is a better...

Maybe show the full addon for test is a better idea.
Forum: General Authoring Discussion 11-19-20, 09:55 PM
Replies: 2
Views: 379
Posted By kurapica.igas
I think it's the ACTIONBAR_UPDATE_COOLDOWN...

I think it's the ACTIONBAR_UPDATE_COOLDOWN events, misspelled?
Forum: Lua/XML Help 11-19-20, 09:51 PM
Replies: 9
Views: 401
Posted By kurapica.igas
Try to put the fontstring and texture on the same...

Try to put the fontstring and texture on the same frame, and change the texture's drawlayer to artwork.


local iconFrame = CreateFrame("Frame", nil, frame)
iconFrame:SetSize(32,...
Forum: AddOn Help/Support 11-19-20, 07:31 PM
Replies: 8
Views: 363
Posted By kurapica.igas
Try call FlashClientIcon()

Try call FlashClientIcon()
Forum: AddOn Help/Support 11-19-20, 08:28 AM
Replies: 2
Views: 277
Posted By kurapica.igas
It's a little complicated, if you want the action...

It's a little complicated, if you want the action buttons in the flyout bar can be bind to 1-10, that means you need to override the default keybindings, and will disabled the main action bar.

So...
Forum: AddOn Help/Support 11-08-20, 08:20 PM
Replies: 8
Views: 2,038
Posted By kurapica.igas
To create template in Lua, we should use classes,...

To create template in Lua, we should use classes, it's not a simple job to fulfill all requirements.

I can do that with my PLoop and Scorpio Lib, but normally only authors with full OOP background...
Forum: Dev Tools 10-15-20, 02:10 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
9498 Just finished the new Cube, it's browser is...

9498

Just finished the new Cube, it's browser is using the SimpleHtml to show the contents, the main problem is how to simply generate the contents, since we need a complex string concat to generate...
Forum: Dev Tools 10-02-20, 08:45 PM
Replies: 7
Views: 22,575
Posted By kurapica.igas
Working on a new Code Editor, the main part is...

Working on a new Code Editor, the main part is finished.

9484

The example code can be found at Cube/CubeEditor.lua (https://github.com/kurapica/Cube/blob/master/CubeEditor.lua), it's an example to...
Forum: Lua/XML Help 10-02-20, 08:10 PM
Replies: 14
Views: 4,878
Posted By kurapica.igas
The coroutine are common Lua functions, the main...

The coroutine are common Lua functions, the main cost of it compares to the normal Lua func is about two parts:

I. The cost of the coroutine's creation is much bigger than call a function, so I...
Forum: Lua/XML Help 10-02-20, 05:57 AM
Replies: 14
Views: 4,878
Posted By kurapica.igas
If you don't mind use a lib, you may check the...

If you don't mind use a lib, you may check the example for Continue() in the Scorpio - asynchronous framework...
Forum: Lua/XML Help 09-18-20, 08:32 PM
Replies: 1
Views: 3,770
Posted By kurapica.igas
When you done with refreshData, you need use...

When you done with refreshData, you need use scrollFrame:UpdateScrollChildRect() to update the scrollchild's height based on those roster buttons, or you could adjust the scroll child's height based...
Forum: Dev Tools 08-05-20, 12:03 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
A new system is added to apply dynamic values to...

A new system is added to apply dynamic values to the ui styles:

9464

The text of the label will be changed based on the player's health.


The real code of the Wow.UnitHealth("player") is
Forum: Lua/XML Help 07-15-20, 08:05 PM
Replies: 2
Views: 982
Posted By kurapica.igas
Try ChatFrame1EditBox:EnableMouse(false)

Try ChatFrame1EditBox:EnableMouse(false)
Forum: Lua/XML Help 07-01-20, 04:15 AM
Replies: 15
Views: 1,574
Posted By kurapica.igas
Task an example: Scorpio "ScorpioTest"...

Task an example:


Scorpio "ScorpioTest" ""

__Async__()
__SlashCmd__ "sct" "start" -- use `/sct start` to start the process
function bigCycle()
local time = GetTime()
local prev = 0
Forum: Lua/XML Help 06-30-20, 09:50 PM
Replies: 15
Views: 1,574
Posted By kurapica.igas
This could be done with the Lua's coroutine, and...

This could be done with the Lua's coroutine, and since the Lua is single thread, so you don't need worry about the thread lock. We can yield those coroutines to make sure they don't cost too much in...
Forum: Lua/XML Help 05-23-20, 07:23 PM
Replies: 6
Views: 1,637
Posted By kurapica.igas
This is not a taint, since the error message say...

This is not a taint, since the error message say the "listFrame" doesn't existed, so according to the code line

local listFrame = _G["DropDownList"..level];

The ui drop down menu provided by the...
Forum: Dev Tools 05-05-20, 07:29 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
Scorpio v36 released, the core ui & style system...

Scorpio v36 released, the core ui & style system is finished, and common widgets are released in the Scorpio.Widget lib.

You can find documenets in github.com/kurapica/Scorpio...
Forum: Dev Tools 04-19-20, 05:19 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
v035 released, the basic ui, template and several...

v035 released, the basic ui, template and several common widget features has been released. You can find an introduction at:

https://github.com/kurapica/Scorpio/blob/master/Docs/004.widget.md

The...
Forum: Lua/XML Help 04-13-20, 06:25 AM
Replies: 7
Views: 762
Posted By kurapica.igas
Using secure template doesn't mean you can use...

Using secure template doesn't mean you can use features like CastSpellByName, the template handle the OnClick for you, so you can only set attributes on the button.

For simple, we can bind the macro...
Forum: Dev Tools 03-08-20, 12:16 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
Not like the IGAS, the frames generate from the...

Not like the IGAS, the frames generate from the template class like Dialog, UIPanelButton is the same generated from the CreateFrame, there is no wrapper on them.

So there is no different to use...
Forum: Dev Tools 03-07-20, 08:18 AM
Replies: 7
Views: 22,575
Posted By kurapica.igas
Scorpio.UI - a new ui & skin system

After spending two years on web project with Openresty, finally I got time and the new ideas for the Scorpio lib's UI part. This is not an officially introduction, so I'm sorry I can't explain all...
Forum: Lua/XML Help 10-26-19, 08:25 PM
Replies: 3
Views: 958
Posted By kurapica.igas
Out of the combat, you can use...

Out of the combat, you can use


SetOverrideBindingClick(Your_button, true, "B", "Your_button_name", "LeftButton")


To bind key, and use


ClearOverrideBindings(Your_button)
Forum: Lua/XML Help 10-20-19, 06:03 AM
Replies: 7
Views: 1,438
Posted By kurapica.igas
Several years ago, I study the whole restrict...

Several years ago, I study the whole restrict code for three times to figure out all usages, here is the list and read order:

1. RestrictedInfrastructure.lua: Wrap the normal frame to secure...
Showing results 1 to 25 of 141