Skip to content

Commit

Permalink
Fixed price feature
Browse files Browse the repository at this point in the history
  • Loading branch information
haimanman committed Jun 26, 2017
1 parent f98d747 commit a1a4a42
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 555 deletions.
13 changes: 6 additions & 7 deletions HM_AchieveWiki/HM_AchieveWiki.lua
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ function PS.OnPanelActive(frame)
if ACHI_CLIENT_LANG == "zhcn" then
nX, nY = ui:Append("Text", { x = 0, y = nY, txt = _L["Sync game info"], font = 27 }):Pos_()
-- name
nX = ui:Append("Text", { x = 10, y = nY + 5 , txt = _L["Role name:"], color = { 255, 255, 200 } }):Pos_()
nX, nY = ui:Append("Text", { x = nX + 5, y = nY + 5 , txt = GetUserRoleName() }):Pos_()
nX = ui:Append("Text", { x = 10, y = nY + 10 , txt = _L["Role name:"], color = { 255, 255, 200 } }):Pos_()
nX, nY = ui:Append("Text", { x = nX + 5, y = nY + 10 , txt = GetUserRoleName() }):Pos_()
nX = ui:Append("Text", { x = 10, y = nY + 5 , txt = _L["Last sync time:"], color = { 255, 255, 200 } }):Pos_()
nX, nY = ui:Append("Text", "Text_Time", { x = nX + 5, y = nY + 5 , txt = _L["Loading..."] }):Pos_()
-- /api/wiki/data/{gid}
Expand Down Expand Up @@ -431,11 +431,10 @@ function PS.OnPanelActive(frame)
end):Pos_()
nY = nY + 8
end
nX, nY = ui:Append("Text", { x = 0, y = nY, txt = _L["Others"], font = 27 }):Pos_()
nX = ui:Append("Text", { x = 10, y = nY + 10 , txt = _L["Achievepedia Website"], color = { 255, 255, 200 } }):Pos_()
nX, nY = ui:Append("WndEdit", { x = 120, y = nY + 10 , txt = ACHI_ROOT_URL .. "/wiki" }):Pos_()
nX = ui:Append("Text", { x = 10, y = nY + 5 , txt = _L["Global ID"], color = { 255, 255, 200 } }):Pos_()
nX, nY = ui:Append("WndEdit", { x = 120, y = nY + 5 , txt = gid }):Pos_()
nX = ui:Append("Text", { x = 0, y = nY + 10 , txt = _L["Achievepedia Website"], font = 27 }):Pos_()
nX, nY = ui:Append("WndEdit", { x = 120, y = nY + 10 , w = 280, h = 28, txt = ACHI_ROOT_URL .. "/wiki", color = { 255, 255, 200 } }):Pos_()
nX = ui:Append("Text", { x = 0, y = nY + 5 , txt = _L["Global ID"], font = 27 }):Pos_()
nX, nY = ui:Append("WndEdit", { x = 120, y = nY + 5 , w = 280, h = 28, txt = gid, color = { 255, 255, 200 } }):Pos_()
--ui:Append("Image", "Image_Wechat", { x = 360, y = nY - 150, h = 150, w = 150 }):File(HM.GetCustomFile("image.UiTeX", "interface\\HM\\HM_0Base\\image.UiTex"), 2)
end

Expand Down
Loading

0 comments on commit a1a4a42

Please sign in to comment.