summaryrefslogtreecommitdiff
path: root/setting-theme-efl.h
blob: e5f59dc3e43a171385fe6ca1ae5604fdb492ff4a (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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*
  * 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.
  */




#ifndef __setting_theme_efl_H__
#define __setting_theme_efl_H__

#include <Elementary.h>
#include <libintl.h>

#define PKGNAME "ug-setting-theme-efl"

#define _EDJ(o)		elm_layout_edje_get(o)
#define _(s)			dgettext(PKGNAME, s)
#define dgettext_noop(s)	(s)
#define N_(s)			dgettext_noop(s)
#define FREE(arg)	{free(arg); arg = NULL;}

#define IDLE_IMG_PATH "/opt/etc/idle_image"
#define MO_FILE_PATH "/opt/ug/res/locale"
#define POPUP_ALERT_TIMOUT_DURATION 2

#define EDJ_PATH "/opt/ug/res/edje/ug-setting-theme-efl"
#define SETTING_THEME_EDJ EDJ_PATH"/setting-theme-efl.edj"

#define IMG_DIR "/opt/ug/res/images/ug-setting-theme-efl"

// platform theme definition
#define DEFAULT_THEME_ICON_PATH     "/usr/share/icons"
#define DEFAULT_THEME_FOLDER_PATH   "/usr/share/elementary/themes"
#define DEFAULT_THEME_ICON_NAME     "default"
#define DEFAULT_THEME_SCREEN_IMAGE_HOME_PATH "/opt/media/Images and videos/Wallpapers/Home_default.png"
#define DEFAULT_THEME_SCREEN_IMAGE_LOCK_PATH "/opt/media/Images and videos/Wallpapers/Home_default.png"

// Downloadable theme definition
#define DOWNLOAD_THEME_FOLDER_PATH              "/opt/share/theme"
#define DOWNLOAD_THEME_INDEX_FILE_NAME          "index.theme"
#define DOWNLOAD_THEME_EFL_FOLDER_NAME          "elementary"
#define DOWNLOAD_THEME_SCREEN_IMAGE_FOLDER_NAME "screenimages"

#define DOWNLOAD_THEME_ICON_THEME_KEYWORD       "IconTheme"
#define DOWNLOAD_THEME_KEY_SOUND_THEME_KEYWORD  "KeySoundTheme"
#define DOWNLOAD_THEME_EFL_THEME_KEYWORD        "EFLTheme"
#define DOWNLOAD_THEME_GTK_THEME_KEYWORD        "GTKTheme"
#define DOWNLOAD_THEME_SCREEN_IMG_THEME_KEYWORD "ScreenImageTheme"
#define DOWNLOAD_THEME_FONT_THEME_KEYWORD       "FontTheme"
#define DOWNLOAD_THEME_VIBRATION_THEME_KEYWORD  "VibrationTheme"
#define DOWNLOAD_THEME_BOOT_ANIMATOR_THEME_KEYWORD "BootAnimationTheme"

//

#define VCONKEY_SETTING_THEME_ICON_PATH         "db/setting/theme"
#define SETTING_THEME_SELECTED_THEME "db/setting/selected_theme"
#define SETTING_THEME_SCREEN_IMAGE_HOME_FILE_NAME "home.png"
#define SETTING_THEME_SCREEN_IMAGE_LOCK_FILE_NAME "lock.png"
#define SETTING_THEME_IS_THEME_CHANGED "memory/mobile_hotspot/skin_changed"

#define SETTING_THEME_NAME_MAX_LEN 255

#endif /* __setting_theme_efl_H__ */