Download
(36Kb)
Download
Updated: 10-31-23 04:27 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:10-31-23 04:27 PM
Created:12-13-08 08:08 AM
Downloads:35,626
Favorites:330
MD5:

NinjaPanel  Popular! (More than 5000 hits)

Version: v1.2.0-release
by: Cladhaire [More]

NinjaPanel... so sneaky you'll hardly know it's there

What is NinjaPanel?

NinjaPanel is a simple, easy-to-configure display for LDB data objects. If you're not familiar with LDB, it's a simple standard that addon authors can use to provide information to other addons without needing to write any code specifically for them. This is helping to break the fubar/titan stronghold by providing a standard flexible enough to let any addon display the information.

Okay, so what does it do?

NinjaPanel will display any LDB plugins you have installed. Currently it displays all of them, although options are forthcoming to disable the display for certain plugins. It also can provide you quick access to addon options and other configurations via "launchers", simple icons that sit on the panel. Most addons that provide minimap icons (which we all hate) also provide launchers. All plugins can be dragged around the panel to re-order them, so they're displayed exactly as you'd like them to be.

Where are the options?

There aren't currently many configuration options for this addon other than the ability to enable or disable specific plugins, but I wanted to get a release out to get some feedback from the community. You can expect the following options to be implemented at some point:
  • Display the panel on the top, bottom, left or right of the screen
  • Change the height/width of the panel
  • Customize data objects to hide the icon, text, etc.

So where do I get plugins?


You may be surprised at how many addons already provide some sort of LDB data object, but if you're looking for new ones to try out you can check the category listings at your favorite addon site:How did you manage to get TomTom Crazy Arrow in the panel

NinjaPanel introduces support for icon colors and coordinates using the following fields in the LDB data object:

iconR - The red component value of the color
iconG - The green component value of the color
iconB - The blue component value of the color
iconCoords - A table containing the texCoords to be set on the icon

I will soon expand iconCoords to support the 8-value version, as well as iconRotate to support arbitrary rotations using the new API.

These features are used in the latest version of TomTom to allow you to display the crazy arrow in NinjaPanel.

Anything else?

Please feed free to leave any suggestions or feedback! I'm interested to see what the community would like to see in a panel addon that I can easily provide.

Thanks for using my addons!

Donations:
Some people have asked, so here is a way to send me donations:

NinjaPanel
v1.2.0-release (2023-10-31)
Full Changelog Previous Releases
  • Add a simple gold tracking plugin
  • Remove stray print from debugging
  • Add support for plugin DBs
  • Fix that stupid bug
  • Attempt to fix an issue with init of CombatStats
  • Fix an issue with calling OnEnter for some tooltips
  • Fix for 10.1.0 PTR with removal of GetAddOnMetadata
  • Update TOC for 10.0.2
  • Don't require OnLeave to pick up OnEnter
  • Properly respond to inventory updates and register the new events
  • Some bug fixes for CombatStats
    - Re-compute the preferred stats when something major changes
    - Select the preferred stats using the raw values, not percentages
  • Fix some small issues with combat stats
  • Add a CombatStats plugin
  • Don't do split packaging when only one version
  • Update curseforge project id
  • Fix config registration on retail
  • Prepare for packing
  • Add and configure Luacheck
  • Create README.md
  • Re-add config to enable/disable plugins
  • Update for 1.0x (ish)
  • Update TOC for 6.1.x
  • Update LibJostle
  • Update TOC for 4.3
  • Update .TOC
  • Update to LibJostle-3.0-v40000
  • Convert svn:ignore properties to .gitignore.
  • Updated LibJostle to be compatible with 3.3.5
  • Hide the tooltip when a plugin is clicked
  • Fix a bug when an icon is set to nil, or set to a texture from nil
  • Updating TOC for 3.3
  • Update LibJostle to fix the buff movement
  • Interface version update
  • Show which feeds are launchers in the configuration UI
  • Actually display disabled plugins in the configuration dialog
  • Show tooltips for plugins that don't define any
  • Setting eol-style, bumping .TOC and providing support for data feeds that dynamically change their type
  • Updated version of LibJostle-3.0
  • Added a nil bailout in UpdatePlugin (bad mikma)
  • * Fix for moving the panel to the bottom instead of the top.. kind of
  • Fixed detach bug when disabling a new plugin
  • Fixed an error caused by custom Data Objects
  • Fixed the bad SV bug
  • Fixed tooltip bug with bad type lookup for disabled plugins
  • Fixed a bug with scrolling offset on the config screen
  • Undoing bad development branch code to start with a clean slate
  • * Commiting some broken code that I plan to back out
  • * Ensure that the scroll bar works on longer addon lists
  • * Fixed the issues with scrolling on enable/disable window
  • * Added basic configuration panel that allows you disable/enable plugins. Requires reload and may not work properly.
    * Added support for AddonLoader delayed loading
  • * Make sure to call using NinjaPanel instead of self in the context of the panel
  • * Act properly with regards to tooltip metadata, refactored handling code a bit
  • Added a development mode to assist in getting multiple bars working correctly
  • * Don't error if jostle can't be loaded
  • * Add support for the tooltip attribute
  • * Add checks for self.db.plugins[name].disabled
  • * Initialize db.plugins and sb.panels
  • * Added cases for the On<X> handlers in UpdatePlugin, so we can set them whenever they are changed
  • * Set wowi:dirname property so addon is properly packaged
  • * Fix an issue when reporting an unknown data object type
  • * Setting eol-style to native
  • Initial import from git repository
  • Creating inital directory structure
Beta Files (1)
File Name
Version
Hits
Size
Author
Date
r26
1,788
30kB
Cladhaire
04-17-09 09:08 AM


Archived Files (8)
File Name
Version
Size
Author
Date
v1.1.7-release
35kB
Cladhaire
05-20-23 03:30 AM
v1.1.6-release
35kB
Cladhaire
04-01-23 04:57 AM
v1.1.5-release
35kB
Cladhaire
01-12-23 02:13 PM
v1.1.4-release
35kB
Cladhaire
10-29-22 02:27 AM
v1.1.3-release
35kB
Cladhaire
10-29-22 02:23 AM
v1.1.2-release
34kB
Cladhaire
10-28-22 02:02 PM
v1.1.1-release
34kB
Cladhaire
10-28-22 06:38 AM
v1.1.0-release
29kB
Cladhaire
10-27-22 08:30 AM


Post A Reply Comment Options
Unread 01-20-09, 12:54 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Just pushed a new version which seem any different to you guys at all. The drag/drop should make a bit more sense and it may behave better with plugins that don't properly declare the type attribute.

You can also disable plugins via code:
Code:
/run NinjaPanel.db.plugins["PluginName"].disabled = true
There is also a nice framework for changing the size/visual aspects of the panels I just need to get it all hooked in. Also, you could alter your copy to have a bottom bar instead of a top bar by commenting out line 21 in NinjaPanel.lua and uncommenting line 22 so it looks like this:

Code:
--NinjaPanel:SpawnPanel("NinjaPanelTop", "TOP")
NinjaPanel:SpawnPanel("NinjaPanelBottom", "BOTTOM")
You CAN spawn a top and a bottom bar, but you can't drag anything to the second bar. As a matter of fact I'm not sure what will happen if you get stuff on the second bar and then disable it. I'll need to play with that =).

More stuff is coming just slowly but surely. Multiple bars on top/bottom/left/right once I get the time to get it coded.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Last edited by Cladhaire : 01-20-09 at 12:54 PM.
Report comment to moderator  
Reply With Quote
Unread 01-20-09, 05:58 PM  
TrisMcC
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Mouse pointer weirdness.

Mouse is acting funny with new update when hovering over panel.

The mouse pointer disappears. Of course, it could be an issue with 3.0.8...
Report comment to moderator  
Reply With Quote
Unread 01-20-09, 07:19 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Re: Mouse pointer weirdness.

Originally posted by TrisMcC
Mouse is acting funny with new update when hovering over panel.

The mouse pointer disappears. Of course, it could be an issue with 3.0.8...
Dunno, no idea why that would happen and don't have access to 3.0.8 until tomorrow at the earliest.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 01-28-09, 11:52 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Is there any ways to set separate plugins to left/center/right of the panel itself? atm, they are all in the left side and i can only move the position of the plugins there...
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 12:06 AM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by richerich
Is there any ways to set separate plugins to left/center/right of the panel itself? atm, they are all in the left side and i can only move the position of the plugins there...
There is no center. To move a plugin to the right, drag it to the right-hand side of the bar. If it's within 100px or so of the edge, it should snap there. If not, that would be a bug.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 10:08 AM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
Originally posted by Cladhaire
You CAN spawn a top and a bottom bar, but you can't drag anything to the second bar. As a matter of fact I'm not sure what will happen if you get
Any progress on full support for 2 separate bars?
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 12:49 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Skylinee
Any progress on full support for 2 separate bars?
I played with it a bit, and there's not even a complex series of commands I can give you at the moment. I'll do my best to get it completed.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 09:54 AM  
BW~Merlin
A Defias Bandit

Forum posts: 2
File comments: 41
Uploads: 0
Originally posted by Hellfire_
a goofy race condition with RepairBroker that I haven't worked around quite yet.
The author of Repair Broker has been working on making it work with Ninja Panel and several other LDB displays and has made great progress (although it does through out a few error's it actually works) so try updating to the latest release now if you haven't done so already.
Report comment to moderator  
Reply With Quote
Unread 02-08-09, 03:24 PM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
Does anyone know how to change the text size on the bar? I'm not a lua expert but I can generally tweak my way around. However, I don't see anything in the code that I can change. Thanks.
Report comment to moderator  
Reply With Quote
Unread 02-08-09, 04:08 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4939
Uploads: 19
Originally posted by Tanque
Does anyone know how to change the text size on the bar? I'm not a lua expert but I can generally tweak my way around. However, I don't see anything in the code that I can change. Thanks.
You can change this line:

Code:
	button.text = button:CreateFontString(nil, "BACKGROUND", "GameFontHighlightSmall")
To use another font template, or set it to use a custom font object.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Report comment to moderator  
Reply With Quote
Unread 02-10-09, 11:48 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Originally posted by Cladhaire
There is no center. To move a plugin to the right, drag it to the right-hand side of the bar. If it's within 100px or so of the edge, it should snap there. If not, that would be a bug.
Would it be possible to implement a "center" as that's the most important area for my needs.
Report comment to moderator  
Reply With Quote
Unread 02-12-09, 03:21 PM  
TDurden
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 25
Uploads: 1
Originally posted by vpr
Would it be possible to implement a "center" as that's the most important area for my needs.
I'll second this, being able to put objects in the center of the bar would be outstanding.

Great mod, thanks for making it Cladhaire.
Report comment to moderator  
Reply With Quote
Unread 02-16-09, 12:15 PM  
Tanque
A Kobold Labourer

Forum posts: 1
File comments: 170
Uploads: 0
Feature request: I'd like to see an option that hides the panel and shows on mouseover.
Report comment to moderator  
Reply With Quote
Unread 02-18-09, 11:52 AM  
copystring
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 68
Uploads: 1
Best looking LDB display in my opinion so far, i can't wait until it's finished!
Report comment to moderator  
Reply With Quote
Unread 02-25-09, 08:10 AM  
Gupux
A Kobold Labourer

Forum posts: 1
File comments: 3
Uploads: 0
The bar seems to be missing a row of pixels on left side and the top on 1680x1050 resolution. Atleast that's how it is for me. Not sure if that's intended but judging from the screenshots I've seen it should "fill" the top of the screen completely.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: