mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Add extra increased font size to Windowed Console
Added extra large font to the windowed console. Use the [-A] [A+] buttons to change the size. Preferably would introduce "lineSpacing" to the GuiConsole object for improved readability; as well to store this into the prefs.
This commit is contained in:
parent
02b86eafee
commit
8f2dbd5e2f
2 changed files with 13 additions and 0 deletions
|
|
@ -1569,6 +1569,11 @@ new GuiControlProfile(ToolsGuiConsoleLargeProfile : ToolsGuiConsoleProfile)
|
||||||
{
|
{
|
||||||
fontSize = $GUI::fontSize[16];
|
fontSize = $GUI::fontSize[16];
|
||||||
};
|
};
|
||||||
|
if(!isObject(ToolsGuiConsoleXLProfile))
|
||||||
|
new GuiControlProfile(ToolsGuiConsoleXLProfile : ToolsGuiConsoleProfile)
|
||||||
|
{
|
||||||
|
fontSize = $GUI::fontSize[18];
|
||||||
|
};
|
||||||
if(!isObject(ToolsGuiConsoleTextProfile))
|
if(!isObject(ToolsGuiConsoleTextProfile))
|
||||||
new GuiControlProfile(ToolsGuiConsoleTextProfile)
|
new GuiControlProfile(ToolsGuiConsoleTextProfile)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -252,6 +252,10 @@ function windowConsoleDlg::incFont()
|
||||||
{
|
{
|
||||||
switch ($Con::font)
|
switch ($Con::font)
|
||||||
{
|
{
|
||||||
|
case 16:
|
||||||
|
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleXLProfile);
|
||||||
|
$Con::font = 18;
|
||||||
|
windowConsoleMessageLogView.refresh();
|
||||||
case 14:
|
case 14:
|
||||||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleLargeProfile);
|
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleLargeProfile);
|
||||||
$Con::font = 16;
|
$Con::font = 16;
|
||||||
|
|
@ -275,6 +279,10 @@ function windowConsoleDlg::decFont()
|
||||||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleMediumProfile);
|
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleMediumProfile);
|
||||||
$Con::font = 14;
|
$Con::font = 14;
|
||||||
windowConsoleMessageLogView.refresh();
|
windowConsoleMessageLogView.refresh();
|
||||||
|
case 18:
|
||||||
|
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleLargeProfile);
|
||||||
|
$Con::font = 16;
|
||||||
|
windowConsoleMessageLogView.refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue