Custom Flyout buttons.

==Overview
Custom Flyout buttons similar to Blizzard buttons like traps and teleports. Now you can make your own buttons!

==HowTo
*To make your own button lists open Spellbook (or use slash command to enter SettingsMode): you will see small arrow-buttons attached to your action buttons. To start adding buttons click arrow-button: appears empty button list, drag there spells, companions, mounts, items. Close spellbook: buttons ready to use.
*To set flyout arrow direction right-click arrow button

==Features
*Action buttons right-click while not in combat to set action to bar button. Supported default Blizzard action bars and "Button Forge".
*Action buttons right-click while in combat - selfcast

==Slash commands
"/fbc" or "/fbcustom"
params:
empty or 'help' to see available
'border' to toggle button borders
'kb' or 'keybind' to toggle keybinding mode
'mouseover' to toggle opening/hiding lists on arrow button mouseover
'hide' to toggle hiding on list button click
'height value' to set arrow button height, values 5-36
'settings' to toggle SettingsMode
'unique' to toggle only 1 list visible

==What can't be done due to restrictions
*replacing action buttons on last used from list

==Tested with
Default Blizzard action bar, Button Forge, Bartender 4, Dominos.


Changes:

v1.91
toc updated for v4.2

v1.90
toc updated for v4.1

v1.89
fixed: amount of empty buttons above used in settngs mode reduced to 1

v1.88
fixed: error on arrow button cleanup in Settings mode
default amount of empty buttons in settngs mode reduced to 1
startup delay to avoid problems with server stored values (see http://tain.wowinterface.com/forums/showthread.php?t=37039 for more info)

v1.87
fixed: PickupCompanion check

v1.86
fixed: tooltip error when creatureSpellID = nil

v1.85
check for parent bar not nil

v1.84
fixed: debug info left

v1.82
option to enable/disable arrow button highlight on mouseover

v1.81
fixed: show/hide grid event registration
fixed: settings dialog properly show keybinding mode

v1.80
frame strata adjustment while grid shown/hidden

v1.79
attempt to do something with Dominos transparency

v1.78
fixed: button anchors while right clicking arrow buttons

v1.77
fixed: arrow button RIGHT flyout error

v1.76
fixed: macro update error

v1.75
settings window, to show type /fbc
slash command list now "/fbc help"
ability to disable opening/hiding lists on mouseover while in combat
LibKeybound revision increased to avoid overriding with bugged old versions from Bartender libs etc

v1.71
fixed "OnReceiveDrag" error

v1.70
keybindings (based on LibKeyBound-1.0, same library used in Bartender4, so usage similar)
range indicators
some fixes

v1.60
split on several modules
arrow button opacity manipulation replaced with highlight texture, "alpha" slash command removed

v1.51
hiding button list on action button click (optional)
hard work to make arrow texture smaller :)

v1.50
right-click self cast while in combat
working modifiers for focus and selfcast
"rescan" removed, used entering SettingsMode instead to find new bars/buttons
"unique" slash command to turn on/off only 1 list visible
right-click while not in combat to set action bar button for Button Forge

v1.45
fixed arrow directions (sometime it was up instead of down)
fixed button click event (cast) while dragging with clicking
transparent list border texture removed
right-click while NOT in combat to set action bar button "action" to clicked (at moment only for Blizz action bars since making it for 3-rd party action bars requires specific actions for any action bar addon)

v1.41
"rescan" slash option to rescan action bars (for example Button Forge not notifying on adding new buttons or bars, rescan after that sort of solution)

v1.40
Only 1 open button list possible now, autohiding other lists. That makes show/hide on mouseover not so annoying.

v1.35
Button Facade support

v1.30
opening list on mouseover arrow buttons (optional)

v1.25
added list of slash commands on empty or "help" parametr
added options to set borders visibility ("border" slash command) and opacity for arrow buttons ("alpha value" slash command)

v1.20
macro support

v1.15b
slash commands to enter/exit Settings mode or set arrow buttons height
ability to set flyout direction, now left-click on arrow button to show/hide list, right-click to set direction (not in combat)

v1.10b
now seems works with Bartender
hiding on entering vehicle
event manager redesigned

v1.05b
fixes to hide arrows and empty frames when combat started in SettingsMode (spellbook open)