ui-settings.tin 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. #nop vim: set filetype=tt:;
  2. /*
  3. 本文件属于 PaoTin++ 的一部分。
  4. PaoTin++ © 2020~2024 的所有版权均由担子炮(dzp <danzipao@gmail.com>) 享有并保留一切法律权利
  5. 你可以在遵照 GPLv3 协议的基础之上使用、修改及重新分发本程序。
  6. */
  7. #nop 绑定事件,发生何种事件时,需要更新 UI;
  8. #var tmux-update-events[DEFAULT] {char/score};
  9. #nop tmux pane 边框的样式;
  10. #var tmux-pane-border-format[DEFAULT] {
  11. {left} {ID: [<g23><188>\$char[档案][账号]<099>]}
  12. {centre} {大名: [\$char[档案][大名]]}
  13. {right} {头衔: [\$char[档案][头衔]]}
  14. };
  15. #nop {Top} {TopSepBar} {MidSepBar} {Bot} {BotSepBar};
  16. #list prompt-fields create {
  17. { {place}{BotSepBar} {label}{<119>警报} {name}{alert} }
  18. { {place}{BotSepBar} {label}{屏幕美化} {name}{beautify} {cooldown}{600} {visibility}{HideCool} }
  19. { {place}{BotSepBar} {label}{状态栏更新} {name}{disable} {visibility}{HideLabel} }
  20. { {place}{BotSepBar} {label}{随手记} {name}{note} {color}{<134>}}
  21. };
  22. VAR {信息栏的配色主题} prompt-theme {
  23. {Disable}{<bbc>}
  24. {BusyColor}{<239>}
  25. {BattleColor}{<119>}
  26. {BattleBusyColor}{<599><119>}
  27. {TopSepBar}{<229>}
  28. {MidSepBar}{<229>}
  29. {BotSepBar}{<229>}
  30. {HotLabel}{<199><F399>}
  31. {CoolLabel}{<109>}
  32. {Value}{<299>}
  33. };
  34. VAR {信息栏的填充字符} prompt-padding {─};
  35. VAR {自定义图标} prompt-icon {
  36. {DisableRefresh}{🚫}
  37. };
  38. VAR {命令提示符,默认为空} prompt-prompt {};
  39. VAR {键盘扫描码} {global-keypad-code} {
  40. {Home} {\e[H}
  41. {End} {\e[F}
  42. {Up} {\e[A}
  43. {Down} {\e[B}
  44. {Left} {\e[D}
  45. {Right} {\e[C}
  46. {Center} {\e[G}
  47. {PageUp} {\e[5~}
  48. {PageDown} {\e[6~}
  49. {Enter} {\n}
  50. {ShiftHome} {\e[1;2H}
  51. {ShiftEnd} {\e[1;2F}
  52. {ShiftUp} {\e[1;2A}
  53. {ShiftDown} {\e[1;2B}
  54. {ShiftLeft} {\e[1;2D}
  55. {ShiftPageUp} {\e[5;2~}
  56. {ShiftPageDown} {\e[6;2~}
  57. {F1} {\eOP}
  58. {F2} {\eOQ}
  59. {F3} {\eOR}
  60. {F4} {\eOS}
  61. {F5} {\e[15~}
  62. {F6} {\e[17~}
  63. {F7} {\e[18~}
  64. {F8} {\e[19~}
  65. {F9} {\e[20~}
  66. {F10} {\e[21~}
  67. {F11} {\e[23~}
  68. {F12} {\e[24~}
  69. {Insert} {\e[2~}
  70. {Delete} {\e[3~}
  71. {KeyA} {a}
  72. {KeyB} {b}
  73. {KeyC} {c}
  74. {KeyD} {d}
  75. {KeyE} {e}
  76. {KeyF} {f}
  77. {KeyG} {g}
  78. {KeyH} {h}
  79. {KeyI} {i}
  80. {KeyJ} {j}
  81. {KeyK} {k}
  82. {KeyL} {l}
  83. {KeyM} {m}
  84. {KeyN} {n}
  85. {KeyO} {o}
  86. {KeyP} {p}
  87. {KeyQ} {q}
  88. {KeyR} {r}
  89. {KeyS} {s}
  90. {KeyT} {t}
  91. {KeyU} {u}
  92. {KeyV} {v}
  93. {KeyW} {w}
  94. {KeyX} {x}
  95. {KeyY} {y}
  96. {KeyZ} {z}
  97. {ShiftKeyA} {A}
  98. {ShiftKeyB} {B}
  99. {ShiftKeyC} {C}
  100. {ShiftKeyD} {D}
  101. {ShiftKeyE} {E}
  102. {ShiftKeyF} {F}
  103. {ShiftKeyG} {G}
  104. {ShiftKeyH} {H}
  105. {ShiftKeyI} {I}
  106. {ShiftKeyJ} {J}
  107. {ShiftKeyK} {K}
  108. {ShiftKeyL} {L}
  109. {ShiftKeyM} {M}
  110. {ShiftKeyN} {N}
  111. {ShiftKeyO} {O}
  112. {ShiftKeyP} {P}
  113. {ShiftKeyQ} {Q}
  114. {ShiftKeyR} {R}
  115. {ShiftKeyS} {S}
  116. {ShiftKeyT} {T}
  117. {ShiftKeyU} {U}
  118. {ShiftKeyV} {V}
  119. {ShiftKeyW} {W}
  120. {ShiftKeyX} {X}
  121. {ShiftKeyY} {Y}
  122. {ShiftKeyZ} {Z}
  123. {KeySemicolon} {;}
  124. {KeyColon} {:}
  125. {KeyDot} {.}
  126. {KeyAdd} {+}
  127. {KeySub} {-}
  128. {KeyMul} {*}
  129. {KeyDiv} {/}
  130. {KeyNum0} {0}
  131. {KeyNum1} {1}
  132. {KeyNum2} {2}
  133. {KeyNum3} {3}
  134. {KeyNum4} {4}
  135. {KeyNum5} {5}
  136. {KeyNum6} {6}
  137. {KeyNum7} {7}
  138. {KeyNum8} {8}
  139. {KeyNum9} {9}
  140. };
  141. #nop 热键绑定;
  142. #list global-key-bindings create {
  143. {{key}{^\cc} {meaning}{刷新屏幕} {action}{#screen resize 0 0}}
  144. {{key}{\cd} {meaning}{命令行智能切换} {action}{cli.SmartToggle}}
  145. {{key}{\co\cd} {meaning}{禁止/允许命令和触发} {action}{xtt.ToggleDisableCommands}}
  146. {{key}{\cos} {meaning}{禁止/允许状态栏更新} {action}{prompt.ToggleSwitch}}
  147. {{key}{\cob} {meaning}{禁止/允许界面宽字符美化} {action}{beautify.ToggleSwitch}}
  148. {{key}{\col} {meaning}{查看选项列表} {action}{option.List}}
  149. {{key}{\cod} {meaning}{开启/关闭调试模式} {action}{option.Toggle DebugLog}}
  150. {{key}{\coD} {meaning}{开启/关闭调试日志} {action}{option.Toggle DebugLogEcho}}
  151. {{key}{\coe} {meaning}{开启/关闭命令发送回显} {action}{option.Toggle EchoCommand}}
  152. {{key}{\cok} {meaning}{开启/关闭小键盘走路} {action}{option.Toggle KeypadWalk}}
  153. {{key}{\coK} {meaning}{开启/关闭屏幕虚拟键盘走路} {action}{option.Toggle ScreenKeypad}}
  154. };
  155. VAR {小键盘走路的功能映射表} {global-keypad-walking} {};
  156. #list {global-keypad-walking} create {
  157. {{key}{Up} {meaning}{向北,尽量靠下/上} {type}{dir} {args}{northdown;north;northup;up;northwest;northeast}}
  158. {{key}{Down} {meaning}{向南,尽量靠下/下} {type}{dir} {args}{southdown;south;southup;down;southwest;southeast}}
  159. {{key}{Left} {meaning}{向西,尽量靠下/出} {type}{dir} {args}{westdown;west;westup;out;northwest;southwest}}
  160. {{key}{Right} {meaning}{向东,尽量靠下/入} {type}{dir} {args}{eastdown;east;eastup;enter;northeast;southeast}}
  161. {{key}{ShiftUp} {meaning}{向北,尽量靠上} {type}{dir} {args}{northup;north}}
  162. {{key}{ShiftDown} {meaning}{向南,尽量靠上} {type}{dir} {args}{southup;south}}
  163. {{key}{ShiftLeft} {meaning}{向西,尽量靠上} {type}{dir} {args}{westup;west}}
  164. {{key}{ShiftRight} {meaning}{向东,尽量靠上} {type}{dir} {args}{eastup;east}}
  165. {{key}{Home} {meaning}{向西北/西上/北上} {type}{dir} {args}{northwest;westup;northup}}
  166. {{key}{End} {meaning}{向西南/西下/南上} {type}{dir} {args}{southwest;westdown;southup}}
  167. {{key}{PageUp} {meaning}{向东北/东上/北下} {type}{dir} {args}{northeast;eastup;northdown}}
  168. {{key}{PageDown} {meaning}{向东南/东下/南下} {type}{dir} {args}{southeast;eastdown;southdown}}
  169. {{key}{Center} {meaning}{查看房间} {type}{cmd} {args}{look}}
  170. };
  171. VAR {HP摘要刷新时机,三选一:{总是|从不|自动}} char.HPSummarize.Echo {自动};
  172. VAR {HP摘要配色表} char.HPSummarize.Theme {
  173. {色卡} {<218>;15;<118>;30;<238>;60;<138>;90;<128>;101;<168>}
  174. {前景} {
  175. {平常} {<168>}
  176. {战斗} {<118>}
  177. {战安} {<128>}
  178. {战危} {<118>}
  179. {战忙} {<138>}
  180. {危急} {<158>}
  181. {正忙} {<138>}
  182. }
  183. {背景} {
  184. {平常} {<099>}
  185. {战斗} {<B00A>}
  186. {战安} {<B040>}
  187. {战危} {<B600>}
  188. {战忙} {<B808>}
  189. {危急} {<BA00>}
  190. {正忙} {<B330>}
  191. }
  192. };