KLUILoadingPanelPanelView.lua 878 B

123456789101112131415161718
  1. ---@class KLUILoadingPanelPanelView:UIKmlLuaViewBase
  2. ---@field UILoadingPanel UIKmlLuaControl
  3. ---@field RawImage_Background UIKmlLuaControl
  4. ---@field Image_ProgressBG UIKmlLuaControl
  5. ---@field Image_Progress UIKmlLuaControl
  6. ---@field Text_Message UIKmlLuaControl
  7. local KLUILoadingPanelPanelView = {}
  8. setmetatable(KLUILoadingPanelPanelView,UIKmlLuaViewBase)
  9. local kmlPath = 'dev/ui/LoadingPanel/Panel/KLUILoadingPanel/KLUILoadingPanelPanelKml'
  10. KLUILoadingPanelPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  11. ---@param parent UIKmlLuaControl
  12. function KLUILoadingPanelPanelView:Init(parent)
  13. --local p = parent and parent.kmlControl
  14. --self.root = UIKmlLuaControl(CS.KmlResourceManager.Create(p,kmlPath,KLUILoadingPanelPanelView.content))
  15. self:InitRoot(parent,kmlPath,KLUILoadingPanelPanelView.content)
  16. end
  17. return KLUILoadingPanelPanelView