📄 chathud.gui
字号:
//-----------------------------------------------------------------------------
// Message Window
//-----------------------------------------------------------------------------
new GuiControl(MainChatHud) {
profile = "GuiModelessDialogProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
modal = "1";
setFirstResponder = "0";
noCursor = true;
new GuiNoMouseCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "bottom";
position = "-3 680";
extent = "210 310";
minExtent = "8 8";
visible = "1";
new GuiBitmapCtrl(OuterChatHud)
{
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "8 8";
extent = "256 72";
minExtent = "8 8";
visible = "1";
setFirstResponder = "0";
bitmap = "./hudfill.png";
new GuiButtonCtrl(chatPageDown)
{
profile = "GuiButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "217 54";
extent = "36 14";
minExtent = "8 8";
visible = "0";
text = "Dwn";
};
new GuiScrollCtrl(ChatScrollHud)
{
profile = "ChatHudScrollProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 0";
extent = "256 72";
minExtent = "8 8";
visible = "1";
setFirstResponder = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOff";
constantThumbHeight = "0";
new GuiMessageVectorCtrl(ChatHud)
{
profile = "ChatHudMessageProfile";
horizSizing = "width";
vertSizing = "height";
position = "4 4";
extent = "252 64";
minExtent = "8 8";
visible = "1";
setFirstResponder = "0";
lineSpacing = "0";
lineContinuedIndex = "10";
allowedMatches[0] = "http";
allowedMatches[1] = "tgeserver";
matchColor = "0 0 255 255";
maxColorIndex = 5;
};
};
};
};
};
//-----------------------------------------------------------------------------
// Chat edit window
//-----------------------------------------------------------------------------
new GuiControl(MessageHud)
{
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "0";
noCursor = true;
new GuiControl(MessageHud_Frame)
{
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "120 375";
extent = "400 24";
minExtent = "8 8";
visible = "1";
new GuiTextCtrl(MessageHud_Text)
{
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "6 5";
extent = "10 22";
minExtent = "8 8";
visible = "1";
};
new GuiTextEditCtrl(MessageHud_Edit)
{
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 5";
extent = "10 22";
minExtent = "8 8";
visible = "1";
altCommand = "$ThisControl.eval();";
escapeCommand = "MessageHud_Edit.onEscape();";
historySize = "5";
maxLength = "120";
};
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -