summaryrefslogtreecommitdiff
path: root/xmake/core/ui/statusbar.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/ui/statusbar.lua')
-rw-r--r--xmake/core/ui/statusbar.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/core/ui/statusbar.lua b/xmake/core/ui/statusbar.lua
index c0e0814dc..ba4206958 100644
--- a/xmake/core/ui/statusbar.lua
+++ b/xmake/core/ui/statusbar.lua
@@ -25,19 +25,19 @@
-- load modules
local log = require("ui/log")
local rect = require("ui/rect")
-local group = require("ui/group")
+local panel = require("ui/panel")
local label = require("ui/label")
local event = require("ui/event")
local curses = require("ui/curses")
-- define module
-local statusbar = statusbar or group()
+local statusbar = statusbar or panel()
-- init statusbar
function statusbar:init(name, bounds)
- -- init group
- group.init(self, name, bounds)
+ -- init panel
+ panel.init(self, name, bounds)
-- init info
self._INFO = label:new("statusbar.info", rect{0, 0, self:width(), self:height()})