diff options
| author | ruki <[email protected]> | 2018-01-23 00:42:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-01-22 22:12:32 +0800 |
| commit | 6d116a4bc1b58f660a60ff206c6c57ee9c939805 (patch) | |
| tree | 710e77bafaff1b35198e9f960558986f6ef9402b /xmake/core/ui/menuconf.lua | |
| parent | 9e9946b8744cec7941cc9a0fd244a517231155a9 (diff) | |
add menuconf and mconfdialog
Diffstat (limited to 'xmake/core/ui/menuconf.lua')
| -rw-r--r-- | xmake/core/ui/menuconf.lua | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/xmake/core/ui/menuconf.lua b/xmake/core/ui/menuconf.lua new file mode 100644 index 000000000..132360e53 --- /dev/null +++ b/xmake/core/ui/menuconf.lua @@ -0,0 +1,53 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015 - 2018, TBOOX Open Source Group. +-- +-- @author ruki +-- @file menuconf.lua +-- + +-- load modules +local log = require("ui/log") +local view = require("ui/view") +local label = require("ui/label") +local panel = require("ui/panel") +local event = require("ui/event") +local curses = require("ui/curses") + +-- define module +local menuconf = menuconf or panel() + +-- init menuconf +function menuconf:init(name, bounds) + + -- init panel + panel.init(self, name, bounds) + +end + +-- draw menuconf +function menuconf:draw(transparent) + + -- draw background + panel.draw(self, transparent) + +end + +-- return module +return menuconf |
