From bc1d7965eb7e0d1392412f2894186c9039b15b30 Mon Sep 17 00:00:00 2001 From: tercio Date: Wed, 30 Apr 2014 21:55:56 -0300 Subject: [PATCH] - Added keybinds to reset segments and scroll up/down. - Added Spell Customization options where icon and the name of a spell can be changed. - Added option to change the micro displays side, now it can be shown on the window top side. - Added options to change the transparency when out of combat and out of a group. - Added and Still under development the panel for create data captures for charts. - Fixed a issue with flat skin where the close button was just too big. - New API: _detalhes:InstanceCall (function, params ...) runs a function into all opened instances. - New Framework: gump:NewSpellEntry() create a textfield for choose a spell. - New Framework: gump:NewSpecialLuaEditorEntry() create a textbox with lua syntaxes highlight. - New FrameWork: gump:NewFillPanel() create a panel with rows. --- Bindings.xml | 11 + Details.toc | 1 + Libs/NickTag-1.0/NickTag-1.0.lua | 2 +- Libs/libs.xml | 1 - boot.lua | 15 +- classes/classe_combate.lua | 12 +- classes/classe_instancia.lua | 19 +- classes/classe_instancia_include.lua | 5 + core/control.lua | 11 +- core/parser.lua | 5 +- core/plugins_statusbar.lua | 27 +- core/util.lua | 2 +- framework/button.lua | 4 +- framework/panel.lua | 281 +++- framework/picture.lua | 4 + framework/textentry.lua | 145 +- framework/textentry.xml | 26 + functions/attributes.lua | 32 + functions/loaddata.lua | 12 +- functions/profiles.lua | 2 + functions/savedata.lua | 5 +- functions/skins.lua | 8 +- functions/slash.lua | 14 + functions/spellcache.lua | 138 +- functions/spells.lua | 4 +- functions/timedata.lua | 332 +++-- gumps/janela_options.lua | 1069 ++++++++++--- gumps/janela_principal.lua | 178 ++- images/options_window.tga | Bin 1387831 -> 1484235 bytes images/skins/elvui.tga | Bin 126930 -> 127224 bytes images/skins/flat_skin.tga | Bin 130425 -> 132487 bytes indent.lua | 1326 +++++++++++++++++ .../Details_EncounterDetails.lua | 40 +- plugins/Details_EncounterDetails/frames.lua | 12 +- .../Details_SpellDetails.lua | 101 +- startup.lua | 22 +- 36 files changed, 3446 insertions(+), 420 deletions(-) create mode 100644 Bindings.xml create mode 100644 indent.lua diff --git a/Bindings.xml b/Bindings.xml new file mode 100644 index 00000000..2b9adda8 --- /dev/null +++ b/Bindings.xml @@ -0,0 +1,11 @@ + + + _detalhes.tabela_historico:resetar() + + + DetailsKeyBindScrollDown() + + + DetailsKeyBindScrollUp() + + \ No newline at end of file diff --git a/Details.toc b/Details.toc index 9c0fdde2..bde3de3b 100644 --- a/Details.toc +++ b/Details.toc @@ -12,6 +12,7 @@ locales\Details-ptBR.lua locales\Details-enUS.lua boot.lua +indent.lua core\util.lua functions\profiles.lua diff --git a/Libs/NickTag-1.0/NickTag-1.0.lua b/Libs/NickTag-1.0/NickTag-1.0.lua index 4ef36557..f2334d80 100644 --- a/Libs/NickTag-1.0/NickTag-1.0.lua +++ b/Libs/NickTag-1.0/NickTag-1.0.lua @@ -791,7 +791,7 @@ end elseif (not _table) then return "", {0, 1, 0, 1} end - return _table [CONST_INDEX_AVATAR_PATH] or default "", _table [CONST_INDEX_AVATAR_TEXCOORD] or {0, 1, 0, 1} + return _table [CONST_INDEX_AVATAR_PATH] or default or "", _table [CONST_INDEX_AVATAR_TEXCOORD] or {0, 1, 0, 1} end end diff --git a/Libs/libs.xml b/Libs/libs.xml index abeb96bf..5bc88c23 100644 --- a/Libs/libs.xml +++ b/Libs/libs.xml @@ -10,7 +10,6 @@ -