EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-05-2009, 03:00 PM
cdslaughter cdslaughter is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default Creating a Custome UI element

I have read threw most of the UIBuilder doc, and have a few questions I hope someone can answer.

I want to create a new element that has a data grid in it. Each of these data-grid cells will represent a hot-key from an existing hotbar (I will still use the hot-bars, like normal). I will be setting the foreground tint to match the state of that hot-bar item (Red-out of range, Blue-no power, grayout-not ready).

Any input on how to apply onclick actions and changing the colour of that single cell would be greatly appreciated.

Thanks
Reply With Quote
  #2  
Unread 10-05-2009, 03:09 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

There's really no way to interact with what's going on with a Hotkey in the UI unfortunately. I'm not even sure if you can decipher which hotbar is which via UI scripting.

Far as I know, only inside the hotbar window itself can you mess with the hotbar.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #3  
Unread 10-05-2009, 03:25 PM
cdslaughter cdslaughter is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default

ok, how about this, If I create a data-grid as before, how would I go about ajusting the forground or background opacity based off of a timer (Casting for example)?
Reply With Quote
  #4  
Unread 10-05-2009, 03:27 PM
cdslaughter cdslaughter is offline
A Young Mystail Rat
 
Join Date: Oct 2005
Server: Antonia Bayle
Posts: 3
Default

As I am already using the standard UI as a base reference, I can not find any examples of a datagrid being used.
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 01:03 PM.


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