Skip to content

Commit

Permalink
- added importing/exporting of config
Browse files Browse the repository at this point in the history
  • Loading branch information
frozn committed May 26, 2024
1 parent 5163546 commit 3f51169
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file added TipTac/media/Talents.BLP
Binary file not shown.
8 changes: 4 additions & 4 deletions TipTacOptions/ttOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ local function Misc_SettingsDropDownOnClick(dropDownMenuButton, arg1, arg2)
-- open popup to get import string with new config
LibFroznFunctions:ShowPopupWithText({
prompt = "Paste export string with new config:",
iconFile = "Interface\\TalentFrame\\Talents",
iconFile = "Interface\\" .. PARENT_MOD_NAME .. "\\media\\Talents",
iconTexCoord = { 0.924316, 0.944824, 0.0380859, 0.0771484 },
acceptButtonText = "Import",
cancelButtonText = "Cancel",
Expand Down Expand Up @@ -815,7 +815,7 @@ local function Misc_SettingsDropDownOnClick(dropDownMenuButton, arg1, arg2)
LibFroznFunctions:ShowPopupWithText({
prompt = "Copy this export string with current config:",
text = encodedConfig,
iconFile = "Interface\\TalentFrame\\Talents",
iconFile = "Interface\\" .. PARENT_MOD_NAME .. "\\media\\Talents",
iconTexCoord = { 0.924316, 0.942871, 0.000976562, 0.0361328 },
acceptButtonText = "Close",
onShowHandler = function(self, data)
Expand Down Expand Up @@ -914,13 +914,13 @@ local function Misc_DropDownOnInitialize(dropDownMenu, level, menuList)
});
elseif (menuList == "settings") then
list:Push({
iconText = { "Interface\\TalentFrame\\Talents", 2048, 1024, nil, nil, 0.924316, 0.944824, 0.0380859, 0.0771484 },
iconText = { "Interface\\" .. PARENT_MOD_NAME .. "\\media\\Talents", 2048, 1024, nil, nil, 0.924316, 0.944824, 0.0380859, 0.0771484 },
text = "Import",
func = Misc_SettingsDropDownOnClick,
arg1 = "settingsImport"
});
list:Push({
iconText = { "Interface\\TalentFrame\\Talents", 2048, 1024, nil, nil, 0.924316, 0.942871, 0.000976562, 0.0361328 },
iconText = { "Interface\\" .. PARENT_MOD_NAME .. "\\media\\Talents", 2048, 1024, nil, nil, 0.924316, 0.942871, 0.000976562, 0.0361328 },
text = "Export",
func = Misc_SettingsDropDownOnClick,
arg1 = "settingsExport"
Expand Down

0 comments on commit 3f51169

Please sign in to comment.