From 293d28257c81d9291b5afabcca6da8cf39bfb3d4 Mon Sep 17 00:00:00 2001 From: OttoLidenbrock Date: Tue, 5 May 2015 17:30:30 +1000 Subject: [PATCH] Make inventory button 3 times larger --- src/touchscreengui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp index 750b869df..bce5afe78 100644 --- a/src/touchscreengui.cpp +++ b/src/touchscreengui.cpp @@ -249,25 +249,25 @@ void TouchScreenGUI::init(ISimpleTextureSource* tsrc, float density) /* init inventory button */ initButton(inventory_id, - rect(m_screensize.X-(0.5*button_size), - m_screensize.Y - (0.5*button_size), + rect(m_screensize.X-(1.5*button_size), + m_screensize.Y - (1.5*button_size), m_screensize.X-(0.0*button_size), m_screensize.Y), L"inv", true); /* init drop button */ initButton(drop_id, - rect(m_screensize.X-(3*button_size), + rect(m_screensize.X-(3.75*button_size), m_screensize.Y - (0.5*button_size), - m_screensize.X-(2.5*button_size), + m_screensize.X-(3.25*button_size), m_screensize.Y), L"drop", true); /* init crunch button */ initButton(crunch_id, - rect(m_screensize.X-(2.25*button_size), + rect(m_screensize.X-(3*button_size), m_screensize.Y - (0.5*button_size), - m_screensize.X-(1.25*button_size), + m_screensize.X-(2*button_size), m_screensize.Y), L"H",false);