DabDaddy6223

cara_power_screen

Sep 28th, 2026 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.41 KB | None | 0 0
  1. local ui = require "cara_ui"
  2.  
  3. local PowerScreen = {}
  4.  
  5. function PowerScreen.draw()
  6.     local panelRect = ui.layout.full()
  7.     local contentArea = ui.widgets.panel(panelRect, "CARA Power Monitor", "center")
  8. end
  9.  
  10. function PowerScreen.key(key)
  11.     if key == keys.q then
  12.         return {
  13.             type = "quit"
  14.         }
  15.     end
  16.  
  17.     return nil
  18. end
  19.  
  20. function PowerScreen.tick()
  21. end
  22.  
  23. return PowerScreen
Advertisement
Add Comment
Please, Sign In to add comment