Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > General Discussion

General Discussion The place for World of Warcraft discussions that don’t fit into any other forum.

Advertising

 
Thread Tools
Old 28.08.2017, 13:04   #1
 Assistant User Information

Tryllemann's Avatar
Adding buttons to bags

This might not be a wanted change, if so just revert it.

But for me, the right click menu on close button is a bit pesky to use, also i wanted more options.


Added 3 buttons to bags.

* One for deposit Reagents
* One for sorting bags, Left click uses Stuffing default and right click uses Blizzards built into sort.
* One button for using any Artifact item in bag. Right click the icon.

Todo: Add translate option for tooltip, also make better script for using Artifact item.

I find it real annoying trying to spot artifact items in bag so i added one button that lets me use any artifact item in bags. Since i didn't want to use any secure function to block bag opening during battle, i have used "PreClick", that is a bit unknown for me. So this should be written better, but it works fine as is.

https://github.com/Shestak/ShestakUI...95266df26e2761

Let me know what you think
Say Thank:
Lanseb (28.08.2017)
Old 28.08.2017, 13:04   #1.5 - Disable Ads

Advertise on this site

Old 28.08.2017, 15:27   #2
Wetxius
 Assistant User Information

Wetxius's Avatar
You should add level check to hide artifact buttons on low levels.

Добавлено через 50 секунд
And you should add options to disable this buttons by default.
Old 28.08.2017, 16:41   #3
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Quote:
Originally Posted by Wetxius View Post
You should add level check to hide artifact buttons on low levels.

Добавлено через 50 секунд
And you should add options to disable this buttons by default.
Good suggestions And i agree on both
Will add it soon. Been away for a 5-6 months and alot to catch up on, and small changes needs to be fixed. Also working on fixes for the 7.3 changes.

Feel free to look into the PreClick script. Need a tooltip fix there.
Old 28.08.2017, 18:56   #4
Wetxius
 Assistant User Information

Wetxius's Avatar
https://github.com/Shestak/ShestakUI...7f0e08c4572381
It was bugged, because you use Blizzard template for button. https://github.com/tomrus88/Blizzard...Frame.lua#L541
Old 28.08.2017, 19:20   #5
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Quote:
Originally Posted by Wetxius View Post
https://github.com/Shestak/ShestakUI...7f0e08c4572381
It was bugged, because you use Blizzard template for button. https://github.com/tomrus88/Blizzard...Frame.lua#L541
I see Had to disable tooltip update script
Old 29.08.2017, 20:34   #6
Sw2rT1
 Street Mage User Information

Sw2rT1's Avatar
when clicked "Deposit Reagents" after 1st login, without opening the reagent-bank

lua Code [Select]:
Interface\FrameXML\BankFrame.lua:72: attempt to index local 'button' (a nil value)
Count: 2

Call Stack:
[C]: ?
Interface\FrameXML\BankFrame.lua:72: in function `BankFrameItemButton_Update'
Interface\FrameXML\BankFrame.lua:277: in function <Interface\FrameXML\BankFrame.lua:244>
Old 02.09.2017, 16:24   #7
Wetxius
 Assistant User Information

Wetxius's Avatar
Please, test my version for artifact buttons.
https://gist.github.com/Wetxius/18a9...e731b5cf6f7131
It shows under farm mode button. To the right of the minimap with mouseover.
Should work by right clicking.
Old 03.09.2017, 07:18   #8
Sw2rT1
 Street Mage User Information

Sw2rT1's Avatar
Quote:
Originally Posted by Wetxius View Post
Please, test my version for artifact buttons.
https://gist.github.com/Wetxius/18a9...e731b5cf6f7131
It shows under farm mode button. To the right of the minimap with mouseover.
Should work by right clicking.
после клика как левой, так и правой кнопкой мышки
lua Code [Select]:
...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:134: attempt to index global 'self' (a nil value)
Count: 2

Call Stack:
[C]: ?
...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:134: in function <...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:130>
ко всему этому еще и бордер странный при наведении на иконку
Old 03.09.2017, 10:45   #9
flameflower
 Elder Member User Information

flameflower's Avatar
Quote:
Originally Posted by Sw2rT1 View Post
Quote:
Originally Posted by Wetxius View Post
Please, test my version for artifact buttons.
https://gist.github.com/Wetxius/18a9...e731b5cf6f7131
It shows under farm mode button. To the right of the minimap with mouseover.
Should work by right clicking.
после клика как левой, так и правой кнопкой мышки
lua Code [Select]:
...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:134: attempt to index global 'self' (a nil value)
Count: 2

Call Stack:
[C]: ?
...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:134: in function <...ace\AddOns\ShestakUI\Modules\Maps\MiniMapButtons.lua:130>
ко всему этому еще и бордер странный при наведении на иконку
http://i.imgur.com/TK4yFxQ.png
А я вообще не нашел где есть эта кнопочка.
Бегло по опциям пробежался и тоже на глаза не попалась.
Old 03.09.2017, 11:29   #10
Tryllemann
 Assistant User Information

Tryllemann's Avatar
why the non english post in English section?

Tags
more options

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Never Fixed] Flyout buttons tend to resize themselves Kkthnx Bugs Reports 1 20.12.2016 09:40
Mouse Overs (Mouse buttons not working) w/frames Gobulance General Discussion 0 18.01.2015 21:48
[Fixed] Small Bags pu2i7y Bugs Reports 4 21.06.2013 11:56
Help with Bags Vamphyri Technical Support 2 19.12.2010 22:19
Adding more Raid frame indicators Tekzehtool Technical Support 3 01.08.2010 10:33


Mobile Style Русский English Deutsch Italian Chinese