comparison gui.lua @ 104:04198c8d0717

Don't set a default keybinding, but rather change the associated option to not be clunky and gross.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Sun, 05 Aug 2012 16:53:07 +0000
parents dc8a23a47b03
children 35b55c6f5551
comparison
equal deleted inserted replaced
103:dc8a23a47b03 104:04198c8d0717
115 -- wonder if it would be worth memoizing this also 115 -- wonder if it would be worth memoizing this also
116 return t:gsub("[%+<>]",replacement_colors) 116 return t:gsub("[%+<>]",replacement_colors)
117 :gsub("([^\n])\n([^\n])", "%1 %2") 117 :gsub("([^\n])\n([^\n])", "%1 %2")
118 :gsub("|r\n\n", "|r\n") 118 :gsub("|r\n\n", "|r\n")
119 end 119 end
120 gui.markup = markup -- too useful to keep local 120 gui.markup = _markup -- too useful to keep local
121 end 121 end
122 122
123 -- Working around this bug: 123 -- Working around this bug:
124 -- http://forums.wowace.com/showpost.php?p=295202&postcount=31 124 -- http://forums.wowace.com/showpost.php?p=295202&postcount=31
125 do 125 do
750 ------ Main GUI Window 750 ------ Main GUI Window
751 local _d -- display when it's open, nil when it's not 751 local _d -- display when it's open, nil when it's not
752 local function setstatus(txt) _d:SetStatusText(txt) end 752 local function setstatus(txt) _d:SetStatusText(txt) end
753 local function statusy_OnLeave() setstatus("") end 753 local function statusy_OnLeave() setstatus("") end
754 local tabgroup_tabs 754 local tabgroup_tabs
755 gui.setstatus = setstatus
755 756
756 --[[ 757 --[[
757 Controls for the tabs on the left side of the main display. 758 Controls for the tabs on the left side of the main display.
758 ]] 759 ]]
759 760