mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +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
|
|
@ -1569,6 +1569,11 @@ new GuiControlProfile(ToolsGuiConsoleLargeProfile : ToolsGuiConsoleProfile)
|
|||
{
|
||||
fontSize = $GUI::fontSize[16];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleXLProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleXLProfile : ToolsGuiConsoleProfile)
|
||||
{
|
||||
fontSize = $GUI::fontSize[18];
|
||||
};
|
||||
if(!isObject(ToolsGuiConsoleTextProfile))
|
||||
new GuiControlProfile(ToolsGuiConsoleTextProfile)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -252,6 +252,10 @@ function windowConsoleDlg::incFont()
|
|||
{
|
||||
switch ($Con::font)
|
||||
{
|
||||
case 16:
|
||||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleXLProfile);
|
||||
$Con::font = 18;
|
||||
windowConsoleMessageLogView.refresh();
|
||||
case 14:
|
||||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleLargeProfile);
|
||||
$Con::font = 16;
|
||||
|
|
@ -275,6 +279,10 @@ function windowConsoleDlg::decFont()
|
|||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleMediumProfile);
|
||||
$Con::font = 14;
|
||||
windowConsoleMessageLogView.refresh();
|
||||
case 18:
|
||||
windowConsoleMessageLogView.setProfile(ToolsGuiConsoleLargeProfile);
|
||||
$Con::font = 16;
|
||||
windowConsoleMessageLogView.refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue