Unofficial World of Warcraft Forums  
Please respect other members. Please do not post links or information about hacking/warez/cheats.
Read the rules of these forums as we rarely warn before banning. Lost or need RSS check the forum map.

Quick Site Nav
Navigation
Worldofwar.Net
WoW Forums
WoWDigger WoW Database
Articles
Community Blogs
WoW Info
Wrath of the Lich King Info
Primary Professions
Secondary Professions
Maps
Classes
PvP
A-Z Index
Guides
Submit Guides
List Guides
UI/Mods
Latest Mods
Submit Mod
List Macros
Submit Macro
Media Gallery
Gallery Home
Upload Pics
Community WoW Shots
Community BC Shots
Player Pics
Official WoW Shots
Official BC Shots


Donate and get extra forum perks
Support WoW:IncGamers

Go Back   Unofficial World of Warcraft Forums > WoW Community Forums > UI Customisation > UI/Mod Developer Forum

Reply
 
Thread Tools Display Modes
Old 27-06-2006, 01:58 PM   #1
Athene
WorldofWar.Net Member
 
Athene's Avatar
 
Join Date: Mar 2005
Location: Oslo, Norway
Posts: 43
Button picture problem

I've made a button for my mod, and I've made a picture for it. But I dont understand a tiny bit of how to put the picture on the button...
I've looked at the codes from 5 other mods with such buttons, but I can't make it work nomatter what I do.
First I tried looking at Blacklist, but I could only get the picture working if I put it in the exact same location where the Blacklist pictures are, or it wouldnt work... So my picture is fine, but if I just move it to a different folder or rename it, then it wont appear...
Then I tried looking at some other mods, but they all refer to files that I can't even find anywhere, like "Interface\Buttons\UI-Quickslot2"...

Then I tried looking for a tutorial on the web, but I havent found any.
Can anyone help? Maybe someone could make a very simple mod that just creates a button with a picture on it, and that's it. Then I could see how I can make it work
Athene is offline   Reply With Quote
Old 27-06-2006, 09:26 PM   #2
bigblue
WorldofWar.Net Member
 
Join Date: Jan 2006
Posts: 3
Code:
<Layer level="ARTWORK">			
<Texture name="$parentTexture" file="Interface\AddOns\your_addon\picture">
<Size>
<AbsDimension x="32" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>				
</Layer>
bigblue is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

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

Forum Jump


All times are GMT +1. The time now is 09:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Advertisement System V2.5 By   Branden