/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// EXTERNAL INCLUDES
#include <dali/public-api/events/key-event.h>
-#include <dali/public-api/events/touch-event.h>
#include <dali/public-api/events/wheel-event.h>
// INTERNAL INCLUDES
if (isAdaptorAvailable)
{
Dali::Adaptor& adaptor = Internal::Adaptor::Adaptor::Get();
- Internal::Adaptor::Adaptor::GetImplementation(adaptor).AddWindow(sceneHolder, name, className, isTransparent);
+ Internal::Adaptor::Adaptor::GetImplementation(adaptor).AddWindow(sceneHolder);
}
newWindow = Window(window);
}
GetImplementation( window ).SetPositionSize( positionSize );
}
-Dali::RenderTaskList GetRenderTaskList( Window window )
-{
- return GetImplementation( window ).GetRenderTaskList();
-}
-
Window Get( Actor actor )
{
return Internal::Adaptor::Window::Get( actor );
return GetImplementation( window ).EventProcessingFinishedSignal();
}
-KeyEventSignalType& KeyEventSignal( Window window )
-{
- return GetImplementation( window ).KeyEventSignal();
-}
-
-TouchSignalType& TouchSignal( Window window )
-{
- return GetImplementation( window ).TouchSignal();
-}
-
WheelEventSignalType& WheelEventSignal( Window window )
{
return GetImplementation( window ).WheelEventSignal();
return GetImplementation( window ).TransitionEffectEventSignal();
}
+KeyboardRepeatSettingsChangedSignalType& KeyboardRepeatSettingsChangedSignal( Window window )
+{
+ return GetImplementation( window ).KeyboardRepeatSettingsChangedSignal();
+}
+
void SetParent( Window window, Window parent )
{
GetImplementation( window ).SetParent( parent );
return GetImplementation( window ).GetNativeId();
}
-void SetDamagedAreas(Window window, std::vector<Dali::Rect<int>>& areas)
+void AddFrameRenderedCallback( Window window, std::unique_ptr< CallbackBase > callback, int32_t frameId )
+{
+ GetImplementation( window ).AddFrameRenderedCallback( std::move( callback ), frameId );
+}
+
+void AddFramePresentedCallback( Window window, std::unique_ptr< CallbackBase > callback, int32_t frameId )
{
- GetImplementation(window).SetDamagedAreas(areas);
+ GetImplementation( window ).AddFramePresentedCallback( std::move( callback ), frameId );
}
} // namespace DevelWindow