projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Combined Stage and Window class, and removed Stage class
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-sharp
/
examples
/
visuals-using-custom-view
/
visuals-using-custom-view.cs
diff --git
a/plugins/dali-sharp/examples/visuals-using-custom-view/visuals-using-custom-view.cs
b/plugins/dali-sharp/examples/visuals-using-custom-view/visuals-using-custom-view.cs
index
8762974
..
a77417a
100755
(executable)
--- a/
plugins/dali-sharp/examples/visuals-using-custom-view/visuals-using-custom-view.cs
+++ b/
plugins/dali-sharp/examples/visuals-using-custom-view/visuals-using-custom-view.cs
@@
-30,8
+30,8
@@
namespace VisualsUsingCustomView
private void Initialize(object source, NUIApplicationInitEventArgs e)
{
private void Initialize(object source, NUIApplicationInitEventArgs e)
{
-
Stage stage = Stage
.Instance;
-
stage
.BackgroundColor = Color.White;
+
Window window = Window
.Instance;
+
window
.BackgroundColor = Color.White;
TableView contentLayout = new TableView(14, 1);
contentLayout.Name = "ContentLayout";
TableView contentLayout = new TableView(14, 1);
contentLayout.Name = "ContentLayout";
@@
-40,7
+40,7
@@
namespace VisualsUsingCustomView
contentLayout.SetCellPadding(new Size2D(5, 5));
contentLayout.BackgroundColor = new Color(0.949f, 0.949f, 0.949f, 1.0f);
contentLayout.SetCellPadding(new Size2D(5, 5));
contentLayout.BackgroundColor = new Color(0.949f, 0.949f, 0.949f, 1.0f);
-
stage
.GetDefaultLayer().Add(contentLayout);
+
window
.GetDefaultLayer().Add(contentLayout);
TextLabel title = new TextLabel("Contacts List with Visuals");
title.Name = "Title";
TextLabel title = new TextLabel("Contacts List with Visuals");
title.Name = "Title";