WPB Development Continues

WPB Development Banner

WoWPUGBuilder (WPB) development continues. In the latest version I've gone back and pretty much re-written the code for the drop down menus. I wanted the UI look and feel to be more in line with what a drop down menu should look like rather then a regular push button. As you can see from this screen shot...

WPB Development Screen Shot

... I've gone and created three drop down menus for the user to choose the group type (ie dungeon, raid, battleground, or zone), the name of what they are looking for the group to do (the name of the instance), and for what channels they wish the message to be announced on.

Once I got the hang of how the UIDropDownMenu API worked it was pretty easy. I did have some trouble getting it to work initially, but I soon realized that the way I was going about it was unnecessarily complex and I simplified things a bit. I haven't put in the code that will take the selection input and do something useful with it yet (like building the message) but I should be there soon.

Currently, however, I'm having some slight cosmetic issues with the drop down menus. One issue is that despite setting info.notCheckable = true; I am still getting a residual checkmark graphic that is stuck within the menu text. Also, it seems that the function that builds the menu does not keep the order in which the menu data is arrange in the table. I should be able to figure these out over the next few sessions but I think I'm going to put these problem on the back burner while I work on getting some other functionality finished.

As for WPB @ Curse, the two previous version seem to have received a modestly warm welcome. There has been some good feedback as well as some additional help from a fellow curse user who took it upon himself to improve the original version of WPB. I asked him for his code and promptly posted it to Curseforge as version 0.2b. Thanks go out to ninjaslurpy for his help!

Comments