summaryrefslogtreecommitdiff
path: root/ElmSharp.Test
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2017-06-08 11:28:04 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-06-08 11:28:04 +0000
commit7aa815a29497cd762cd23fbb8d58e33a421fe692 (patch)
tree90bfddc724b0553c9d73590f0c96832edd95c788 /ElmSharp.Test
parent4db4385a3fe76ce5cafbe3f9da02f91a6341a66a (diff)
parentcda61ab3d138d0887d9e9479e90201a7b903097d (diff)
downloadelm-sharp-7aa815a29497cd762cd23fbb8d58e33a421fe692.tar.gz
elm-sharp-7aa815a29497cd762cd23fbb8d58e33a421fe692.tar.bz2
elm-sharp-7aa815a29497cd762cd23fbb8d58e33a421fe692.zip
Merge "Enhance Background Widget" into tizen
Diffstat (limited to 'ElmSharp.Test')
-rw-r--r--ElmSharp.Test/TC/BackgroundTest1.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/ElmSharp.Test/TC/BackgroundTest1.cs b/ElmSharp.Test/TC/BackgroundTest1.cs
index a9514d5..ed2a447 100644
--- a/ElmSharp.Test/TC/BackgroundTest1.cs
+++ b/ElmSharp.Test/TC/BackgroundTest1.cs
@@ -31,13 +31,17 @@ namespace ElmSharp.Test
Color = Color.Orange
};
- Background bg2 = new Background(window) {
- File = "/opt/home/owner/res/tizen.png",
- BackgroundOption = BackgroundOptions.Tile
+ Background bg2 = new Background(window)
+ {
+ File = "/home/owner/apps_rw/ElmSharpTest/res/picture.png",
+ BackgroundOption = BackgroundOptions.Center,
+ BackgroundColor = Color.Gray
};
+ bg2.SetFileLoadSize(50, 50);
+
Show(bg1, 0, 0, 100, 100);
- Show(bg2, 100, 100, 500, 500);
+ Show(bg2, 0, 100, 700, 700);
}
void Show(Background bg, int x, int y, int w, int h)
@@ -47,4 +51,4 @@ namespace ElmSharp.Test
bg.Resize(w, h);
}
}
-}
+} \ No newline at end of file