Wiki: http://www.wowace.com/wiki/Tooggle
= Tooggle =
First of all, this is my first public addon, so be clever .
Tooggle let you assign various frames to 5 buttons. Theses buttons will toggle if frames are Shown/Hided.
Exemple: If you have a panel with ur minimap/combatlog. You can set F1 to toggle Omen, Violation. F2 to toggle CombatLog, Minimap. Like that you can replace easily ur minimap/combatlog for Omen/Violation when raiding by pressing F2 to hide CombatLog/Minimap, then F1 to show Omen/Violation. Once ur done, press back F1 to hide Omen/Vio, then F2 to brink back CombatLog/Minimap.
New Feature: Mouse-over toggle mode.(like Dash)
It let you assign buttons to the mouse-over toggle frame.
These buttons toggle function will be launch when you mouse-over the frame.
The frame is 5px by 5px so you really need to go deep in that corner.
Default position is the TOPRIGHT corner. /tg corner [topleft | topright | bottomleft | bottomright] to change it.
** Buttons can be set to Special toggle mode AND to the mouse-over toggle at the same time!! **
Not So New Feature: Special toggle mode.
To explain whats is the Special Toggle mode:
Normal mode: the mod check if the 1st frame assigned to that button is visible, if it is, then it hide ALL the frames assigned to that button, if not, show ALL of them.
Special buttons: the mod will check independently every frame in that button. If frame1 is visible, then hide frame1, if not show it. If frame2 is visible then hide frame2, if not show it. etc..
== Usage ==
/tg or /tooggle for slash commands.
Available commands are clear | mouseover | special | list | add | remove. All these commands can be reduce to the first letter c | mo | s | l | a | r.
Available buttons are button1 up to button5. b1, b2, b3, b4, b5 works too.
Bindings are done in the default WoW Key Bindings menu.
==== Commands ====
Usage: /tg clear|c [button# or all]
"/tg clear button1" will clear button1 frames.
"/tg clear all" will clear all buttons frames.
Usage: /tg mess on/off
Will remove the "Tooggle: Button# frames Shown/Hided" messages.
Its OFF by default.
Usage: /tg list|l ["frames" or button#]
"/tg list frames" will list available frame names you can use.
"/tg l b3" will list the frames assigned to button3.
Usage: /tg add|a [button#] [framenames]
"/tg add button1 violation" will add violation frame to the button1 toggle list.
"/tg a b4 omen" will add omen frame to the button4 toggle list.
** NOTE: To add an eepanel, use /tg add [button#] eepanel [Panel#].**
** IE: /tg add b1 eepanel 12. the space between "eepanel" and the number is important **
Usage: /tg remove|r [button#] [frame# in /tg list]
Do a "/tg list button#" and get the # of the frame you wanna remove.
"/tg remove button5 4" will remove the 4th frames listed in button5 list
"/tg r b5 4" same result as above.
Usage: /tg special|s [button1-5]
"/tg special" will list the buttons toggle modes.
"/tg special" will reset all buttons toggle mode to Normal.
"/tg special button1" will toggle the toggle mode between Normal or Special.
Usage: /tg mouseover|mo [button1-5 or reset]
"/tg mouseover" will list which buttons are assigned to mouse-over toggle.
"/tg mo button1" will toggle button1 to mouse-over/keybindings toggle.
"/tg mo reset" will set back all frames to keybindings.
Note: buttons assigned to mouse-over toggle are still accessible through keybindings.
Usage: /tg corner [topleft | topright | bottomleft | bottomright | ?]
"/tg corner ?" will tell you where is the mouse-over toggle frame. topright by default.
"/tg corner topleft" will set the mouse-over toggle frame to the topleft corner of ur screen.
= Frames supported atm =
Use /tg list frames to get the correct name to use.
omen
violation
eavesdrop
chatframe1, chatframe2, chatframe3, chatframe4, chatframe5
minimap
damagemeters
recount
grid
bt3bar1, bt3bar2, bt3bar3, bt3bar4, bt3bar5, bt3bar6, bt3bar7, bt3bar8, bt3bar9, bt3bar10
nquestlog
trinketmenu
uberquestminion
eePanel# (use /tg add [button#] eepanel [panel#] :: like /tg add b1 eepanel 12)
assessment (only windows #1 atm, will add more if you want)
Elkano's Buffbars (ebb)
CML
SLTimex 2.0
More frames to come. If you have request/suggestion post them here or in the forums. http://www.wowace.com/forums/index.php?topic=9596.0
Planned Changed:
- Fix the reapearing chatframes bug.
- add separate EBB's groups support.
- Waterfall menu (will be in later)
- Environment driven toggle(like Raid, Party, BG, Arena, Major City)