Files
verify/shell/duilib/skins_v3.h
T

534 lines
31 KiB
C

// 由 gen_skins_v3.py 生成,不要手改
#pragma once
static const char *kSkin_dark = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="452,548" caption="0,0,-1,44" mininfo="452,548" bkcolor="#FF141418">
<VerticalLayout bkcolor="#FF141418" bordercolor="#FF32323A" bordersize="1">
<HorizontalLayout height="44" bkcolor="#FF1D1D24">
<Label text="软件授权验证" textcolor="#FFF0F0F4" font="1" inset="20,0,0,0" />
<Control />
<Button name="btnClose" text="X" width="38" height="44" textcolor="#FF9A9AA6"
bkcolor="#FF1D1D24" hotbkcolor="#33FFFFFF" pushedbkcolor="#66FFFFFF" />
</HorizontalLayout>
<HorizontalLayout height="42" bkcolor="#FF1D1D24">
<VerticalLayout width="86">
<Button name="tabLogin" text="登录" textcolor="#FF4EA3E8" bkcolor="#00000000" height="40" />
<Control height="2" bkcolor="#FF4EA3E8" />
</VerticalLayout>
<VerticalLayout width="86">
<Button name="tabRegister" text="注册" textcolor="#FF85858F" bkcolor="#00000000" height="40" />
<Control height="2" bkcolor="#00000000" name="tabRegLine" />
</VerticalLayout>
</HorizontalLayout>
<VerticalLayout inset="26,14,26,14">
<Label name="lblApp" text="演示程序" textcolor="#FF6FB6E8" height="26" font="1" />
<Control height="6" />
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FFB4B4BE" height="18" />
<Edit name="editUser" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FFB4B4BE" height="18" />
<Edit name="editPass" height="40" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FFB4B4BE" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FFB4B4BE" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="登 录" height="44" bkcolor="#FF146FB8" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FFB4B4BE" height="18" />
<Edit name="regUser" height="34" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FFB4B4BE" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FF2F6E4E" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FFB4B4BE" height="18" />
<Edit name="regCode" height="34" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FFB4B4BE" height="18" />
<Edit name="regPass" height="34" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FFB4B4BE" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FF2A2A33" nativebkcolor="#FF2A2A33" textcolor="#FFF4F4F8" bordercolor="#FF474755" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1F8A5B" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<Control height="6" />
<Label name="lblDevice" text="设备" textcolor="#FF5C5C68" height="18" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF7FA5CC" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF7FA5CC" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</Window>)SKIN";
static const char *kSkin_light = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="452,548" caption="0,0,-1,44" mininfo="452,548" bkcolor="#FFFAFAFC">
<VerticalLayout bkcolor="#FFFAFAFC" bordercolor="#FFDCDCE3" bordersize="1">
<HorizontalLayout height="44" bkcolor="#FFFFFFFF">
<Label text="软件授权验证" textcolor="#FF1F1F24" font="1" inset="20,0,0,0" />
<Control />
<Button name="btnClose" text="X" width="38" height="44" textcolor="#FF6B6B75"
bkcolor="#FFFFFFFF" hotbkcolor="#33FFFFFF" pushedbkcolor="#66FFFFFF" />
</HorizontalLayout>
<HorizontalLayout height="20" />
<HorizontalLayout height="42" inset="26,0,26,0">
<Button name="tabLogin" text="登录" width="100" height="40" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
<Control width="8" />
<Button name="tabRegister" text="注册" width="100" height="40" bkcolor="#FFEDF0F5" textcolor="#FF5B6270" />
<Control />
</HorizontalLayout>
<VerticalLayout inset="26,16,26,14">
<Label name="lblApp" text="演示程序" textcolor="#FF1B6FD6" height="26" font="1" />
<Control height="6" />
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FF4B5563" height="18" />
<Edit name="editUser" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FF4B5563" height="18" />
<Edit name="editPass" height="40" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF4B5563" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF4B5563" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF1B6FD6" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FF4B5563" height="18" />
<Edit name="regUser" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FFD8EAE0" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FF4B5563" height="18" />
<Edit name="regCode" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FF4B5563" height="18" />
<Edit name="regPass" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FF4B5563" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<Control height="6" />
<Label name="lblDevice" text="设备" textcolor="#FF8A8F99" height="18" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF3B62B8" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF3B62B8" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</Window>)SKIN";
static const char *kSkin_split = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="660,548" caption="0,0,0,0" mininfo="660,548" bkcolor="#FF12151A">
<HorizontalLayout bkcolor="#FF12151A" bordercolor="#FF282D35" bordersize="1">
<VerticalLayout width="200" bkcolor="#FF1A2230">
<HorizontalLayout height="44" inset="24,0,0,0">
<Label text="VFY" textcolor="#FF4CC2FF" font="1" />
<Control />
</HorizontalLayout>
<VerticalLayout inset="24,4,24,0">
<Label text="软件授权" textcolor="#FFC8D3E0" height="28" font="1" />
<Label text="SOFTWARE LICENSE" textcolor="#FF63707E" height="20" />
<Label text="账号登录后可绑定本机设备" textcolor="#FF4C5A68" height="20" margin="0,14,0,0" />
</VerticalLayout>
<VerticalLayout />
<HorizontalLayout height="28" inset="24,0,24,16">
<Label text="v9 · DuiLib" textcolor="#FF4A5764" />
</HorizontalLayout>
</VerticalLayout>
<VerticalLayout>
<HorizontalLayout height="46" inset="28,0,0,0">
<VerticalLayout width="80">
<Button name="tabLogin" text="登录" height="44" bkcolor="#00000000" textcolor="#FF4CC2FF" font="1" />
<Control height="2" bkcolor="#FF4CC2FF" />
</VerticalLayout>
<VerticalLayout width="80">
<Button name="tabRegister" text="注册" height="44" bkcolor="#00000000" textcolor="#FF7A8794" />
<Control name="tabRegLine" height="2" bkcolor="#00000000" />
</VerticalLayout>
<Control />
</HorizontalLayout>
<VerticalLayout inset="28,8,28,16">
<Label name="lblApp" text="演示程序" textcolor="#FFF0F5FA" height="26" font="1" />
<Control height="6" />
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FF8794A3" height="18" />
<Edit name="editUser" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FF8794A3" height="18" />
<Edit name="editPass" height="40" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF8794A3" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF8794A3" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF2C7BE5" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FF8794A3" height="18" />
<Edit name="regUser" height="34" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FF8794A3" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FF2B6A50" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FF8794A3" height="18" />
<Edit name="regCode" height="34" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FF8794A3" height="18" />
<Edit name="regPass" height="34" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FF8794A3" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FF1A1F27" nativebkcolor="#FF1A1F27" textcolor="#FFF2F6FA" bordercolor="#FF2E343D" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1F8A5B" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<Control height="6" />
<Label name="lblDevice" text="设备" textcolor="#FF5E6B78" height="18" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF6FA8DC" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF6FA8DC" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</HorizontalLayout>
</Window>)SKIN";
static const char *kSkin_card = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="700,564" caption="0,0,-1,92" mininfo="700,564" bkcolor="#FFF5F6F9">
<VerticalLayout bkcolor="#FFF5F6F9" bordercolor="#FFD7DBE3" bordersize="1">
<HorizontalLayout height="92" bkcolor="#FF3B2BD6">
<VerticalLayout inset="28,16,0,0">
<Label text="软件授权验证" textcolor="#FFFFFFFF" font="1" height="34" />
<Label name="lblApp" text="演示程序" textcolor="#FFD9D4FF" height="22" />
</VerticalLayout>
<Control />
<Button name="btnClose" text="X" width="46" height="92" textcolor="#FFEDEBFF" bkcolor="#FF3B2BD6" hotbkcolor="#33FFFFFF" />
</HorizontalLayout>
<HorizontalLayout height="54" inset="28,14,28,0">
<Button name="tabLogin" text="登录" width="112" height="38" bkcolor="#FFFFFFFF" textcolor="#FF3B2BD6" font="1" />
<Control width="8" />
<Button name="tabRegister" text="注册" width="112" height="38" bkcolor="#FFE8E6FF" textcolor="#FF5B56A8" />
<Control />
</HorizontalLayout>
<HorizontalLayout inset="28,16,28,18">
<VerticalLayout width="260">
<Label text="账号安全" textcolor="#FF1F2430" height="26" font="1" />
<Label text="登录后账号与本机设备绑定," textcolor="#FF4B5563" height="20" />
<Label text="超出设备上限时请先下线一台。" textcolor="#FF4B5563" height="20" />
<Control height="12" />
<Label name="lblDevice" text="设备" textcolor="#FF8A8F99" height="20" />
<VerticalLayout />
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF3B2BD6" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF3B2BD6" bkcolor="#00000000" />
</VerticalLayout>
<Control width="28" />
<VerticalLayout>
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FF4B5563" height="18" />
<Edit name="editUser" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FF4B5563" height="18" />
<Edit name="editPass" height="40" bkcolor="#FFFFFFFF" nativebkcolor="#FFFFFFFF" textcolor="#FF1F2430" bordercolor="#FFC9D1DC" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF4B5563" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF4B5563" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF3B2BD6" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FF4B5563" height="18" />
<Edit name="regUser" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FF4B5563" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FFD8EAE0" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FF4B5563" height="18" />
<Edit name="regCode" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FF4B5563" height="18" />
<Edit name="regPass" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FF4B5563" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FFF1F3F7" nativebkcolor="#FFF1F3F7" textcolor="#FF1F2430" bordercolor="#FFC3CBD8" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF128A5B" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Window>)SKIN";
static const char *kSkin_industrial = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="580,548" caption="0,0,-1,46" mininfo="580,548" bkcolor="#FF0A1520">
<VerticalLayout bkcolor="#FF0A1520" bordercolor="#FF1F4E79" bordersize="1">
<HorizontalLayout height="46" bkcolor="#FF10304C">
<Label text="AUTHORIZATION" textcolor="#FF7FD1FF" font="1" inset="18,0,0,0" />
<Control />
<Button name="tabLogin" text="LOGIN" width="80" height="46" bkcolor="#FF1A5A8C" textcolor="#FFFFFFFF" />
<Button name="tabRegister" text="REGISTER" width="96" height="46" bkcolor="#00000000" textcolor="#FF9FC8E6" />
<Button name="btnClose" text="X" width="46" height="46" textcolor="#FFBEE3FF" bkcolor="#FF10304C" hotbkcolor="#33FFFFFF" />
</HorizontalLayout>
<VerticalLayout inset="24,16,24,16">
<Label name="lblApp" text="演示程序" textcolor="#FF8FC4E6" height="26" font="1" />
<Control height="6" />
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FF9FC0D8" height="18" />
<Edit name="editUser" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FF9FC0D8" height="18" />
<Edit name="editPass" height="40" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF9FC0D8" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF9FC0D8" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="登录" height="44" bkcolor="#FF1F6FB2" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FF9FC0D8" height="18" />
<Edit name="regUser" height="34" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FF9FC0D8" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FF1B4A3C" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FF9FC0D8" height="18" />
<Edit name="regCode" height="34" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FF9FC0D8" height="18" />
<Edit name="regPass" height="34" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FF9FC0D8" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FF14304A" nativebkcolor="#FF14304A" textcolor="#FFEAF6FF" bordercolor="#FF23567F" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1F7A5E" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<Control height="6" />
<Label name="lblDevice" text="设备" textcolor="#FF5F89A6" height="18" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF6FA8C8" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF6FA8C8" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</Window>)SKIN";
static const char *kSkin_terminal = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="600,548" caption="0,0,-1,38" mininfo="600,548" bkcolor="#FF0B0F0C">
<VerticalLayout bkcolor="#FF0B0F0C" bordercolor="#FF2B3A2D" bordersize="1">
<HorizontalLayout height="38" bkcolor="#FF101710">
<Label text="vfy@local:~$" textcolor="#FF54C97A" inset="14,0,0,0" />
<Control />
<Button name="btnClose" text="X" width="38" height="38" textcolor="#FF7FB08C" bkcolor="#FF101710" hotbkcolor="#33FFFFFF" />
</HorizontalLayout>
<HorizontalLayout height="34" bkcolor="#FF0E150F">
<Button name="tabLogin" text="[ login ]" width="96" height="34" bkcolor="#00000000" textcolor="#FF7FE39B" />
<Button name="tabRegister" text="[ register ]" width="108" height="34" bkcolor="#00000000" textcolor="#FF4E7A5C" />
<Control />
</HorizontalLayout>
<VerticalLayout inset="16,10,16,12">
<Label name="lblApp" text="# 演示程序" textcolor="#FF7FE39B" height="24" />
<Control height="6" />
<VerticalLayout name="panelLogin" height="auto">
<Label text="账号或卡密" textcolor="#FF5E8A6C" height="18" />
<Edit name="editUser" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
<Control height="10" />
<Label text="密码" textcolor="#FF5E8A6C" height="18" />
<Edit name="editPass" height="40" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
<Control height="10" />
<HorizontalLayout height="22">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF5E8A6C" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF5E8A6C" bkcolor="#00000000" width="78" />
</HorizontalLayout>
<Control height="12" />
<Button name="btnLogin" text="[ 执行登录 ]" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
<Label name="lblTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<Label text="用户名" textcolor="#FF5E8A6C" height="18" />
<Edit name="regUser" height="34" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
<Control height="6" />
<Label text="邮箱" textcolor="#FF5E8A6C" height="18" />
<HorizontalLayout height="38">
<Edit name="regEmail" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="104" height="34" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<Label text="邮箱验证码" textcolor="#FF5E8A6C" height="18" />
<Edit name="regCode" height="34" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" />
<Control height="6" />
<Label text="密码" textcolor="#FF5E8A6C" height="18" />
<Edit name="regPass" height="34" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
<Control height="6" />
<Label text="确认密码" textcolor="#FF5E8A6C" height="18" />
<Edit name="regPass2" height="34" bkcolor="#FF16211A" nativebkcolor="#FF16211A" textcolor="#FFD7F5DF" bordercolor="#FF2B3A2D" inset="10,0,0,0" password="true" />
<Control height="12" />
<Button name="btnRegister" text="注册并登录" height="44" bkcolor="#FF1B7A4E" textcolor="#FFFFFFFF" font="1" />
<Label name="regTip" text="" textcolor="#FFE08A8A" height="24" inset="0,6,0,0" />
</VerticalLayout>
<Control height="6" />
<Label name="lblDevice" text="设备" textcolor="#FF4E7A5C" height="18" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF6FA08A" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF6FA08A" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
</VerticalLayout>
</Window>)SKIN";
static const char *kSkin_compact = R"SKIN(<?xml version="1.0" encoding="utf-8"?>
<Window size="760,206" caption="0,0,-1,38" mininfo="760,206" bkcolor="#FF11151A">
<VerticalLayout bkcolor="#FF11151A" bordercolor="#FF2A3440" bordersize="1">
<HorizontalLayout height="38" bkcolor="#FF161C22">
<Label text="账号" textcolor="#FFA8BCCE" inset="16,0,0,0" />
<Control />
<Button name="btnClose" text="X" width="38" height="38" textcolor="#FFA8BCCE" bkcolor="#FF161C22" hotbkcolor="#33FFFFFF" />
</HorizontalLayout>
<HorizontalLayout inset="16,12,16,10">
<VerticalLayout width="200">
<Label name="lblApp" text="演示程序" textcolor="#FFEAF2FA" height="26" font="1" />
<Label name="lblDevice" text="设备" textcolor="#FF6B7C8C" height="20" />
<Control height="12" />
<Button name="tabLogin" text="登录" width="90" height="32" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" />
<Control height="6" />
<Button name="tabRegister" text="注册" width="90" height="32" bkcolor="#FF1B232B" textcolor="#FF9FB3C8" />
</VerticalLayout>
<Control width="16" />
<VerticalLayout>
<VerticalLayout name="panelLogin" height="auto">
<HorizontalLayout height="40">
<HorizontalLayout width="214" bkcolor="#FF1B232B">
<Label text="账号" width="46" textcolor="#FF7E90A2" inset="10,0,0,0" />
<Edit name="editUser" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" inset="0,0,0,0" />
</HorizontalLayout>
<Control width="10" />
<HorizontalLayout width="214" bkcolor="#FF1B232B">
<Label text="密码" width="46" textcolor="#FF7E90A2" inset="10,0,0,0" />
<Edit name="editPass" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" inset="0,0,0,0" password="true" />
</HorizontalLayout>
<Control width="10" />
<Button name="btnLogin" text="登录" width="110" height="40" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
</HorizontalLayout>
<HorizontalLayout height="26">
<Label name="chkBox" width="14" height="14" bkcolor="#00000000" bordercolor="#FF6B7C8C" bordersize="1" />
<Control width="8" />
<Button name="btnRemember" text="记住账号" textcolor="#FF6B7C8C" bkcolor="#00000000" width="120" />
<Label name="lblTip" text="" textcolor="#FFD98A8A" />
</HorizontalLayout>
<Control height="6" />
<HorizontalLayout height="24">
<Button name="btnLinkCard" text="卡密充值" width="96" textcolor="#FF7FA5CC" bkcolor="#00000000" />
<Button name="btnLinkForgot" text="忘记密码" width="96" textcolor="#FF7FA5CC" bkcolor="#00000000" />
<Control />
</HorizontalLayout>
</VerticalLayout>
<VerticalLayout name="panelRegister" height="auto" visible="false">
<HorizontalLayout height="36">
<Edit name="regUser" width="160" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
<Control width="8" />
<Edit name="regEmail" width="200" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
<Control width="8" />
<Button name="btnSendCode" text="发送验证码" width="100" height="36" bkcolor="#FF234A33" textcolor="#FFFFFFFF" />
</HorizontalLayout>
<Control height="6" />
<HorizontalLayout height="36">
<Edit name="regCode" width="160" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" />
<Control width="8" />
<Edit name="regPass" width="150" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
<Control width="8" />
<Edit name="regPass2" width="150" bkcolor="#FF1B232B" nativebkcolor="#FF1B232B" textcolor="#FFFFFFFF" bordercolor="#FF32404E" inset="10,0,0,0" password="true" />
<Control width="8" />
<Button name="btnRegister" text="注册" width="90" height="36" bkcolor="#FF2E9E6B" textcolor="#FFFFFFFF" font="1" />
</HorizontalLayout>
<Label name="regTip" text="" textcolor="#FFD98A8A" height="22" />
</VerticalLayout>
</VerticalLayout>
</HorizontalLayout>
</VerticalLayout>
</Window>)SKIN";
struct SkinDef { const char *name; const char *xml; int w, h; };
static const SkinDef kSkins[] = {
{ "dark", kSkin_dark, 452, 548 },
{ "light", kSkin_light, 452, 548 },
{ "split", kSkin_split, 660, 548 },
{ "card", kSkin_card, 700, 564 },
{ "industrial", kSkin_industrial, 580, 548 },
{ "terminal", kSkin_terminal, 600, 548 },
{ "compact", kSkin_compact, 760, 206 },
{ NULL, NULL, 0, 0 }
};