EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 05-13-2009, 01:27 AM
samejima samejima is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2005
Server: Unrest
Posts: 156
Default Custom Icons?

I could not find any documentation on making your own icons. Is this even possible? Also to clarify I mean like making a button using the Icon tag, not the graphical portion of it.

Again to clarify, I know you can add IconResource and IconRect but I figure there has to be a better way!

Last edited by samejima : 05-13-2009 at 01:40 AM.
Reply With Quote
  #2  
Unread 05-13-2009, 02:35 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by samejima View Post
I could not find any documentation on making your own icons. Is this even possible? Also to clarify I mean like making a button using the Icon tag, not the graphical portion of it.

Again to clarify, I know you can add IconResource and IconRect but I figure there has to be a better way!
Sorry, I still don't get the question. For the graphical portion of an icon you'd add an iconstyle or iconresource/rect directly as you said. However, for making a button you'd usually use something like the button or checkbox instead. edit: For using an icon as a button see my post below.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 05-13-2009 at 04:35 AM.
Reply With Quote
  #3  
Unread 05-13-2009, 04:19 AM
samejima samejima is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2005
Server: Unrest
Posts: 156
Default

You answered my question then. I figured there was an easier way such as Iconstyles. I dabbled with it shortly but no matter what I did the Icon would not change. Then I hard coded it via Icon Rect/Source, hence the confusion.
Reply With Quote
  #4  
Unread 05-13-2009, 04:34 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

IconStyles do work though, unless I misunderstood again.

However, reading my post above it's not quite correct/complete, you can add an OnPress to an <Icon> if you add the TreatAsButton=true parameter, but you probably knew that also.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #5  
Unread 05-13-2009, 04:39 AM
samejima samejima is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2005
Server: Unrest
Posts: 156
Default

Aye, essentially I could not get IconStyles to work. So I just ended up hard coding it.
Reply With Quote
  #6  
Unread 05-13-2009, 05:56 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

For the styles I think you needed to set BackGlowResource/Rect instead of IconResource/Rect. Or maybe it was in addition to. I'd have to check, just try it out.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 02:42 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI