12345678910111213141516 |
- ---@class KLMapBranchItemView:UIKmlLuaViewBase
- ---@field line_name UIKmlLuaControl
- ---@field line_state UIKmlLuaControl
- ---@field img_pk UIKmlLuaControl
- ---@field btn_switch UIKmlLuaControl
- local KLMapBranchItemView = {}
- setmetatable(KLMapBranchItemView,UIKmlLuaViewBase)
- local kmlPath = 'dev/ui/Map/Item/KLMapBranch/KLMapBranchItemKml'
- KLMapBranchItemView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
- ---@param parent UIKmlLuaControl
- function KLMapBranchItemView:Init(parent)
-
- self:InitRoot(parent,kmlPath,KLMapBranchItemView.content)
- end
- return KLMapBranchItemView
|