Download
(30 Kb)
Download
Updated: 11/04/14 12:00 AM
Pictures
File Info
Compatibility:
Update 5 (1.5.2)
Updated:11/04/14 12:00 AM
Created:04/13/14 09:29 AM
Monthly downloads:99
Total downloads:14,500
Favorites:45
MD5:
Inventory Space Display  Popular! (More than 5000 hits)
Version: 1.7
by: L8Knight [More]
A simple addon to always display the "Inventory Space: 10 / 60" value. That's it. It doesn't log new loot to the chat window, it doesn't change colors (yet), it doest show bank space, but it does show you your current bag space usage without requiring you to open your inventory (and mark all those new items as not new anymore).

My other addons:

Slightly Improved Experience Bar
Slightly Improved Gear Sets
Slightly Improved Attribute Bars
Version 1.7
* Updated API version number for 1.5
* Updated LibAddonMenu

Version 1.6
* Updated API version number

Version 1.5
* Updated API version number

Version 1.4
* Updated to LibAddonMenu-2.0

Version 1.3
* Configuration changes now update the inventory display
* Transparency is now correctly set after hiding display

Version 1.2
* Updated API version for 1.1.2
* Removed hidden window OnUpdate handler in place of OnHide/OnShow event handlers (should lessen the addon's impact to FPS)

Version 1.1
* Added transparency setting

Version 1.0
* Initial version
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Uploader
Date
1.6
29kB
L8Knight
09/17/14 09:27 PM
1.5
29kB
L8Knight
07/03/14 09:50 AM
1.4
28kB
L8Knight
06/23/14 08:52 AM
1.3
9kB
L8Knight
06/02/14 07:47 PM
1.2
9kB
L8Knight
05/23/14 05:43 AM
1.1
9kB
L8Knight
04/13/14 09:54 PM
1.0
9kB
L8Knight
04/13/14 09:29 AM


Post A Reply Comment Options
Unread 07/17/14, 05:32 PM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Re: Re: Auto Hide Setting

Originally Posted by esothomas
Originally Posted by L8Knight
There's a setting called "Auto Hide" under Settings -> Addon Settings
oh, yeah, i know that, but i was trying to ask about the actual code
In this addon I use events from the keybind strip that pops up along the bottom of the screen. When that gets displayed I hide my inventory view and vice versa.

Lua Code:
  1. ZO_PreHookHandler(ZO_KeybindStripControl, 'OnShow', ISD.HideSpaceDisplay)
  2. ZO_PreHookHandler(ZO_KeybindStripControl, 'OnHide', ISD.ShowSpaceDisplay)

The code is pretty simple -- you should take a look at it.

The right way to do this is to use a feature called "scenes". My Slightly Improved Experience Bar addon does this. There's a scene for the combat ui and a scene for the quest dialog ui. You can add your control to these scenes (as a scene fragment) and their game engine will take care of hiding and showing things for you.

There's some good info on the forums about this. Start with this thread if you're interested.
Report comment to moderator  
Reply With Quote
Unread 07/15/14, 02:08 AM  
esothomas
 
esothomas's Avatar

Forum posts: 24
File comments: 93
Uploads: 0
Re: Auto Hide Setting

Originally Posted by L8Knight
There's a setting called "Auto Hide" under Settings -> Addon Settings
oh, yeah, i know that, but i was trying to ask about the actual code
Report comment to moderator  
Reply With Quote
Unread 07/11/14, 05:35 PM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Auto Hide Setting

Originally Posted by esothomas
how do you get the information to stick around even in dialogue windows?

i'd love to do something similar for http://www.esoui.com/downloads/info413-LUI.html (the InfoPanel part), but i don't know what to look for!... optimally, it'd be a slider determining how much is visible for dialogues.
There's a setting called "Auto Hide" under Settings -> Addon Settings. If you set that to "off" it will display your bag info on most screens.
Report comment to moderator  
Reply With Quote
Unread 07/11/14, 01:36 AM  
esothomas
 
esothomas's Avatar

Forum posts: 24
File comments: 93
Uploads: 0
how do you get the information to stick around even in dialogue windows?

i'd love to do something similar for http://www.esoui.com/downloads/info413-LUI.html (the InfoPanel part), but i don't know what to look for!... optimally, it'd be a slider determining how much is visible for dialogues.
Last edited by esothomas : 07/11/14 at 01:36 AM.
Report comment to moderator  
Reply With Quote
Unread 06/02/14, 08:01 PM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Re: Transparency

Originally Posted by flynnn
Since downloading latest version the transparency slider does not make the text transparent

// Edit
http://youtu.be/OylmKVyNA7A
Thanks for the bug report and example. Very well done! This should now be fixed with version 1.3. Let me know if you're still seeing problems.
Report comment to moderator  
Reply With Quote
Unread 06/01/14, 11:26 AM  
flynnn
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 23
Uploads: 1
Transparency

Since downloading latest version the transparency slider does not make the text transparent

// Edit
http://youtu.be/OylmKVyNA7A
Last edited by flynnn : 06/01/14 at 11:47 AM.
Report comment to moderator  
Reply With Quote
Unread 04/29/14, 11:31 AM  
conthox

Forum posts: 0
File comments: 1
Uploads: 0
Very good add-ons, I like them very much. This, the improved attr bars and the improved XP-bar, thank you

One good feature to add would be to be able to set the location of that inventory text. I found out that I can move it up/down and to the left a bit, but it would be nice to be able to move it all over the screen. Now it's like it's a area in the center of the screen in where it can move. To have the text in the lower right corner would be best.

Also, is there any commands to this addon or the others?

Thank you again, you are great

// edit

Hmm, strange, I tested it now again and I can change the location of the text all over the screen now. I don't know what happened earlier but it seems to work like I wanted now
Last edited by conthox : 04/29/14 at 12:05 PM.
Report comment to moderator  
Reply With Quote
Unread 04/18/14, 09:20 AM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Originally Posted by L8Knight
Originally Posted by Stormknight
Heya, a quick suggestion, perhaps register for the specific events involving inventory, such as EVENT_INVENTORY_SINGLE_SLOT_UPDATE, rather than use OnUpdate?
I thought about it, but I need the OnUpdate handler for the autohide functionality anyway. It's not much more work to update the label. I limit the frequency of updates anyway to [a reasonable] 10 per second.
Ok, I think I found a way to remove the OnUpdate handler. Look for updates in a future version. Thanks for the suggestion!
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 08:36 PM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Originally Posted by MrGrim
aaaand thats the third mod of yours im using :P
Best compliment ever! Thanks!
Report comment to moderator  
Reply With Quote
Unread 04/15/14, 10:36 AM  
MrGrim

Forum posts: 10
File comments: 59
Uploads: 0
aaaand thats the third mod of yours im using :P
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 06:35 PM  
L8Knight
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 83
Uploads: 4
Originally Posted by Stormknight
Heya, a quick suggestion, perhaps register for the specific events involving inventory, such as EVENT_INVENTORY_SINGLE_SLOT_UPDATE, rather than use OnUpdate?
I thought about it, but I need the OnUpdate handler for the autohide functionality anyway. It's not much more work to update the label. I limit the frequency of updates anyway to [a reasonable] 10 per second.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 02:01 AM  
Stormknight
 
Stormknight's Avatar
AddOn Author - Click to view AddOns

Forum posts: 128
File comments: 89
Uploads: 3
Heya, a quick suggestion, perhaps register for the specific events involving inventory, such as EVENT_INVENTORY_SINGLE_SLOT_UPDATE, rather than use OnUpdate?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.