Dali 3D User Interface Engine
system-overlay-impl.h
Go to the documentation of this file.
1 #ifndef __DALI_INTERNAL_SYSTEM_OVERLAY_H__
2 #define __DALI_INTERNAL_SYSTEM_OVERLAY_H__
3 
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20 
21 // INTERNAL INCLUDES
27 
28 namespace Dali
29 {
30 
31 namespace Internal
32 {
33 
34 class LayerList;
35 class RenderTaskList;
36 class EventThreadServices;
37 
42 {
43 public:
44 
50  static SystemOverlay* New( EventThreadServices& eventThreadServices );
51 
56 
60  void Add( Actor& actor );
61 
65  void Remove( Actor& actor );
66 
71 
77  void SetSize( float width, float height );
78 
84 
90  virtual Actor& GetDefaultRootActor();
91 
98 
99 private:
100 
105  SystemOverlay( EventThreadServices& eventThreadServices );
106 
110  void Initialize();
111 
115  void CreateRootLayer();
116 
121 
122 private:
123 
125 
127 
129 
131 
133 
134  // Ordered list of currently on-stage layers
136 };
137 
138 } // namespace Internal
139 
140 } // namespace Dali
141 
142 #endif // __DALI_INTERNAL_SYSTEM_OVERLAY_H__
Dali Docs Home
Read more about Dali