KLUIMapBranchPanelView.lua 1.1 KB

123456789101112131415161718192021222324252627282930
  1. ---@class KLUIMapBranchPanelView:UIKmlLuaViewBase
  2. ---@field img_522 UIKmlLuaControl
  3. ---@field img1 UIKmlLuaControl
  4. ---@field img2 UIKmlLuaControl
  5. ---@field img4 UIKmlLuaControl
  6. ---@field currentLine_txt UIKmlLuaControl
  7. ---@field allLine_txt UIKmlLuaControl
  8. ---@field img_523 UIKmlLuaControl
  9. ---@field text1 UIKmlLuaControl
  10. ---@field redName_btn UIKmlLuaControl
  11. ---@field switch_branch_togglegroup UIKmlLuaControl
  12. ---@field branch_layout UIKmlLuaControl
  13. ---@field topBtnGroup UIKmlLuaControl
  14. ---@field layout2 UIKmlLuaControl
  15. ---@field gold_toggle UIKmlLuaControl
  16. ---@field text2 UIKmlLuaControl
  17. ---@field normal_toggle UIKmlLuaControl
  18. ---@field text3 UIKmlLuaControl
  19. ---@field closeBtn UIKmlLuaControl
  20. local KLUIMapBranchPanelView = {}
  21. setmetatable(KLUIMapBranchPanelView,UIKmlLuaViewBase)
  22. local kmlPath = 'dev/ui/Map/Panel/KLUIMapBranch/KLUIMapBranchPanelKml'
  23. KLUIMapBranchPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  24. ---@param parent UIKmlLuaControl
  25. function KLUIMapBranchPanelView:Init(parent)
  26. self:InitRoot(parent,kmlPath,KLUIMapBranchPanelView.content)
  27. end
  28. return KLUIMapBranchPanelView