AggrorJorn Posted May 3, 2013 Share Posted May 3, 2013 The following 2 commands contains wrong sample code: http://www.leadwerks...celeration-r513 http://www.leadwerks...rientation-r512 This should: context->SetColor(0,0,0); context->Clear(); //Display the device information on the screen context->SetBlendMode(Blend::Alpha); context->SetColor(1,1,1); context->DrawText("Orientation: "+String(Device::GetOrientation()),2,2); context->DrawText("Acceleration: "+Device::GetAcceleration().ToString(),2,22); context->SetBlendMode(Blend::Solid); Link to comment Share on other sites More sharing options...
Admin Posted June 26, 2013 Share Posted June 26, 2013 Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts