summaryrefslogtreecommitdiff
path: root/main/src/common/ivug-define.h
blob: 0cddf5babf4f3b9b0e35e02e823140d9bff102d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
 * Copyright 2012  Samsung Electronics Co., Ltd
 *
 * Licensed under the Flora License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *	  http://www.tizenopensource.org/license
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/*
	system widely used definition.
*/

#pragma once

#define IVUG_MAX_FILE_PATH_LEN (4096)

/*
Definition "PREFIX" is declared in CMakelist.txt
	PREFIX is "/opt/ug"
	PACKAGE is "ug-image-viewer-efl"

	Path name does not include trailing /.

	DATA_PATH is /opt/data
*/
#define LOCALE_PATH 					PREFIX"/res/locale"
#define IMAGE_PATH						PREFIX"/res/images/"PACKAGE
#define EDJ_PATH 						PREFIX"/res/edje/"PACKAGE

/*
	Home screen and Lock screen image should be put in DATA_PATH.
*/
#define DATA_PATH 							DATADIR"/"PACKAGE

// TODO : Add comments
#define IV_WINDOW_SIZE			(41)//41	/* it's better to be odd number */
#define IV_WINDOW_SIZE_FOR_SLIDE_SHOW		(1)
#define IV_RELOAD_OFFSET		(4)//IV_WINDOW_SIZE/10	// it's better to be larger than 2

#define USE_WIN_AS_PARENT

#define NAVI_OPTION_BTN_STYLE	"multiline"

#define IVUG_DEFAULT_BG_COLOR		48

#define _USE_MEDIAINFO_STRINGID_

#define FEATURE_DYNAMIC_POPUP_HEIGHT

#define USE_CUSTOM_STYLE