无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 2257|回复: 20
打印 上一主题 下一主题

[分享] 主界面 增加提示信息以及图标。【已上传附件】

[复制链接]
跳转到指定楼层
1#
发表于 2024-2-24 23:23:23 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 try_catch 于 2024-2-25 21:27 编辑



直接在某个主题的THEME.TXT配置文件中修改

  1. + hbox {#第一行TIP的图标
  2.     left = 5%
  3.     top = 25%
  4.     width = 30%
  5.     + image {file = "icons/edit.png"}
  6. }
  7. + hbox {#第一行TIP文字
  8.     left = 5%+50
  9.     top = 25%+8
  10.     width = 30%
  11.     + label {text = "[TIP]" color = "white" align = "left"}
  12. }

  13. + hbox {#第二行图标
  14.     left = 5%
  15.     top = 30%
  16.     width = 30%
  17.     + image {file = "icons/second_memdisk.png"}
  18. }
  19. + hbox {#第二行快捷键文字
  20.     left = 5%+50
  21.     top = 30%+8
  22.     width = 30%
  23.     + label {text = "[D]" color = "white" align = "left"}
  24. }

  25. + hbox{#第二行按下D键以后,MEM DISK模式的提示文字显示再此
  26.     left = 5%+120
  27.     top = 30%+8
  28.     width = 10%
  29.     height = 25
  30.     + label {text = "@VTOY_MEM_DISK@" color = "white" align = "left"}
  31. }
  32. + hbox {#第三行GRUB
  33.     left = 5%
  34.     top = 35%
  35.     width = 30%
  36.     + image {file = "icons/second_grub2.png"}
  37. }

  38. + hbox {#第三行GRUB
  39.     left = 5%+50
  40.     top = 35%+8
  41.     width = 30%
  42.     + label {text = "[R]" color = "white" align = "left"}
  43. }

  44. + hbox{#第三行GRUB
  45.     left = 5%+120
  46.     top = 35%+8
  47.     width = 10%
  48.     height = 25
  49.     + label {text = "@VTOY_GRUB2_MODE@" color = "white" align = "left"}
  50. }

  51. + hbox {#第四行WIM
  52.     left = 5%
  53.     top = 40%
  54.     width = 30%
  55.     + image {file = "icons/second_wimboot.png"}
  56. }

  57. + hbox {#第四行WIM
  58.     left = 5%+50
  59.     top = 40%+8
  60.     width = 30%
  61.     + label {text = "[W]" color = "white" align = "left"}
  62. }
  63. + hbox{#第四行WIM
  64.     left = 5%+120
  65.     top = 40%+8
  66.     width = 10%
  67.     height = 25
  68.     + label {text = "@VTOY_WIMBOOT_MODE@" color = "white" align = "left"}
  69. }

  70. + hbox {#第5行
  71.     left = 5%
  72.     top = 45%
  73.     width = 30%
  74.     + image {file = "icons/menu_l.png"}
  75. }

  76. + hbox {#第5行
  77.     left = 5%+50
  78.     top = 45%+8
  79.     width = 30%
  80.     + label {text = "[L]" color = "white" align = "left"}
  81. }
  82. + hbox{#第5行
  83.     left = 5%+120
  84.     top = 45%+8
  85.     width = 10%
  86.     height = 25
  87.     + label {text = "切换语言" color = "white" align = "left"}
  88. }

  89. + hbox {#第6行
  90.     left = 5%
  91.     top = 50%
  92.     width = 30%
  93.     + image {file = "icons/menu_f1.png"}
  94. }

  95. + hbox {#第6行
  96.     left = 5%+50
  97.     top = 50%+8
  98.     width = 30%
  99.     + label {text = "[F1]" color = "white" align = "left"}
  100. }
  101. + hbox{#第6行
  102.     left = 5%+120
  103.     top = 50%+8
  104.     width = 10%
  105.     height = 25
  106.     + label {text = "帮助信息" color = "white" align = "left"}
  107. }

  108. + hbox {#第7行
  109.     left = 5%
  110.     top = 55%
  111.     width = 30%
  112.     + image {file = "icons/menu_f2.png"}
  113. }

  114. + hbox {#第7行
  115.     left = 5%+50
  116.     top = 55%+8
  117.     width = 30%
  118.     + label {text = "[F2]" color = "white" align = "left"}
  119. }
  120. + hbox{#第7行
  121.     left = 5%+120
  122.     top = 55%+8
  123.     width = 10%
  124.     height = 25
  125.     + label {text = "本地浏览" color = "white" align = "left"}
  126. }

  127. + hbox {#第8行
  128.     left = 5%
  129.     top = 60%
  130.     width = 30%
  131.     + image {file = "icons/menu_f3.png"}
  132. }

  133. + hbox {#第8行
  134.     left = 5%+50
  135.     top = 60%+8
  136.     width = 30%
  137.     + label {text = "[F3]" color = "white" align = "left"}
  138. }
  139. + hbox{#第8行
  140.     left = 5%+120
  141.     top = 60%+8
  142.     width = 10%
  143.     height = 25
  144.     + label {text = "切换视图" color = "white" align = "left"}
  145. }

  146. + hbox {#第9行
  147.     left = 5%
  148.     top = 65%
  149.     width = 30%
  150.     + image {file = "icons/menu_f4.png"}
  151. }

  152. + hbox {#第9行
  153.     left = 5%+50
  154.     top = 65%+8
  155.     width = 30%
  156.     + label {text = "[F4]" color = "white" align = "left"}
  157. }
  158. + hbox{#第9行
  159.     left = 5%+120
  160.     top = 65%+8
  161.     width = 10%
  162.     height = 25
  163.     + label {text = "系统引导" color = "white" align = "left"}
  164. }


  165. + hbox {#第10行
  166.     left = 5%
  167.     top = 70%
  168.     width = 30%
  169.     + image {file = "icons/menu_f5.png"}
  170. }

  171. + hbox {#第10行
  172.     left = 5%+50
  173.     top = 70%+8
  174.     width = 30%
  175.     + label {text = "[F5]" color = "white" align = "left"}
  176. }
  177. + hbox{#第10行
  178.     left = 5%+120
  179.     top = 70%+8
  180.     width = 10%
  181.     height = 25
  182.     + label {text = "工具" color = "white" align = "left"}
  183. }


  184. + hbox {#第11行
  185.     left = 5%
  186.     top = 75%
  187.     width = 30%
  188.     + image {file = "icons/menu_f6.png"}
  189. }

  190. + hbox {#第11行
  191.     left = 5%+50
  192.     top = 75%+8
  193.     width = 30%
  194.     + label {text = "[F6]" color = "white" align = "left"}
  195. }
  196. + hbox{#第11行
  197.     left = 5%+120
  198.     top = 75%+8
  199.     width = 10%
  200.     height = 25
  201.     + label {text = "自定义菜单" color = "white" align = "left"}
  202. }


  203. + hbox {#第12行
  204.     left = 5%
  205.     top = 80%
  206.     width = 30%
  207.     + image {file = "icons/menu_f7.png"}
  208. }

  209. + hbox {#第12行
  210.     left = 5%+50
  211.     top = 80%+8
  212.     width = 30%
  213.     + label {text = "[F7]" color = "white" align = "left"}
  214. }
  215. + hbox{#第12行
  216.     left = 5%+120
  217.     top = 80%+8
  218.     width = 10%
  219.     height = 25
  220.     + label {text = "切换模式" color = "white" align = "left"}
  221. }
复制代码


同时在VENTOY.JSON文件中,在MENU_TIP中定位文字位置。

  1.     "menu_tip":{
  2.         "left": "5%+120",
  3.         "top": "25%+8",
  4.         "color": "white",
  5.         "tips":[
  6.         {
  7.             "image": "/BOOT/ISO_VMware_ESXI/ESXi-8.0.2-22380479.x86_64.iso",
  8.             "tip": "[2023-10]"
  9.         },
  10.         {
  11.             "image": "/BOOT/ISO_VMware_ESXI/ESXi-8.0.2-22380479-HPE-802.0.0.11.4.0.14-Sep2023.iso",
  12.             "tip": "[2023-10]"
  13.         },
复制代码


附件中包含我自选的5个主题,都已经按布局修改。ventoy.json供参考。



ventoy-theme.part2.rar

1.16 MB, 下载次数: 89, 下载积分: 无忧币 -2

ventoy-theme.part1.rar

3 MB, 下载次数: 84, 下载积分: 无忧币 -2

2#
发表于 2024-2-25 00:01:50 | 只看该作者
谢谢分享
回复

使用道具 举报

3#
发表于 2024-2-25 07:27:29 | 只看该作者
看不懂也谢谢
回复

使用道具 举报

4#
发表于 2024-2-25 08:24:13 来自手机 | 只看该作者
把成品也发出来啊
回复

使用道具 举报

5#
发表于 2024-2-25 08:58:25 | 只看该作者
不错!
谢楼主分享
回复

使用道具 举报

6#
发表于 2024-2-25 09:39:25 | 只看该作者
学习了
回复

使用道具 举报

7#
发表于 2024-2-25 09:59:24 | 只看该作者
分享经验谢谢
回复

使用道具 举报

8#
发表于 2024-2-25 10:07:26 | 只看该作者
谢谢楼主分享 挺好看
回复

使用道具 举报

9#
发表于 2024-2-25 10:25:55 | 只看该作者
谢谢楼主分享
回复

使用道具 举报

10#
发表于 2024-2-25 11:11:37 | 只看该作者
嗯,很清爽
回复

使用道具 举报

11#
发表于 2024-2-25 23:10:39 | 只看该作者

谢谢楼主分享
回复

使用道具 举报

12#
发表于 2024-3-8 16:28:18 | 只看该作者


谢谢楼主分享
回复

使用道具 举报

13#
发表于 2024-3-8 16:29:00 | 只看该作者
提示:抱歉,您没有权限下载本附件,
回复

使用道具 举报

14#
发表于 2024-3-9 08:48:21 | 只看该作者
感谢分享、待会下载下来试试看
回复

使用道具 举报

15#
发表于 2024-3-14 03:56:34 | 只看该作者
谢谢分享
回复

使用道具 举报

16#
发表于 2024-3-20 21:27:36 | 只看该作者
太好了,赶紧修改修改,谢谢。
回复

使用道具 举报

17#
发表于 2024-3-21 16:19:37 | 只看该作者
看起来不错,收藏了
回复

使用道具 举报

18#
发表于 2024-4-15 09:00:07 | 只看该作者
谢谢分享
回复

使用道具 举报

19#
发表于 昨天 21:44 | 只看该作者
谢谢分享,小白不明白这个咋用?请指教
回复

使用道具 举报

20#
发表于 7 小时前 | 只看该作者
注册下来不容易啊。求一个
回复

使用道具 举报

21#
发表于 6 小时前 | 只看该作者
PXE可以 支持多少台终端同时启动?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-27 18:25

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表