mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-09 12:42:39 +01:00
aefaef
This commit is contained in:
parent
9e27535740
commit
c88d6bb25c
@ -10,7 +10,7 @@ local com = require('component')
|
||||
local gpu = com.gpu
|
||||
|
||||
local config = require("config")
|
||||
local lang = config.readAll("HoloEdit.app/Resources/" .. _OSLANGUAGE .. ".lang")
|
||||
local lang = config.readAll("MineOS/Applications/HoloEdit.app/Resources/" .. _OSLANGUAGE .. ".lang")
|
||||
|
||||
-- Константы --
|
||||
HOLOH = 32
|
||||
|
||||
@ -10,6 +10,7 @@ local context = require("context")
|
||||
local xml = require("xmlParser")
|
||||
local config = require("config")
|
||||
local unixtime = require("unixtime")
|
||||
local SHA2 = require("SHA2")
|
||||
-- local computer = require("computer")
|
||||
-- local keyboard = require("keyboard")
|
||||
-- local image = require("image")
|
||||
@ -318,7 +319,7 @@ end
|
||||
local function inputPassword()
|
||||
--local massiv = ecs.input("auto", "auto", 20, "Войти в Pastebin", {"input", "Логин", ""}, {"input", "Пароль", ""})
|
||||
|
||||
local data = ecs.universalWindow("auto", "auto", 24, tabColor1, true, {"EmptyLine"}, {"CenterText", 0xffffff, "Авторизация"}, {"EmptyLine"}, {"Input", 0xffffff, tabColor2, "Логин"}, {"Input", 0xffffff, tabColor2, "Пароль", "●"}, {"EmptyLine"}, {"Button", {tabColor2, 0xffffff, "Войти в аккаунт"}, {0x006dbf, 0xffffff, "Отмена"}})
|
||||
local data = ecs.universalWindow("auto", "auto", 24, tabColor1, true, {"EmptyLine"}, {"CenterText", 0xffffff, "Авторизация"}, {"EmptyLine"}, {"Input", 0xffffff, 0xccccff, "Логин"}, {"Input", 0xffffff, 0xccccff, "Пароль", "●"}, {"EmptyLine"}, {"Button", {tabColor2, 0xffffff, "Войти в аккаунт"}, {0x006dbf, 0xffffff, "Отмена"}})
|
||||
|
||||
if data[3] == "Отмена" then return false end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user