Question about skin/UI.

Bonehead

Fledgling Freddie
Joined
Jan 22, 2004
Messages
1,217
I'm making my own UI atm, and tbh it's not that hard. But still, i got a question for you who know more about this then me:

I'm remaking my info window (miniinfo_window.xml). I'd like to add a button that is linked with info window (special info). You userly press shift+i to get this window on screen.

I have not yet seen any other UI with this feature. But since i've seen this in housing by the market explorer, i figured to should be able to pull off. When searching on an item and your hits are shown, you can select your item (left click) and then press this 'info' button to get special details, just like you do when pressing shift+i (or whatever button you have bounded it to).

So my question is simple. Is this doable, or is it not.
And if it is - how? :)

ty
 

Elcain

Fledgling Freddie
Joined
Dec 22, 2003
Messages
192
Bonehead said:
I'm making my own UI atm, and tbh it's not that hard. But still, i got a question for you who know more about this then me:

I'm remaking my info window (miniinfo_window.xml). I'd like to add a button that is linked with info window (special info). You userly press shift+i to get this window on screen.

I have not yet seen any other UI with this feature. But since i've seen this in housing by the market explorer, i figured to should be able to pull off. When searching on an item and your hits are shown, you can select your item (left click) and then press this 'info' button to get special details, just like you do when pressing shift+i (or whatever button you have bounded it to).

So my question is simple. Is this doable, or is it not.
And if it is - how? :)

ty

im 99.9% sure the answer is no
 

Raven

Fuck the Tories!
FH Subscriber
Joined
Dec 27, 2003
Messages
44,867
you should be able to, part of my UI has /face /stick and run on so i think a get around would be to bind shift + I to a single key then have a UI button that presses that key, if you see what i mean. only way i can think of doing it.
 

Bonehead

Fledgling Freddie
Joined
Jan 22, 2004
Messages
1,217
Raven said:
you should be able to, part of my UI has /face /stick and run on so i think a get around would be to bind shift + I to a single key then have a UI button that presses that key, if you see what i mean. only way i can think of doing it.
If i wanted to bind it to another key without help of shift, i didn't have to add the 'info' key, would i? :)
 

Elcain

Fledgling Freddie
Joined
Dec 22, 2003
Messages
192
Raven said:
you should be able to, part of my UI has /face /stick and run on so i think a get around would be to bind shift + I to a single key then have a UI button that presses that key, if you see what i mean. only way i can think of doing it.

but you cant do that
 

Nicci

Fledgling Freddie
Joined
Dec 23, 2003
Messages
40
Bonehead said:
So my question is simple. Is this doable, or is it not.
And if it is - how? :)
Not doable atm, since the merchant window is hardcoded (no xml available)
 

Roken

One of Freddy's beloved
Joined
Jan 7, 2004
Messages
150
Are you sure? Does the following work? (Change X & Y co-ords etc..)
I am at work and can't test :D

<ButtonDef>
<ControlId></ControlId>
<Position>
<X>120</X>
<Y>63</Y>
</Position>
<Alignment>
<TopLeft>true</TopLeft>
</Alignment>
<TemplateName>button_transparent</TemplateName>
<Label>INFO</Label>
<onClickEvent>MerchantQuickDesc</onClickEvent>
</ButtonDef>
 

Nicci

Fledgling Freddie
Joined
Dec 23, 2003
Messages
40
Roken said:
Are you sure? Does the following work? (Change X & Y co-ords etc..)
I am at work and can't test :D

<ButtonDef>
<ControlId></ControlId>
<Position>
<X>120</X>
<Y>63</Y>
</Position>
<Alignment>
<TopLeft>true</TopLeft>
</Alignment>
<TemplateName>button_transparent</TemplateName>
<Label>INFO</Label>
<onClickEvent>MerchantQuickDesc</onClickEvent>
</ButtonDef>

MerchantQuickDesc displays the mini_info window, not the delved information of the selected item afaik :)
 

Users who are viewing this thread

Top Bottom