no more italics in client

This commit is contained in:
UnknownShadow200 2017-03-02 23:24:46 +11:00
parent 15ed994993
commit 458b2574b4
4 changed files with 6 additions and 4 deletions

View File

@ -72,7 +72,7 @@ namespace ClassicalSharp.Gui.Screens {
public override void Init() {
font = new Font(game.FontName, 16);
posFont = new Font(game.FontName, 16, FontStyle.Italic);
posFont = new Font(game.FontName, 16, FontStyle.Regular);
ContextRecreated();
game.Events.ChatFontChanged += ChatFontChanged;
@ -95,7 +95,7 @@ namespace ClassicalSharp.Gui.Screens {
fpsText.SetText(msg);
posAtlas = new TextAtlas(game);
posAtlas.Pack("0123456789-, ()", posFont, "Feet pos: ");
posAtlas.Pack("0123456789-, ()", posFont, "Position: ");
posAtlas.tex.Y = (short)(fpsText.Height + 2);
int yOffset = fpsText.Height + posAtlas.tex.Height + 2;

View File

@ -173,6 +173,8 @@ namespace ClassicalSharp.Gui.Screens {
return true;
}
}
if (chat.HandlesAllInput) return true;
return hotbar.HandlesKeyUp(key);
}

View File

@ -20,7 +20,7 @@ namespace ClassicalSharp.Gui.Screens {
public override void Init() {
titleFont = new Font(game.FontName, 16, FontStyle.Bold);
regularFont = new Font(game.FontName, 16, FontStyle.Italic);
regularFont = new Font(game.FontName, 16, FontStyle.Regular);
base.Init();
if (keyNames == null)

View File

@ -150,7 +150,7 @@ namespace ClassicalSharp.Gui.Screens {
leftDesc = new string[] { "Left", "Middle", "Right" };
title = "Mouse key bindings";
leftPage = (g, w) => g.Gui.SetNewScreen(new HacksKeyBindingsScreen(g));
leftPage = (g, w) => g.Gui.SetNewScreen(new OtherKeyBindingsScreen(g));
ContextRecreated();
}