Download
(26 Kb)
Download
Updated: 10-05-13 02:58 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-05-13 02:58 AM
Created:02-07-10 06:04 PM
Downloads:3,661
Favorites:31
MD5:
5.4
Scrolling Watch Frame
Version: 5.4.0.17399
by: Xrystal [More]
About the Scrolling Watch Frame Addon
This addon allows the user to set their watch frame into a more convenient size and position with nUI users gaining extra functionality to 'dock' the frame in an infopanel.

Credits and an Alternative
Seerah's WatchFrame Addon has many similar and more features so if this isn't quite what you want or you want to weigh your choices go check it out : http://www.wowinterface.com/download...herWabbit.html. I must admit that the recall of the current collapse status the last time you logged out and recording the position of both collapsed and expanded positions for those users that wish to have two places to place the frame came from that addon either as an idea or an inspiration of. Thanks Seerah.

Slash Commands Available
/swf reset - Resets the data to the programmed defaults, may require an automatic reload of the UI
/swf dock - Toggles the docking mode for nUI users and will require an automatic reload of the UI
/swf scroll x - Sets the scroll size to x which will allow more quests and achievements to be watched ( 1000 to 5000 )
/swf height x - Sets the undocked frame's height ( 100 to 800 )
/swf width x - Sets the undocked frame's width ( 300 to 600 )
/swf lock - Toggles the undocked frame's movability
/swf background - Toggles the current docked status frame's background status
/swf multiple - Toggles the ability for the undocked frame to track both the collapsed and expanded position anchors with the main anchor used for single position tracking
/swf options - Show the UI Version
/swf autohide - Toggles the ability for the undocked frame to automatically hide if there is nothing being tracked.


Note: If you need a higher number for those with ranges let me know and I will raise the bar.

Other Information
The following Blizzard Watch Frame values have been changed to reflect the size of OUR watch frame:
WATCHFRAME_MAXLINEWIDTH is changed to match the space available
WATCHFRAME_MAXQUESTS = 50 - instead of 10
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50 - instead of 5

Note: WATCHFRAME_MAXACHIEVEMENTS cannot be overridden for some reason however much I tried. WATCHFRAME_MAXQUESTS can be overridden but not programmatically updated. However, the others do work as expected. At the top of the WatchFrame.lua file for this addon you will see the two lines near the top. You can personally change these to a higher value as needed but I have not extensively tested anything beyond 50 ( namely because I haven't got that many quests rofl ).

Known Problems:
When you first utilise the Dock option to put the watch frame into an InfoPanel ( nUI Users only ) there is a period of time where you may encounter a bug due to the Blizzard WatchFrame not existing for a few seconds. Due to this error, which I am trying to identify, it stops the Blizzard watch frame from doing its work. It can be confirmed by trying to track a quest if it seemingly displayed fine. A Reload or Relog will solve the problem.

Foreign Language Versions
At the present this plugin does not support multi language settings.
enUS and enGB versions will work fine however and the ability to add new languages is possible using the addonData.Localization values accordingly.
-------------------------------------------------------------------
[Version 5.4.0.17399]
-------------------------------------------------------------------
Just a TOC change

-------------------------------------------------------------------
[Version 1.04.00]
-------------------------------------------------------------------
SWF_SavedVars.lua
-->Fixed defunct global references
SWF_Main.lua
-->Fixed defunct global references

-------------------------------------------------------------------
[Version 1.03.02]
-------------------------------------------------------------------
SWF_Main.lua
-->Do not execute watch frame updates if we are using an infopanel but it has not yet been made - delay in process ?
nUI_InfoPanel.lua
-->Apply current settings when the frame is selected
-->Make sure plugin is valid before using it
-->Stored strata and level of frame and restore them on disablement

-------------------------------------------------------------------
[Version 1.03.01]
-------------------------------------------------------------------
General Changes
-->Removed 3.3.2 specific code and switched to 3.3.3 full time
ScrollFrame.lua
-->Temporarily Unlock frame when hiding/showing subcomponents
-->Refresh ScrollBar Visibility based on conditions and place in reusable function
Interface.lua
-->Added the ability to create Drop Down Menus
SWF_SavedVars.lua
-->Removed ExpandedAnchor variables
-->Corrected defaults for CollapsedAnchor
SWF_Options.lua
-->Now holds updating of options data adjusted via the slash commands, options screen and options menu
SWF_SlashCommands.lua
-->Removed Menu and Screen setting up functions from here, it now only handles slash command functionality
SWF_Interface.lua
-->Interface Options Screen to handle just the options UI Screen functionality
SWF_Menu.lua
-->Interface Options Menu to handle just the Options Menu functionality
SWF_Main.lua
-->Use OnEnter to trigger a WatchFrame_Update call to refresh the frame again
-->Added Options Button
-->Created Drop Down Menu
Problems Spotted to still occur:
-->nUI Users may find that due to the start up errors that we are getting you may lose some settings related to this addon. Sometimes it seems to reset itself and other times it just drops the quests. I haven't found anything that can countermand this without breaking something else.
-->Scrollbar Stickiness : I have tried to get it so that the scrollbar disappears under certain conditions ( no more room to scroll, no background and being collapsed. If the frame is locked in place sometimes the changes do not occur as quick as we would like. So I made some slight changes to how this can be sped up. 1. For when locked is not set a mouse over the frame will cause it to update the frame along with the scroll. 2. Similarly with opening and closing the options interface window.
-->Whilst annoying these seem to be the main problems I have been coming across since the last set of changes made. So, please let me know if something else occurs for you.

-------------------------------------------------------------------
[Version 1.03.00]
-------------------------------------------------------------------
Note: This version is for 3.3.3. I haven't fully tested it's use on 3.3.2 but I have tried to code it so that it works on both versions. If it doesn't, until 3.3.3 goes live or I update it to work, then use last version instead.
All Generic files
-->Now uses their own version pattern 0.xx.xx so as to not confuse over multiple addons
WatchFrame.lua
-->Only use Collapsed Anchor if using multiple anchors
-->Added parent parameter so we don't risk using UIParent in error
-->Incorporate new ExtendedWatchFrameWidth options
-->Incorporate new Filter Options
-->Incorporate new UserCollapsed status
ScrollFrame.lua
-->Can drag with left and right button
-->Moved Resize of ScrollSize to onResize Function
SWF_SlashCommands.lua
-->Check the AutoHide status of the frame
-->Update unused Anchor as well
SWF_SavedVars.lua
-->Use PEW as well as VariablesLoaded Event to ensure data available
-->Added UserCollapsed Variable to Saved Variables
SWF_Main.lua
-->Use WatchFrameHeader if it exists instead of WatchFrameTitle
-->Various changes to utilise new expanded width cvar value
-->Work in the new filter system if they exist
-->No Longer tracking OnShow with a setscript as the watchframe is constantly updating now
-->Hide Scrollbar if no background unless in an infopanel
-->Positioned WatchFrameCollapseExpandButton a bit further right to account for WatchCount addition
Known Problems
-->After relogging in after collapsing it Blizzard will sometimes untrack quests - Blizzard Tracker doesn't keep collapse state to compare
-->If the options=nil error occurs for nUI users Blizzard seems to forget about its quests track status and thus will change the status of the tracker after the reloadui
-->If you play with the toggle multiple anchor setting while in a collapsed state it sometimes moves the collapsed window slightly
-->Despite many attempts at getting the scrollbar to hide if there is no background sometimes it refuses to, right clicking a quest and show quest details will refresh it
-->Sometimes when toggling to an infopanel it will require a second reload of the UI to fully work, confirm by tracking a quest after it has successfully toggled

-------------------------------------------------------------------
[Version 1.02.01]
-------------------------------------------------------------------
SWF_Main.lua
-->Default the Heading, Button and Watched Lines as Shown as Blizzard may have hidden already
-->Removed OnResize script and function as they were actually redundant
-->Added OnUpdate function which can be called to carry out tasks before a final call to WatchFrame_Update
-->Restore the WatchFrame Status if not in an infopanel
ScrollFrame.lua
-->Temporarily Unlock frame for resizing of subcomponents
-->Removed OnSizeChanged script. Instead resizing will be done when we want
WatchFrame.lua
-->Don't restore Watch Frame Status in case we don't want to
SWF_SlashCommands.lua
-->Only Restore non InfoPanel frames and just expand the infopanel ones

-------------------------------------------------------------------
[Version 1.02.00]
-------------------------------------------------------------------
WatchFrame.lua
-->MaxLineWidth constant needs to match width of container frame if it exists
-->Removed AutoWiden option
SWF_Main.lua
-->Added new Options Frame to Frame List
-->Set Scroll Frame to be low on the strata just like the official WatchFrame
-->Hide Scroll Bar if in Collapsed Mode regardless of ScrollSize setting
-->Refresh WatchListWidth constant when collapsing and expanding
-->Show frame regardless if not autohiding or in infopanel
-->Added OnShow and OnResize Functions/Scripts for non infopanel users
-->Create Slash Command Interface
-->Update the WatchFrame once the InfoPanel has been set up
Interface.lua
-->New File to handle common interface tasks
SWF_SlashCommands.lua
-->Access new Interface options
-->When you show the Options Interface refresh with current data
-->Create the Slash Command Interface
-->Access to Options Interface added to slash command list
-->Dock and Reset options separated for sharability with Interface options
-->Added AutoHide feature to slash commands
-->Correctly display lock status when seeing current settings
SWF_SavedVars.lua
-->Added AutoHide Option to Saved Variables
ScrollFrame.lua
-->Refresh the ScrollSize when resizing as well
-->Handle OnResize Event for the frame
-->Added Script to monitor size changing to resize sub components

Constants that can be changed in WatchFrame.lua file
WATCHFRAME_MAXQUESTS = 50 - instead of default of 10
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50 - instead of default of 5

Slash Commands added to SWF_SlashCommands.lua file
/swf options - to show options frame
/swf autohide - to toggle the autohide feature

-------------------------------------------------------------------
[Version 1.01.01]
-------------------------------------------------------------------
ScrollFrame.lua
-->Resize both Scroll and Child Frames to suit new width of Container
SWF_Main.lua
-->Added Hook into WatchFrame_Update
-->Added Auto Hide option so when WatchFrame wants to hide, so does ours
-->Resize Child Frame to reflect quest item icons
WatchFrame.lua
-->Added AutoHide and AutoWiden options
-->Update the WatchFrame to reflect the changes made
-->Override WatchFrame Constants to 50 barring Achievements which don't work anyway
-->Override WatchFrame MaxLineWidth Constant to match width of frame
SWF_SlashCommands.lua
-->Update the WatchFrame when these changes are made as well
nUI_InfoPanel.lua
-->Forgot to size the frame when the infopanel was resized
Known Rectifiable Problems
-->If you adjust the scrollsize with swf scroll to a smaller number after watching more quests to fill the larger scroll frame it just won't display the quests but they are still counted as watchable.
Suggestion : make sure you have ample scroll space before watching a quest, expand scroll space when you run out.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
1.04.00
26kB
Xrystal
10-14-10 02:03 PM
1.03.02
30kB
Xrystal
04-09-10 05:06 AM
1.03.01
30kB
Xrystal
03-29-10 01:15 PM
1.03.00
26kB
Xrystal
03-23-10 05:44 AM
1.02.01
21kB
Xrystal
03-12-10 03:15 PM
1.02.00
20kB
Xrystal
03-11-10 02:04 PM
1.01.01
16kB
Xrystal
02-08-10 11:17 AM
1.01.00
15kB
Xrystal
02-07-10 06:04 PM


Post A Reply Comment Options
Old 02-07-10, 07:29 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Coming Features

Planned Features currently being worked on but were taking to long to be put in here will be added as follows :

1.01.01 - Implemented, details further in this thread.
1.02.00 -Implemented, details further in this thread.
1.03.00 - Implemented, details further in this thread.
1.03.01 - Implemented, details further in this thread.
1.03.02 - Implemented, details further in this thread.
1.04.00 - Hopefully this version will have font changes ( Header and Body Text Size/Font/Color ) and choice of BackGround color/border/alpha etc. Details will appear in a more up to date post with current status.


That said, any other ideas you may wish you had please let me know. And if one of your questions are, ' Why haven't we got this for .... plugin ? ' in relation to several of my other addons that are infopanel plugins. The answer is, because I didn't know I could until now. This is the first and any of the ones I can change to work like this I will be doing once I have got the planned changes implemented here.
__________________
Last edited by Xrystal : 04-09-10 at 05:34 AM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-08-10, 11:07 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Version 1.01.01 Changes

These changes will also be in the ChangeLog but here they are as well for your perusal.

-------------------------------------------------------------------
[Version 1.01.01]
-------------------------------------------------------------------

ScrollFrame.lua
-->Resize both Scroll and Child Frames to suit new width of Container
SWF_Main.lua
-->Added Hook into WatchFrame_Update
-->Added Auto Hide option so when WatchFrame wants to hide, so does ours
-->Resize Child Frame to reflect quest item icons

WatchFrame.lua
-->Added AutoHide and AutoWiden options
-->Update the WatchFrame to reflect the changes made
-->Override WatchFrame Constants to 50 barring Achievements which don't work anyway
-->Override WatchFrame MaxLineWidth Constant to match width of frame

SWF_SlashCommands.lua
-->Update the WatchFrame when these changes are made as well
nUI_InfoPanel.lua
-->Forgot to size the frame when the infopanel was resized
Known Rectifiable Problems
-->If you adjust the scrollsize with swf scroll to a smaller number after watching more quests to fill the larger scroll frame it just won't display the quests but they are still counted as watchable. Suggestion : make sure you have ample scroll space before watching a quest, expand scroll space when you run out.
__________________
Last edited by Xrystal : 02-23-10 at 02:56 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-08-10, 12:43 PM  
Carz
nUI User-Supporter
 
Carz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 45
Uploads: 5
2cents =)

Just my 2cents- You should put in the addon info that it does work the the default Ui as well as nUI but that just my 2cents.


0.o and gratz on the new addon xrystal it looks great. I wish the best on it.
__________________
[SIGPIC][/SIGPIC]
Carz is offline Report comment to moderator  
Reply With Quote
Old 02-08-10, 01:57 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Rofl, isn't that what I inferred here ?

This addon allows the user to set their watch frame into a more convenient size and position with nUI users gaining extra functionality to 'dock' the frame in an infopanel.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-09-10, 10:29 AM  
Carz
nUI User-Supporter
 
Carz's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 45
Uploads: 5
Originally posted by Xrystal
Rofl, isn't that what I inferred here ?
lol didn't see that my bad. I'll take back my 2 cents plz, and shut my mouth lol
__________________
[SIGPIC][/SIGPIC]
Carz is offline Report comment to moderator  
Reply With Quote
Old 02-15-10, 04:16 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 567
Uploads: 32
ZOMG this is exactly what I need! Thanks!

Okay now that I have downloaded, it doesn't work with achievement watches? :O I would love to watch my achievements without it cutting off in the default with ....., anyway to make this work with achievements?
Last edited by Ferous : 02-15-10 at 04:20 PM.
Ferous is offline Report comment to moderator  
Reply With Quote
Old 02-15-10, 04:42 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
It should still work with achievements but where I can expand quest count to above 10 I can't expand achievement count. There is some other internal check somewhere that stops it from allowing you to add more than 10 achievements. However, you should be able to see all the required achievement portions instead of ... unless of course there were more than 50 of them

In WatchFrame.lua in the ScrollingWatchFrame addon folder that is You should see near the top the following 2 lines.

WATCHFRAME_MAXQUESTS = 50;
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50;

This means that you will now be able to watch up to 50 quests and have up to 50 criteria per achievement on display ( instead of ... ). This is assuming you have a large enough scroll size. If you seem to be running out of scroll room increase the scroll size. I believe I have the default is 1000 which should let you watch quite a few. If you need that raised up to 3000 max at present just use the slash command /swf scroll x where x is the height of the scrolling frame inside the main frame

You know when you have plenty of scroll space left when you end up scrolling empty space
__________________
Last edited by Xrystal : 02-15-10 at 04:47 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-22-10, 10:58 PM  
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar

Forum posts: 70
File comments: 29
Uploads: 0
Request

any chance you could add in the ability to lose that scroll bar on the side? I mean doing /swf background helps, but scroll bar is kinda in the way of things, I want your quest thing, but not having the scroll bar on screen would be better


also making the objective window going behind other windows like npc vendor and your bags if you open them up would be nice 2, where ever I put it if I have it fully out, and open my bag the objective window is still over the bags making me have to move it just to move my stuff in my bag or closing it

Originally posted by Xrystal
It should still work with achievements but where I can expand quest count to above 10 I can't expand achievement count. There is some other internal check somewhere that stops it from allowing you to add more than 10 achievements. However, you should be able to see all the required achievement portions instead of ... unless of course there were more than 50 of them

In WatchFrame.lua in the ScrollingWatchFrame addon folder that is You should see near the top the following 2 lines.

WATCHFRAME_MAXQUESTS = 50;
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50;

This means that you will now be able to watch up to 50 quests and have up to 50 criteria per achievement on display ( instead of ... ). This is assuming you have a large enough scroll size. If you seem to be running out of scroll room increase the scroll size. I believe I have the default is 1000 which should let you watch quite a few. If you need that raised up to 3000 max at present just use the slash command /swf scroll x where x is the height of the scrolling frame inside the main frame

You know when you have plenty of scroll space left when you end up scrolling empty space
Last edited by Nightmare_Lord : 02-22-10 at 11:39 PM.
Nightmare_Lord is offline Report comment to moderator  
Reply With Quote
Old 02-23-10, 04:25 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Thanks for those insights Nightmare. I also posted in the other post we were talking in but here goes.

The scroll bar on the side is needed to allow the scrolling to work. I can't remember if I added tests to remove the scroll bar if it isn't needed so will look into that. Also, if hiding the scroll bar doesn't stop the scrolling to work I will add the option to hide the scroll bar if users wish it.

I'll also look into changing the frame hierarchy so that it is more in the background. I have never really used anything other than dialog hierarchy before so it may take me awhile to work out the different layers and pick the right one.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-23-10, 11:20 AM  
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar

Forum posts: 70
File comments: 29
Uploads: 0
kk thanks, if the scroll bars has to be there that fine the big problem is it staying over ever window instead of going behind when i open one that would open over that spot.

Originally posted by Xrystal
Thanks for those insights Nightmare. I also posted in the other post we were talking in but here goes.

The scroll bar on the side is needed to allow the scrolling to work. I can't remember if I added tests to remove the scroll bar if it isn't needed so will look into that. Also, if hiding the scroll bar doesn't stop the scrolling to work I will add the option to hide the scroll bar if users wish it.

I'll also look into changing the frame hierarchy so that it is more in the background. I have never really used anything other than dialog hierarchy before so it may take me awhile to work out the different layers and pick the right one.
Nightmare_Lord is offline Report comment to moderator  
Reply With Quote
Old 02-24-10, 03:20 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
With Nightmares help the following can be changed to make the hierarchy work the same way as the original blizzard frame hierarchy. For those that need the change now here is what you need to do:

File : ScrollFrame.lua
Line : 228

Change that line so that it shows this
c:SetFrameStrata("LOW");
instead of
c:SetFrameStrata("HIGH");

I will add the change when I implement the options UI.

Edit ( 9th Mar 10) : Whilst working on the interface for the slash commands I found out that this strata is not good for the InfoPanel users so only non InfoPanel users should use that. Not that InfoPanel users would need to but oh well. I will incorporate a more generic change to reflect both users in version 1.02.00.
__________________
Last edited by Xrystal : 03-09-10 at 04:39 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 02-25-10, 02:16 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Now that I have finally got onto the test server I immediately tested to see if the minimal changes they introduced killed this addon. yep, it pretty much did. If you have nUI and were using it in the infopanel then you're only missing a bit of the new functionality so will be able to get by if I don't manage to resolve the problem before it goes live.

http://www.wowinterface.com/forums/s...839#post179839 is where I have been posting screenshots so take a look there.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 03-08-10, 10:47 AM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Well, whilst working on the Options Interface I have now found that the MaxQuests display option cannot be overridden once the watchframe has been displayed. So we are set to these limitations until something is found that allows us to use them:

MaxAchievements - Cannot be overridden at all as it still validates against 10 achievements regardless of value. Could be a bug so who knows.
MaxQuests - Can be overridden within an addon before the WatchFrame is created. But cannot be programmatically adjusted once it has been applied to a WatchFrame.
MaxCriteria - This seems to work at run time but without the other 2 it kind of defeats the object. So I will leave it as a tweakable value in the WatchFrame.lua file along with the MaxQuests one.

The rest seem to be working well so far but primary testing today was for those items so will test the others later. I have, however, started incorporating an Accept and Cancel button option so that it restores the last stored values ( on Options Interface Frame Shown ) before closing the window.

As I grow to near completion of this addition to the addon I will incorporate the code to make the addon work within 3.3.3 setup for those that are testing the test server changes or by the time they hit live.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 03-09-10, 04:52 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Okay, almost finished the slash command interface. After some tweaking back and forth I ended up doing the following:

The Accept/Cancel option had to go out the window as it affects the toggle to the infopanel.

The MaxQuestWatchCount and MaxCriteriaPerAchievementCount ( or however they are called rofl ) are left as hard coded values. This is due to the Max Quest Watch value ignoring in game changes and the fact that 50 criteria per achievement should suit most if not all users. If, however, you do wish for these two values to be changed, you can change the watchframe.lua file ( in this addon ). The two lines in question are near the top of the file.

The AutoWiden Option I realised I had never actually used as a flag and seeing as this visual shows you if the frame is too narrow or not as you size it with it kept switched on ( as default ) then I will leave it that way.

What we do have though are 3 slider bars to handle the width/height and scroll height values. And 4 check boxes to toggle the multiple anchor system, locking the frame in place, auto hiding the frame if nothing is being tracked and showing the background. Only the scroll height and background toggle will work with the infopanel system just like with the slash commands.

Hopefully over the next few days I will finalise this version and post it up and then start work on the changes needed to work with 3.3.3.
__________________
Xrystal is offline Report comment to moderator  
Reply With Quote
Old 03-11-10, 02:11 PM  
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 5013
File comments: 282
Uploads: 25
Version 1.02.00 Changes

Uploaded and awaiting confirmation. Next task is to get it working properly in 3.3.3 before the patch comes out and introduce the font changing routine where possible. If I spot any more bugs along the way I will correct them too

-------------------------------------------------------------------
[Version 1.02.00]
-------------------------------------------------------------------

WatchFrame.lua
-->MaxLineWidth constant needs to match width of container frame if it exists
-->Removed AutoWiden option

SWF_Main.lua
-->Added new Options Frame to Frame List
-->Set Scroll Frame to be low on the strata just like the official WatchFrame
-->Hide Scroll Bar if in Collapsed Mode regardless of ScrollSize setting
-->Refresh WatchListWidth constant when collapsing and expanding
-->Show frame regardless if not autohiding or in infopanel
-->Added OnShow and OnResize Functions/Scripts for non infopanel users
-->Create Slash Command Interface
-->Update the WatchFrame once the InfoPanel has been set up

Interface.lua
-->New File to handle common interface tasks
SWF_SlashCommands.lua
-->Access new Interface options
-->When you show the Options Interface refresh with current data
-->Create the Slash Command Interface
-->Access to Options Interface added to slash command list
-->Dock and Reset options separated for sharability with Interface options
-->Added AutoHide feature to slash commands
-->Correctly display lock status when seeing current settings

SWF_SavedVars.lua
-->Added AutoHide Option to Saved Variables
ScrollFrame.lua
-->Refresh the ScrollSize when resizing as well
-->Handle OnResize Event for the frame
-->Added Script to monitor size changing to resize sub components



Constants that can be changed in WatchFrame.lua file
WATCHFRAME_MAXQUESTS = 50 - instead of default of 10
WATCHFRAME_CRITERIA_PER_ACHIEVEMENT = 50 - instead of default of 5

Slash Commands added to SWF_SlashCommands.lua file
/swf options - to show options frame
/swf autohide - to toggle the autohide feature
__________________
Last edited by Xrystal : 03-12-10 at 06:47 PM.
Xrystal is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: