Download
(5 Kb)
Download
Updated: 06/19/22 12:28 PM
Pictures
File Info
Compatibility:
High Isle (8.0.0)
Ascending Tide (7.3.5)
Deadlands (7.2.5)
Waking Flame (7.1.5)
Blackwood (7.0.5)
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:06/19/22 12:28 PM
Created:07/25/15 09:14 PM
Monthly downloads:53
Total downloads:4,553
Favorites:10
MD5:
Circonians Control Outlines
Version: 1.9
by: Lodur, Baertram
Control Outlines
This addon needs the following dependencies installed and activated:
LibAddonMenu-2.0

What Is It?
It is an addon for developers. It outlines controls to allow you to easily see the layout of controls.
Set keybinds to do the following:
  1. Outline the control you are hoovering your mouse over & all child controls.
  2. Remove outlines at the control you are hoovering your mouse over & all child controls (if added via the keybind to add the outlines to the control + it's children)
  3. (Optional) Alternating edge colors. When changing levels from parent to child the edge color changes.
  4. All edge colors are adjustable in the settings menu.
  5. Toggle the outline of a single control.
  6. Reset/Hide all outlines.
By default hidden controls are NOT outlined. You can change that in the settings menu.

Who Is it For?
Developers
You are able to inspect the global variable ControlOutline, and especially the table ControlOutline.outlinedControls, via addons like
ZGOO or merTorchbug to see which controls got outlined. The table key is the outline poolId (increasing by 1 for each new outlined control/child control). The value is the control outlined. If you inspect the control you can see the new created attributes "ControlOutlinePoolKey" (the same as the table key) and "ControlOutlineStartingParentControl" (the control that was below the mouse as the outline was added to it + children -> connection between the different lines in ControlOutline.outlinedControls!)

How Do I Use It?
Go into keybindings look for Control Outline & bind a key.
Hover your mouse over a control & press the hotkey.
KNOWN LIMITATIONS
  • If "Child Outlines" is turned on it can cause errors outlining some game controls. This is because some game code attempts to loop through all children and run functions belonging to them, but the backdrop outlines do not have those functions, which causes an error. To help prevent this problem running it on GuiRoot is prevented and the "Child Outlines" setting was added that way if you really need to see outlines on those controls you can just turn off "Child Outlines" to avoid the error...but then the outlines will not show/hide with the control.
Version 1.9 2022-06-19
Fixed TopLevelControl cannot be parented to... error message


Version 1.8 2021-11-19
Removed debug messages

Version 1.7 2021-11-19
--Updated the APIversion
--Fixed the settings menu
--Changed functions ControlOutline_ReleaseOutlines, ControlOutline_OutlineParentChildControls, ControlOutline_ToggleOutline to accept an optional control parameter now to specify a control to apply/remove/toggle the outline. If no control is specified the moc() (MouseOverControl) function will use the current control below he mouse cursor (e.g. for the keybinds)
--Added local speed up ref. variables
--Added new API function ControlOutline_IsControlOutlined(control)
---->returns boolean isOutlined, number keyInOutlinedTable ControlOutline.outlinedControls

Version 1.6 2021-05-27
-Updated API version
-Removed embedded libraries
-Removed LibStub calls
-Made SavedVariables server dependent
-Added description to the settings menu pointing to the controls -> keybindings
-Made variable ControlOutlines global (to inspect e.g. "ControlOutline.outlinedControls" via Zgoo or merTorchbug and see which controls are outlined)
-Added keybind to remove control & children's outlines (below mouse). You are able to remove the controls outlined via the keybind "Outline control & it's children" this way instead of removing all outlines of all controls.
-Fixed adding outlines to already outlined controls multiple times
-Changed : notation to . as no ZO_Object Subclass is used

-^- Maintained by Baertram -^-

Version 1.5 --

API Update No changes, just an API update
Version 1.4 --

API # Update
Version 1.3 --

LibAddonMenu I forgot to include LibAddonMenu
Alternating Edge Colors Since at least one person wanted alternating edge colors I added this feature back in. When the level changes from parent to child, all of the children will have a new edge color. Default alternation colors: Red, Blue, Green, Yellow, Cyan, White. The colors & number of alternating colors are adjustable in the settings menu. This only works when using the keybind to outline the control & its children. Toggling a single outline on a single control will always use the level 1 edge color.
Version 1.2 --

Default Setting Fixed a default setting.
Version 1.1 --

Fixed Known Problems Fixed the known problems & limitations (that were possible).
Control Pool Added a control Pool for the outline controls.
Keybinds New Keybinds:
Toggle outline of selected control (no child outlines)
Outline control and all children (you may need to rebind this due to changes)
Hide All Outlines (releases all outline controls back to the pool)
Settings Menu Added a settings menu to allow you to choose several settings: Edge size, edge color, outline hidden controls (or not), child controls (sets the control to be outlined as the parent so the outlines show/hide with the control...but this can cause problems on some game controls, which is why it is optional).
Archived Files (8)
File Name
Version
Size
Uploader
Date
1.8
5kB
Baertram
11/19/21 02:28 PM
1.7
5kB
Baertram
11/18/21 10:40 PM
1.6
4kB
Baertram
05/27/21 02:23 PM
1.5
38kB
circonian
11/03/15 03:13 PM
1.4
32kB
circonian
08/31/15 06:39 PM
1.3
32kB
circonian
08/01/15 05:59 PM
1.2
4kB
circonian
07/26/15 07:24 PM
1.0
2kB
circonian
07/25/15 09:14 PM


Post A Reply Comment Options
Unread 05/27/21, 02:25 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4903
File comments: 5974
Uploads: 78
Version 1.6 2021-05-27
-Updated API version
-Removed embedded libraries
-Removed LibStub calls
-Made SavedVariables server dependent
-Added description to the settings menu pointing to the controls -> keybindings
-Made variable ControlOutlines global (to inspect e.g. "ControlOutline.outlinedControls" via Zgoo or merTorchbug and see which controls are outlined)
-Added keybind to remove control & children's outlines (below mouse). You are able to remove the controls outlined via the keybind "Outline control & it's children" this way instead of removing all outlines of all controls.
-Fixed adding outlines to already outlined controls multiple times
-Changed : notation to . as no ZO_Object Subclass is used
Report comment to moderator  
Reply With Quote
Unread 07/26/15, 01:40 PM  
circonian
AddOn Author - Click to view AddOns

Forum posts: 613
File comments: 804
Uploads: 27
Originally Posted by Rhalyf
Awesome concept, can't wait to try it!

Hey what AddOn is adding information about your bank in your inventory? I was planning on making one but it appears it's already made.
This?
It is from TweakIt: TweakIt
Report comment to moderator  
Reply With Quote
Unread 07/26/15, 11:07 AM  
Rhalyf
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 6
Uploads: 2
Awesome concept, can't wait to try it!

Hey what AddOn is adding information about your bank in your inventory? I was planning on making one but it appears it's already made.
Last edited by Rhalyf : 07/26/15 at 11:08 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.