Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > General authoring help / discussion
User Name
Password

Reply
 
Thread Tools Display Modes
Old 07-26-2014, 05:23 PM   #1
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default Question about frames.

Hi,
Just a quick question about using frames.
I have my buff window setup so the buff icons are in a staggered column.
I was thinking about changing the window to use frames so I could make it resizable, but then thought it probably wouldn't work because I'd need the frames to overlap.
Then, I had another thought, is it possible to have an element inside a frame that is positioned outside the frame ?

e.g.
I have a frame that is 100 x 12 and an icon that is 24x24
Could I tell it to position the icon at position -12x76

Just gave it a quick try and it was just cutting off half the icon, but I may have been missing something.

Any thoughts, suggestions, etc much appreciated.

Ang.
Attached Files
File Type: xml EQUI_BuffWindow.xml (61.3 KB, 1 views)
File Type: xml EQUI_BuffWindow - with frames.xml (61.8 KB, 0 views)
__________________
My UI files.
Angahran is offline   Reply With Quote
Old 07-26-2014, 06:33 PM   #2
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

I don't think so, but you could use a transparent background to make it appear as if the icon is outside the frame.
__________________

firescue17 is offline   Reply With Quote
Old 07-26-2014, 09:39 PM   #3
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Interesting idea, but the reason I was trying to use the frames was to use them in a layout box and that's not gonna allow overlaps.

Thanks anyway
Angahran is offline   Reply With Quote
Old 07-27-2014, 12:02 AM   #4
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

I guess I don't understand the dilemma? You can put buff icons and the eqtype labels into a layout box. Graphite has a working example. Maybe you could go into a bit more detail on what you're attempting to accomplish.
firescue17 is offline   Reply With Quote
Old 07-27-2014, 10:39 PM   #5
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

I currently have a buff window where the icons are staggered.
(the first icon is at right, top, then the next is offset to the left by the icon's size and down half the icon's size, does that make sense. Then the third icon is directly under the first icon... repeat...)

Someone asked if I could make the window sizable, so I thought, if I could use frames I could put them into a tilelayout box and it would be all good to go (I just did the same thing to my extended target window).

Unfortunately I'd forgotten the staggered icons and that's where everything falls down.

Thanks for the replys, it just isn't gonna work.

Ang.
Angahran is offline   Reply With Quote
Old 07-28-2014, 01:41 AM   #6
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

I've seen your screenshot, I understand the staggered layout.

You could put a pair the buffs up into a screenitem to make a "set", then place the screenitems into a tilebox. In this manner the staggered pairs would then tile.

The vertical alignment would look like:
------
|[1] |
| [2]|
------
|[3] |
| [4]|
------
|[5] |
| [6]|
------
|[7] |
| [8]|
------

A horizontal alignment would look like:
-------------------
|[1] |[3] |[5] |[7] |
| [2]| [4]| [6]| [8]|
-------------------

A block layout would look like:
----------
|[1] |[5] |
| [2]| [6]|
----------
|[3] |[7] |
| [4]| [8]|
----------
firescue17 is offline   Reply With Quote
Old 07-28-2014, 03:51 PM   #7
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

I could, or just do single.
The reason for having them staggered is so they don't take up so much screen space.

Spellname 1 [ 1]
Spellname 2 [ 1] [ 2]
Spellname 3 [ 3] [ 2]
Spellname 4 [ 3] [ 4]
Spellname 5 [ 5] [ 4]
etc ..... [ 5]

So, no real reason to have the icons staggered if they are simply one under the next under the next...

hmmm, wonder if the tilelayout box can handle negative spacing ? That may allow overlaps and if I just make everything transparent it may work (just have to click the top (or bottom) half of the icon to bring up the menu).

Will have to have a play around.

Thanks,

Ang.
Angahran is offline   Reply With Quote
Reply



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

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


All times are GMT -5. The time now is 11:57 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI