// Get a handle to the window
Window window = application.GetWindow();
- window.GetRootLayer().TouchSignal().Connect( this, &RayMarchingExample::OnTouch );
+ window.GetRootLayer().TouchedSignal().Connect( this, &RayMarchingExample::OnTouch );
window.KeyEventSignal().Connect(this, &RayMarchingExample::OnKeyEvent);
APPLICATION_TITLE );
// Add an extra space on the right to center the title text.
- mToolBar.AddControl( Actor::New(), DemoHelper::DEFAULT_VIEW_STYLE.mToolBarButtonPercentage, Toolkit::Alignment::HorizontalRight );
+ mToolBar.AddControl( Actor::New(), DemoHelper::DEFAULT_VIEW_STYLE.mToolBarButtonPercentage, Toolkit::Alignment::HORIZONTAL_RIGHT );
AddContentLayer();
*/
void OnKeyEvent(const KeyEvent& event)
{
- if(event.GetState() == KeyEvent::Down)
+ if(event.GetState() == KeyEvent::DOWN)
{
if( IsKey( event, Dali::DALI_KEY_ESCAPE) || IsKey( event, Dali::DALI_KEY_BACK) )
{
Property::Map vertexFormat;
vertexFormat["aPosition"] = Property::VECTOR2;
- PropertyBuffer vertexBuffer = PropertyBuffer::New( vertexFormat );
+ VertexBuffer vertexBuffer = VertexBuffer::New( vertexFormat );
const float P( 0.5f );
const Vector2 vertices[] = {