新增设置窗口与逐像素透明度,Win7 接入 Aero 毛玻璃

This commit is contained in:
tongtong committed 2026-11-16 09:24:06 +08:00
1 parent e1e26acc49
commit 7e34929caa
12 files changed
+850 -9

No files matched your search

@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<Window size="460,404" mininfo="460,404" caption="0,0,0,36" sizebox="4,4,4,4">
<VBox bkcolor="bk_wnd_darkcolor">
<!-- 标题栏 -->
<HBox name="panel_header" width="stretch" height="36" bkcolor="bk_wnd_lightcolor">
<Label text="设置" font="system_bold_14" normaltextcolor="darkcolor" valign="center" margin="12,0,0,0"/>
<Control />
<Button class="btn_wnd_close" name="closebtn" margin="4,6,8,0"/>
</HBox>
<!-- 背景图片 -->
<VBox margin="16,12,16,0" padding="16,12,16,14" height="auto" bkcolor="bk_wnd_lightcolor">
<Label text="背景图片" font="system_bold_12" normaltextcolor="darkcolor" height="auto"/>
<HBox height="30" margin="0,8,0,0">
<Label name="lbl_background" width="stretch" height="auto" valign="center" font="system_12" normaltextcolor="lightcolor" endellipsis="true" text="未设置"/>
<Button class="btn_global_white_80x30" name="btn_pick_bg" text="选择图片" width="80" height="30" font="system_12"/>
<Button class="btn_global_white_80x30" name="btn_clear_bg" text="清除" width="64" height="30" margin="8,0,0,0" font="system_12"/>
</HBox>
</VBox>
<!-- 透明度 -->
<VBox margin="16,12,16,16" padding="16,12,16,12" bkcolor="bk_wnd_lightcolor" height="stretch">
<Label text="透明度" font="system_bold_12" normaltextcolor="darkcolor" height="auto"/>
<HBox height="36" margin="0,10,0,0">
<Label text="窗口底板" width="96" valign="center" font="system_12" normaltextcolor="darkcolor"/>
<Slider name="slider_window" width="stretch" height="18" margin="8,0,8,0" valign="center" min="0" max="100" step="5" thumbsize="14,14" progressbarpadding="0,8,0,8" bkimage="file='../public/slider/slider_hor_bk.png' dest='0,8,1000,10'" progresscolor="bk_progress_progress" thumbnormalimage="../public/slider/slider_thumb.png"/>
<Label name="lbl_window" width="52" halign="right" valign="center" font="system_12" normaltextcolor="lightcolor" text="100%"/>
</HBox>
<HBox height="36">
<Label text="标题栏" width="96" valign="center" font="system_12" normaltextcolor="darkcolor"/>
<Slider name="slider_header" width="stretch" height="18" margin="8,0,8,0" valign="center" min="0" max="100" step="5" thumbsize="14,14" progressbarpadding="0,8,0,8" bkimage="file='../public/slider/slider_hor_bk.png' dest='0,8,1000,10'" progresscolor="bk_progress_progress" thumbnormalimage="../public/slider/slider_thumb.png"/>
<Label name="lbl_header" width="52" halign="right" valign="center" font="system_12" normaltextcolor="lightcolor" text="100%"/>
</HBox>
<HBox height="36">
<Label text="新建任务" width="96" valign="center" font="system_12" normaltextcolor="darkcolor"/>
<Slider name="slider_input" width="stretch" height="18" margin="8,0,8,0" valign="center" min="0" max="100" step="5" thumbsize="14,14" progressbarpadding="0,8,0,8" bkimage="file='../public/slider/slider_hor_bk.png' dest='0,8,1000,10'" progresscolor="bk_progress_progress" thumbnormalimage="../public/slider/slider_thumb.png"/>
<Label name="lbl_input" width="52" halign="right" valign="center" font="system_12" normaltextcolor="lightcolor" text="100%"/>
</HBox>
<HBox height="36">
<Label text="任务列表" width="96" valign="center" font="system_12" normaltextcolor="darkcolor"/>
<Slider name="slider_list" width="stretch" height="18" margin="8,0,8,0" valign="center" min="0" max="100" step="5" thumbsize="14,14" progressbarpadding="0,8,0,8" bkimage="file='../public/slider/slider_hor_bk.png' dest='0,8,1000,10'" progresscolor="bk_progress_progress" thumbnormalimage="../public/slider/slider_thumb.png"/>
<Label name="lbl_list" width="52" halign="right" valign="center" font="system_12" normaltextcolor="lightcolor" text="100%"/>
</HBox>
<HBox height="36">
<Label text="底部操作栏" width="96" valign="center" font="system_12" normaltextcolor="darkcolor"/>
<Slider name="slider_bottom" width="stretch" height="18" margin="8,0,8,0" valign="center" min="0" max="100" step="5" thumbsize="14,14" progressbarpadding="0,8,0,8" bkimage="file='../public/slider/slider_hor_bk.png' dest='0,8,1000,10'" progresscolor="bk_progress_progress" thumbnormalimage="../public/slider/slider_thumb.png"/>
<Label name="lbl_bottom" width="52" halign="right" valign="center" font="system_12" normaltextcolor="lightcolor" text="100%"/>
</HBox>
</VBox>
</VBox>
</Window>