KLCalcPanelView.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. ---@class KLCalcPanelView:UIKmlLuaViewBase
  2. ---@field UICalcPanel UIKmlLuaControl
  3. ---@field CloseBtn UIKmlLuaControl
  4. ---@field firstButton UIKmlLuaControl
  5. ---@field twoButton UIKmlLuaControl
  6. ---@field threeButton UIKmlLuaControl
  7. ---@field fourButton UIKmlLuaControl
  8. ---@field fiveButton UIKmlLuaControl
  9. ---@field sixButton UIKmlLuaControl
  10. ---@field sevenButton UIKmlLuaControl
  11. ---@field eightButton UIKmlLuaControl
  12. ---@field nineButton UIKmlLuaControl
  13. ---@field zeroButton UIKmlLuaControl
  14. ---@field undoButton UIKmlLuaControl
  15. ---@field sureButton UIKmlLuaControl
  16. ---@field intro UIKmlLuaControl
  17. ---@field num UIKmlLuaControl
  18. ---@field panel1 UIKmlLuaControl
  19. ---@field img2 UIKmlLuaControl
  20. ---@field img3 UIKmlLuaControl
  21. ---@field img4 UIKmlLuaControl
  22. local KLCalcPanelView = {}
  23. setmetatable(KLCalcPanelView,UIKmlLuaViewBase)
  24. local kmlPath = 'dev/ui/Common/Panel/KLCalc/KLCalcPanelKml'
  25. KLCalcPanelView.content = CS.TCFramework.LuaManager.LoadFileText(kmlPath,nil,'.txt')
  26. ---@param parent UIKmlLuaControl
  27. function KLCalcPanelView:Init(parent)
  28. self:InitRoot(parent,kmlPath,KLCalcPanelView.content)
  29. end
  30. return KLCalcPanelView