KLUICommonStrTipsPanelView.lua 787 B

1234567891011121314151617181920
  1. ---@class KLUICommonStrTipsPanelView:UIKmlLuaViewBase
  2. ---@field bg UIKmlLuaControl
  3. ---@field MaskCloseButton UIKmlLuaControl
  4. ---@field bgImg UIKmlLuaControl
  5. ---@field closeBtn UIKmlLuaControl
  6. ---@field scrollview1 UIKmlLuaControl
  7. ---@field layout2 UIKmlLuaControl
  8. ---@field tipContent UIKmlLuaControl
  9. ---@field txt_title UIKmlLuaControl
  10. local KLUICommonTipsPanelView = {}
  11. setmetatable(KLUICommonTipsPanelView,UIKmlLuaViewBase)
  12. local kmlPath = 'dev/ui/Common/Panel/KLUICommonStrTips/KLUICommonStrTipsPanelKml'
  13. KLUICommonTipsPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  14. ---@param parent UIKmlLuaControl
  15. function KLUICommonTipsPanelView:Init(parent)
  16. self:InitRoot(parent,kmlPath,KLUICommonTipsPanelView.content)
  17. end
  18. return KLUICommonTipsPanelView