Jump to content

Documentation fault


Recommended Posts

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

  • 1 month later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...