#ifndef __DALI_INTERNAL_SYSTEM_OVERLAY_H__
#define __DALI_INTERNAL_SYSTEM_OVERLAY_H__
-//
-// Copyright (c) 2014 Samsung Electronics Co., Ltd.
-//
-// Licensed under the Flora License, Version 1.0 (the License);
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://floralicense.org/license/
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an AS IS BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-//
+/*
+ * Copyright (c) 2014 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.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
// INTERNAL INCLUDES
#include <dali/public-api/math/vector2.h>
class LayerList;
class RenderTaskList;
-class Stage;
+class EventThreadServices;
/**
* Implementation of Dali::Integration::SystemOverlay
/**
* Create the SystemOverlay; This should only be done once for each Dali core.
- * @param[in] stage A reference to the stage.
+ * @param[in] eventThreadServices to send messaged to scene graph.
* @return The newly allocated SystemOverlay.
*/
- static SystemOverlay* New( Stage& stage );
+ static SystemOverlay* New( EventThreadServices& eventThreadServices );
/**
* Non-virtual destructor; not intended as a base class.
void Remove( Actor& actor );
/**
+ * @copydoc Dali::Integration::SystemOverlay::SetOverlayRenderTasks()
+ */
+ void SetOverlayRenderTasks(RenderTaskList& taskList);
+
+ /**
* @copydoc Dali::Integration::SystemOverlay::GetOverlayRenderTasks()
*/
RenderTaskList& GetOverlayRenderTasks();
/**
* Protected constructor; see also SystemOverlay::New().
- * @param[in] stage A reference to the stage.
+ * @param[in] eventThreadServices to send messaged to the scene graph.
*/
- SystemOverlay( Stage& stage );
+ SystemOverlay( EventThreadServices& eventThreadServices );
/**
* Second-phase construction.
private:
- Stage& mStage;
+ EventThreadServices& mEventThreadServices;
Vector2 mSize;