81f0ca400b6fa6c4a20a0325aebdfc2e9e0a4fd0
[apps/home/clock.git] / stopwatch / include / stopwatch_resource.h
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   * 
4   * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 #ifndef __STW_RESOURCE_H__
18 #define __STW_RESOURCE_H__
19
20 #include "../../res/edc/nbeat-black-hd-inc.edc"
21 #include "../../res/edc/genlist_macro.edc"
22 #include "../../res/edc/button_macro.edc"
23
24 #define WIDTH               (480.0)
25 #define HEIGHT              (800-CONTROLBAR_H-60)
26
27 #define INDICATOR_H         0.0
28 #define CONTROLBAR_H        78.0
29 //color
30 #define COLOR_GENLIST_ITEM_BG               48 48 48 255
31 #define COLOR_GENLIST_ITEM_PRESSED_BG       107 100 88 255
32 #define COLOR_GENLIST_ITEM_BOTTOM_LINE_BG   114 114 114 255
33 //
34 #define HEAT_H (12)
35 #define SCREEN_RECT_Y (12)
36 #define SCREEN_RECT_H (173)
37 #define TEXT_Y (SCREEN_RECT_Y+SCREEN_RECT_H)
38 #define TEXT_H (40)
39 #define BTN_Y (TEXT_Y+TEXT_H+20)
40 #define BTN_H (60)
41 #define GENLIST_Y (BTN_Y+BTN_H+27)
42 #define GENLIST_H (324)
43
44 #define SCREEN_TIME_HOUR_Y (SCREEN_RECT_Y+54)
45 #define SCREEN_TIME_HOUR_H (65)
46 #define SCREEN_TIME_HOUR_MS_H (38)
47 #define SCREEN_TIME_MIN_Y (SCREEN_RECT_Y+47)
48 #define SCREEN_TIME_MIN_H (79)
49 #define SCREEN_TIME_MIN_MS_H (47)
50 //font
51 #define FONT_SLP_MED                "SLP:style=Medium"
52 #define FONT_SLP_ROM                "SLP:style=Roman"
53
54 #endif                          //__STW_RESOURCE_H__