[ACR-564] deprecate unused API
[platform/core/csapi/tizenfx.git] / src / ElmSharp.Wearable / ElmSharp.Wearable / Preload.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18
19 namespace ElmSharp.Wearable
20 {
21     static class Preload
22     {
23         static public void WarmupWidgets(PreloadedWindow win)
24         {
25             var surface = new CircleSurface(win.BaseConformant);
26             win.BaseCircleSurface = surface;
27             new CircleDateTimeSelector(win, surface).Unrealize();
28             new CircleProgressBar(win, surface).Unrealize();
29             new CircleScroller(win, surface).Unrealize();
30             new CircleSlider(win, surface).Unrealize();
31             new CircleSpinner(win, surface).Unrealize();
32             new MoreOption(win).Unrealize();
33         }
34     }
35 }