Thread Tools Display Modes
Prev Previous Post   Next Post Next
01-12-12, 06:43 PM   #26
Unkn
Premium Member
 
Unkn's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 258
Okay so this might be your problem. Are you moving the file you are trying to use the the litepanels media folder? That folder is located in the Litepanels Addon folder, it should be empty or might have a couple files in it already.

If yes... then
lua Code:
  1. tex_file = "glosstex",
... like in your example will work if the file is in correct format.

If no... then you need to make sure the path is correct.
Example:
lua Code:
  1. tex_file = "Interface\\Addons\\oUF_Karma\\media\\Statusbar.tga",
  2. tex_file = "Interface\\Addons\\FOLDER\\TEXTURE",

That could explain your black box problem.

One of my panels looks like:

lua Code:
  1. {   name = "CenterGraphic",
  2.     anchor_to = "BOTTOM", anchor_from = "BOTTOM",
  3.     y_off = 10, x_off = 0,
  4.     height = 100, width = "25%", level = 1,
  5.     tex_file = "Interface\\Addons\\oUF_Karma\\media\\Statusbar.tga",
  6.     bg_color = {.15,.15,.15}, bg_alpha = 1,
  7.     border = "SOLID", border_size = 2, border_color = {0,0,0}, border_alpha = 1,
  8. },
__________________
"I'm very feminine. And I'll beat the crap out of ANYONE who disagrees!"
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » Released AddOns » LitePanels - An art framework


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off