resized buttons
This commit is contained in:
parent
5d4d66cf06
commit
8744c751a8
|
@ -52,13 +52,13 @@ bool MainState::Init( NetworkClient* nwClient )
|
||||||
// create buttons
|
// create buttons
|
||||||
ButtonRectangle<GameClientState*> *button;
|
ButtonRectangle<GameClientState*> *button;
|
||||||
|
|
||||||
button = new ButtonRectangle<GameClientState*>( L"earth_md.png", OnButtonInteract_Create, this, 0.5f, 0.2f, 0.1f, 0.3f, true );
|
button = new ButtonRectangle<GameClientState*>( L"earth_md.png", OnButtonInteract_Create, this, 0.5f, 0.2f, 0.3f, 0.1f, true );
|
||||||
this->privData->button.AddButton( button );
|
this->privData->button.AddButton( button );
|
||||||
|
|
||||||
button = new ButtonRectangle<GameClientState*>( L"skysphere_md.png", OnButtonInteract_Join, this, 0.5f, 0.4f, 0.1f, 0.3f, true );
|
button = new ButtonRectangle<GameClientState*>( L"skysphere_md.png", OnButtonInteract_Join, this, 0.5f, 0.4f, 0.3f, 0.1f, true );
|
||||||
this->privData->button.AddButton( button );
|
this->privData->button.AddButton( button );
|
||||||
|
|
||||||
button = new ButtonRectangle<GameClientState*>( L"plane_texture_md.png", OnButtonInteract_Quit, this, 0.5f, 0.8f, 0.1f, 0.3f, true );
|
button = new ButtonRectangle<GameClientState*>( L"plane_texture_md.png", OnButtonInteract_Quit, this, 0.5f, 0.8f, 0.3f, 0.1f, true );
|
||||||
this->privData->button.AddButton( button );
|
this->privData->button.AddButton( button );
|
||||||
|
|
||||||
// bind button collection to the singleton eventhandler
|
// bind button collection to the singleton eventhandler
|
||||||
|
|
Loading…
Reference in New Issue