Mercurial > wow > ouroloot
comparison gui.lua @ 98:b5a55c69ef67
Properly switch between profiles.
author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
---|---|
date | Fri, 27 Jul 2012 19:09:29 +0000 |
parents | ba5ff82dcf19 |
children | 966d06c8d9c9 |
comparison
equal
deleted
inserted
replaced
97:ba5ff82dcf19 | 98:b5a55c69ef67 |
---|---|
1902 -- Simply to avoid recreating the same function over and over | 1902 -- Simply to avoid recreating the same function over and over |
1903 local tabs_OnGroupSelected_func_args = { [2] = "OnGroupSelected" } | 1903 local tabs_OnGroupSelected_func_args = { [2] = "OnGroupSelected" } |
1904 tabs_OnGroupSelected_func = function (tabs,event,group) | 1904 tabs_OnGroupSelected_func = function (tabs,event,group) |
1905 tabs_OnGroupSelected_func_args[1] = tabs | 1905 tabs_OnGroupSelected_func_args[1] = tabs |
1906 tabs_OnGroupSelected_func_args[3] = group | 1906 tabs_OnGroupSelected_func_args[3] = group |
1907 gui.opts = addon.db.profile | |
1907 hide_noobtips_frame() | 1908 hide_noobtips_frame() |
1908 tabs:ReleaseChildren() | 1909 tabs:ReleaseChildren() |
1909 local spec = tabs:GetUserData("special buttons group") | 1910 local spec = tabs:GetUserData("special buttons group") |
1910 spec:ReleaseChildren() | 1911 spec:ReleaseChildren() |
1911 local h = AceGUI:Create("Heading") | 1912 local h = AceGUI:Create("Heading") |