Moved gui elements:
- drop button - to the left bottom corner; - crouch button - a little bit to the right (0.5 button size).
This commit is contained in:
parent
0e762f3c0a
commit
ece80e3498
|
@ -257,17 +257,17 @@ void TouchScreenGUI::init(ISimpleTextureSource* tsrc, float density)
|
|||
|
||||
/* init drop button */
|
||||
initButton(drop_id,
|
||||
rect<s32>(m_screensize.X-(3.75*button_size),
|
||||
rect<s32>(0,
|
||||
m_screensize.Y - (0.5*button_size),
|
||||
m_screensize.X-(3.25*button_size),
|
||||
(0.5*button_size),
|
||||
m_screensize.Y),
|
||||
L"drop", true);
|
||||
|
||||
/* init crunch button */
|
||||
initButton(crunch_id,
|
||||
rect<s32>(m_screensize.X-(3*button_size),
|
||||
rect<s32>(m_screensize.X-(2.5*button_size),
|
||||
m_screensize.Y - (0.5*button_size),
|
||||
m_screensize.X-(2*button_size),
|
||||
m_screensize.X-(1.5*button_size),
|
||||
m_screensize.Y),
|
||||
L"H",false);
|
||||
|
||||
|
|
Loading…
Reference in New Issue