EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Dev Shack (https://www.eq2interface.com/forums/forumdisplay.php?f=11)
-   -   UIBuilder update (https://www.eq2interface.com/forums/showthread.php?t=1726)

SOE_Bobble 03-04-2005 05:37 PM

UIBuilder update
 
Hello.

I wanted to let everyone know that the EQII team is planning on pushing an update to UIBuilder soon. It will likely end up on the test server first.

Highlights:
- zoom and scroll around the windows view
- splitter control
- VolumePage has a VolumeFill property (double click on it to cycle)
- Progress bars should now work vertically
- a few more property fields cycle on double click (Horizontal/Vertical, Left/Center/Right, Top/Center/Bottom,VolumeFill)
- UILibrary bug fixes since the last UIBuilder release (Oct 2004)
- A few modifications to the documentation

Please continue to report bugs with the tool and documentation as well as adding your feature requests to the wish list boards.


I also wanted to warn people that modifications to the Maintained window are going to break in an upcoming client update. Our goal is to not break user mods whenever possible. Sometimes however, it is necessary.

MrBobble

Dolby 03-04-2005 10:18 PM

That is great news!

ger 03-04-2005 11:10 PM

Ooh, good news. And a good reason to stop mucking with my maintained window. ;) Thanks for the heads up!

Drumstix42 03-05-2005 12:10 AM

Sweeeeet :D

Talyns 03-05-2005 12:43 AM

Awesome!

Love the fact that I didn't get a memory leak message on exit when I loaded it up and played with the new features..

Suggestions:
Make it so that the Popup Windows (ie SourceRect Window, Property Editor) are always on top of everything.. And the Main Windows paint correctly when they are moved.

Make it so the title on the tree view and in the task bar are the name of the UI from SkinInfo.

Make it so that If I right-click on an EQ2UI.XML and click "Open With" then choose the builder it opens the builder and file.

Thanks!

SOE_Bobble 03-05-2005 12:44 AM

Released
 
The updated UIBuilder is on the test server.

Please post any new problems you run into.
MrBobble

taco-man 03-05-2005 12:44 AM

thank you for letting us know!

Humudce 03-05-2005 12:55 AM

Wow, Looking good :) No Memory Errors Woot.. Thanks SOE Bobble.

Drumstix42 03-05-2005 01:14 AM

Bobble! Sorry to go off topic, but would you have any comments about /loadui? Is it on the backbuner? Is it in development? I could go for anything :)

Zonx 03-05-2005 03:21 AM

Bobble, UIBuilder desperately needs a ColorStyle for assignment to any color property.

This would allow us to create a ColorStyle for all objects of a given type (window titles for example) and tweak the color globally.

With a properly configured UI, users could then easily change the appearance of their UI by editing the ColorStyles file ;)

I tried facking this by converting titles from Text objects to buttons, but it broak WC_Title behavor and no text replacement occured for dynamic titles.

Color Effectors are almost workable for this, but the need for a trigger event directly on the text object is problematic.

Deathbane27 03-05-2005 05:33 AM

Sweet changes, thanks for the update. :D

Deathbane27 03-05-2005 05:45 AM

Anyone know how to work the new "Splitter" control? It's got OnChange as a listed property so it's gotta be something useful. :p

Code:

7.4.26 Splitter
Parent : Widget
Allow two widgets to be resized

        OnChange - action
                string

        Style
                SplitterStyle

        ControlBefore
                Widget

        ControlAfter
                Widget

7.4.27 SplitterStyle
Parent : WidgetStyle
Style for a splitter

        Layout
                Horizontal
                Vertical

        StartCap
        Background
        EndCap


SOE_Bobble 03-05-2005 10:19 AM

UISplitter Sample
 
How to use UISplitter:

Splitters are currently not be available to test in the game (even on the test server.) Might be a case of letting you have access a little too soon. :)

However, you can play with them in UIBuilder.

Think sliderbar without the thumb/slider--
It needs a style - horizontal means the splitter moves vertically.
Background is the bar image. Startcap/Endcap draw on either end.

And then assign a widget/page to ControlBefore and ControlAfter. Before should be above or to the right, after = below/left.

You can set a minsize and/or maxsize on the two controls if desired.

Here's a sample window with a splitter:
Code:

<?xml version="1.0" encoding="utf-8" ?>
<Page Name="root" ScrollExtent="800,600" Size="800,600">
  <Page Name="Sample" ScrollExtent="320,240" Size="320,240">
    <SplitterStyle Name="SplitterStyle" />
    <Page BackgroundColor="#0000FF" BackgroundOpacity="1.000" Name="Before" ScrollExtent="316,99" Size="316,99" />
    <Splitter BackgroundColor="#F0F0F0" BackgroundOpacity="1.000" ControlAfter="After" ControlBefore="Before" Location="4,106" Name="Splitter" ScrollExtent="310,14" Size="310,14" Style="SplitterStyle" />
    <Page BackgroundColor="#00FF00" BackgroundOpacity="1.000" Location="26,127" Name="After" ScrollExtent="268,98" Size="268,98" />
  </Page>
</Page>

It may be a challenge for UI mods to use the splitter for windows where the code is searching for widgets. Adding another page as a container solves lots of layout issues, including those for the splitter. But by default, the code doesn't search children for widgets. There is a fix for that, but it hasn't been applied everywhere yet.

The first "official" splitter will be used for the quest journal window in an upcoming update. To keep older versions from breaking, it will search subpages for widgets. If that proves useful, we will likely apply that to more windows.


MrBobble

SOE_Bobble 03-05-2005 10:40 AM

Named colors
 
Zonx,

I have been trying to figure out a way to introduce "named colors" into UIBuilder since Beta. I'll start thinking about a solution again.

<Insert disclaimer here about scheduling and promising features and Gallenite never letting me post on the boards again>

You almost got me excited enough to start going into the code this morning instead of playing EQII. Maybe this afternoon...
MrBobble

ger 03-05-2005 10:43 AM

I'm sure I'm going to get stoned as a heathen for saying this, but speaking as someone who's given up play time to be elbow-deep in C# for a mod support file, don't work too hard. We don't want you deciding this isn't fun anymore. ;)

SOE_Bobble 03-05-2005 10:59 AM

/loadui
 
Quote:

Originally Posted by Drumstix42
Bobble! Sorry to go off topic, but would you have any comments about /loadui? Is it on the backburner? Is it in development? I could go for anything :)

Drumstix42, it is on my whiteboard as a nagging reminder. I'll see if I can get it a higher priority (it is a crash bug afterall.)

Slightly off topic, I highly recommend The Bug by Ellen Ullman.

MrBobble

Blackguard 03-08-2005 10:15 PM

More from Mirk...


There is more good news ( besides the additional maintained slots ):

- The tooltip will display the target name.

- The window will fill down then left then left to right. It used to fill left to right is there was space.



UI modder notes:

- VolumePage now has a VolumeFill property. Set it to "left to right", "right to left", "down", "up".

- The DynamicData for the maintained window has been expanded to include spell name, target name, and duration data.



--
bob mitchell
EQII programmer

ger 03-08-2005 11:20 PM

Quote:

Originally Posted by Blackguard
UI modder notes:

- VolumePage now has a VolumeFill property. Set it to "left to right", "right to left", "down", "up".

You have no idea how happy thi makes me. It'll make remodding the maintained window to the horzontal/right-to-left format I'm using so much easier than it was last time. :) Thanks for the updates.

Weegie 03-22-2005 07:48 PM

Quote:

Slightly off topic, I highly recommend The Bug by Ellen Ullman.

MrBobble
..bought it...read it...good book :) I'll leave it at that. :nana:

taco-man 03-24-2005 06:25 PM

any chance of making vertical progress bars show up in the ui builder?

Reflection Rip 04-04-2005 11:54 PM

More GameData Types, Save Window Settings.
 
One thing I would love to see in future versions of UIBuilder, and EQ2, is the removal of some of the 'FIXED' data, and adding more gamedata types.

Currently it is impossible to move around Inventory slots for bags, and hotkey slots.

For example, I want to create a bag that uses a 'Volume Page' so that the
bags can be resized. However the only way to do that now is to replace the Inventory.Bag 'Page' with a 'Volume Page'. And I may say doing so is a very UGLY solution. Adding a 'GameData.Bags.Slot1' ... 'Slot30' would fix this problem.

I would also love to have options, like checkboxes, and window settings to save. I had a mod that included checkboxes for 'player window settings' but they had to be re-set every time the player logged in.

Sir Taleisin The Seer 05-03-2005 01:56 AM

Quote:

Originally Posted by taco-man
any chance of making vertical progress bars show up in the ui builder?

the ones I have been making have allways worked :confused:
( first vertical bar I created was in december )


All times are GMT -5. The time now is 12:14 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI