diff --git a/Minecraft.Client/Gui.cpp b/Minecraft.Client/Gui.cpp index 993f48050..cc18d67a6 100644 --- a/Minecraft.Client/Gui.cpp +++ b/Minecraft.Client/Gui.cpp @@ -994,14 +994,14 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse) if (alpha > 0) { int x = iSafezoneXHalf+2; - int y = -(static_cast(i)) * 9 - 10; + int y = -(static_cast(i)) * 9 - 20; if(bTwoPlayerSplitscreen) { y+= iHeightOffset; } wstring msg = guiMessages[iPad][i].string; - int bgColor = ((alpha / 4) << 24) | (0x404040); + int bgColor = ((alpha / 2) << 24) | (0x404040); this->fill(0, y - 1, screenWidth/fScaleFactorWidth, y + 8, bgColor); glEnable(GL_BLEND); diff --git a/Minecraft.Client/Windows64/KeyboardMouseInput.cpp b/Minecraft.Client/Windows64/KeyboardMouseInput.cpp index c174e8959..a1d779a80 100644 --- a/Minecraft.Client/Windows64/KeyboardMouseInput.cpp +++ b/Minecraft.Client/Windows64/KeyboardMouseInput.cpp @@ -409,10 +409,4 @@ void KeyboardMouseInput::ClearCharBuffer() m_charBufferTail = 0; } -bool KeyboardMouseInput::IsGameInFront() -{ - HWND InFrontWindow = GetForegroundWindow(); - return (InFrontWindow == g_hWnd); -} - #endif // _WINDOWS64 diff --git a/Minecraft.Client/Windows64/KeyboardMouseInput.h b/Minecraft.Client/Windows64/KeyboardMouseInput.h index 82618d8c8..0f14dfa1f 100644 --- a/Minecraft.Client/Windows64/KeyboardMouseInput.h +++ b/Minecraft.Client/Windows64/KeyboardMouseInput.h @@ -139,8 +139,6 @@ private: wchar_t m_charBuffer[CHAR_BUFFER_SIZE]; int m_charBufferHead; int m_charBufferTail; - - bool IsGameInFront(); }; extern KeyboardMouseInput g_KBMInput;