Mercurial > wow > ouroloot
comparison options.lua @ 103:dc8a23a47b03
- Add 'chatprefix' function for building loot line jump links, and a
'PCFPrint' method which displays them.
- Make use of them for local and remote notifications, boss kills,
and manual insertions.
- Document the additional slash commands and args feature from previous
release. Oops. (Text mostly copied from webpage announcement.)
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Sun, 05 Aug 2012 07:26:06 +0000 |
parents | fe04f5c4114a |
children | 04198c8d0717 |
comparison
equal
deleted
inserted
replaced
102:fe04f5c4114a | 103:dc8a23a47b03 |
---|---|
271 toggle:SetFullWidth(true) | 271 toggle:SetFullWidth(true) |
272 chatgroup:AddChild(toggle) | 272 chatgroup:AddChild(toggle) |
273 | 273 |
274 w = AceGUI:Create("Label") | 274 w = AceGUI:Create("Label") |
275 w:SetFullWidth(true) | 275 w:SetFullWidth(true) |
276 w:SetText("This controls the output of the |cff00ffff'Be chatty on <X> changes'|r options. If this field is a number, it designates which chat frame to use. Otherwise it is the Lua variable name of a frame with AddMessage capability.") | 276 w:SetText("This controls the output of the two |cff00ffff'Be chatty on <X> changes'|r options. If this field is a number, it designates which chat frame to use. Otherwise it is the Lua variable name of a frame with AddMessage capability.") |
277 chatgroup:AddChild(w) | 277 chatgroup:AddChild(w) |
278 editbox = mkbutton("EditBox", nil, opts.chatty_on_changes_frame, | 278 editbox = mkbutton("EditBox", nil, opts.chatty_on_changes_frame, |
279 [[1 = default chat frame, 2 = combat log, etc]]) | 279 [[1 = default chat frame, 2 = combat log, etc]]) |
280 editbox:SetFullWidth(true) | 280 editbox:SetFullWidth(true) |
281 editbox:SetLabel("Output Chatframe") | 281 editbox:SetLabel("Output Chatframe") |
800 | 800 |
801 if preload then preload() end | 801 if preload then preload() end |
802 end | 802 end |
803 | 803 |
804 addon:register_tab_control_AT_END ("opt", [[Options]], | 804 addon:register_tab_control_AT_END ("opt", [[Options]], |
805 [[Options for fine-tuning behavior]], tabs_OGS) | 805 [[Options for fine-tuning behavior]], tabs_OGS, [[ |
806 The "be chatty" options can be noisy, but they make the | |
807 |cffff8000[Ouro Loot]|r link much more useful. See | |
808 <Help -- Handy Tips> for details! | |
809 ]]) | |
806 | 810 |
807 | 811 |
808 --------------- | 812 --------------- |
809 -- Registering new options entries | 813 -- Registering new options entries |
810 local insertion_index = #options_tree | 814 local insertion_index = #options_tree |