#SET(INCLUDEDIR "\${prefix}/include")
#SET(VERSION 0.1.0)
+IF("${ARCH}" STREQUAL "arm")
+ ADD_DEFINITIONS("-DTARGET")
+ENDIF("${ARCH}" STREQUAL "arm")
+
SET(SRCS
src/ug-setting-gallery.c
src/sg-keys.c
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED elementary ui-gadget dlog vconf bundle)
+pkg_check_modules(pkgs REQUIRED elementary ui-gadget-1 dlog vconf)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS}")
-SET(CMAKE_C_FLAGS ${CMAKE_CXX_FLAGS})
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CXXFLAGS}")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
+++ /dev/null
-ug-setting-gallery-efl (1.0.17) unstable; urgency=low
-
- * Initial version
- * Git: pkgs/u/ug-setting-gallery-efl.git
- * Tag: ug-setting-gallery-efl_1.0.17
-
- -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 07 Dec 2011 15:30:52 +0900
+++ /dev/null
-Source: ug-setting-gallery-efl
-Section: libs
-Priority: extra
-maintainer: Sangjin Han <sjhan.haN@samsung.com>, Li Suxia <suxia.li@samsung.com>, Tang Feng <feng.tang@samsung.com>, Hyunwoo Kim <hw4444.kim@samsung.com>, Jisung Ahn <jcastle.ahn@samsung.com>, Jiansong Jin <jiansong.jin@samsung.com>, Jonghyuk Lee <jhyuk47.lee@samsung.com>, Chaolong Lin <chaolong.lin@samsung.com>, Yongjun Zhao <yj123.zhao@samsung.com>, Hongying Liu <ava.liu@samsung.com>, JongDong Lee <jongdong.lee@samsung.com>
-Build-Depends: debhelper (>= 5), libelm-dev, libbundle-dev, libui-gadget-dev, libslp-setting-dev, libslp-setting-keys-dev, dlog-dev
-Standards-Version: 0.0.1
-
-Package: libug-setting-gallery-efl
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: UI gadget for setting gallery
-Version: 0.0.1
-
-Package: libug-setting-gallery-efl-dbg
-Section: debug
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libug-setting-gallery-efl(= ${Source-Version})
-Description: UI gadget for setting gallery (unstripped)
-Version: 0.0.1
-
+++ /dev/null
-@PREFIX@/lib/*.so*
+++ /dev/null
-#@PREFIX@/bin/*
-#@PREFIX@/lib/ug/*.so*
-#@PREFIX@/share/ug/icon/*.png
-#@PREFIX@/share/ug/edje/*.edj
-#@PREFIX@/share/locale/*
-/opt/ug/lib/*
-/opt/ug/res/*
+++ /dev/null
-#!/bin/sh
-
-#init keys
-export LD_LIBRARY_PATH=/usr/lib/ug:$LD_LIBRARY_PATH
-
-if [ ${USER} = "root" ]
-then
-
-/usr/bin/vconftool set -t double db/setting/gallery/interval_time 3.0 -g 6514
-/usr/bin/vconftool set -t string db/setting/gallery/ss_effect "Slide" -g 6514
-/usr/bin/vconftool set -t bool db/setting/gallery/repeat_state 0 -g 6514
-/usr/bin/vconftool set -t bool db/setting/gallery/shuffle_state 0 -g 6514
-/usr/bin/vconftool set -t bool db/setting/gallery/subtitle_state 0 -g 6514
-
-else
-
-/usr/bin/vconftool set -t double db/setting/gallery/interval_time 3.0
-/usr/bin/vconftool set -t string db/setting/gallery/ss_effect "Slide"
-/usr/bin/vconftool set -t bool db/setting/gallery/repeat_state 0
-/usr/bin/vconftool set -t bool db/setting/gallery/shuffle_state 0
-/usr/bin/vconftool set -t bool db/setting/gallery/subtitle_state 0
-
-fi
-
-#file permission
-
-
+++ /dev/null
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-#export VERBOSE=1
-
-CFLAGS += -Wall -g
-CXXFLAGS += -Wall -g
-LDFLAGS ?=
-PREFIX ?= /usr
-DATADIR ?= /opt
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
- CXXFLAGS += -O0
-else
- CFLAGS += -O2
- CXXFLAGS += -O2
-endif
-
-LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" cmake . -DCMAKE_INSTALL_PREFIX=$(PREFIX)
-
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
- #docbook-to-man debian/wavplayer.sgml > wavplayer.1
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- cat $$f > $${f%.in}; \
- sed -i -e "s#@PREFIX@#$(PREFIX)#g" $${f%.in}; \
- sed -i -e "s#@DATADIR@#$(DATADIR)#g" $${f%.in}; \
- done
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
- rm -rf CMakeCache.txt
- rm -rf CMakeFiles
- rm -rf cmake_install.cmake
- rm -rf Makefile
- rm -rf install_manifest.txt
- rm -rf *.so
- rm -rf po/*.mo
- rm -rf po/CMakeCache.txt
- rm -rf po/CMakeFiles
- rm -rf po/cmake_install.cmake
- rm -rf po/Makefile
- rm -rf po/install_manifest.txt
-
- for f in `find $(CURDIR)/debian/ -name "*.in"`; do \
- rm -f $${f%.in}; \
- done
-
- dh_clean
-
-install: build
- dh_testdir
- dh_prep
- dh_installdirs
-
- # Add here commands to install the package into debian/wavplayer.
- $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
-# dh_installchangelogs
-# dh_installdocs
-# dh_installexamples
- dh_install --sourcedir=debian/tmp
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip --dbg-package=libug-setting-gallery-efl
- dh_compress
- dh_fixperms
-# dh_perl
- dh_makeshlibs
- dh_installdeb
-# dh_shlibdeps
- dh_shlibdeps -l /usr/lib/ug
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-/*
- * 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 __gallery_debug_H__
-#define __gallery_debug_H__
-
-#define ENABLE_LOG_SYSTEM
-
-#ifdef ENABLE_LOG_SYSTEM
-#define USE_DLOG_SYSTEM
-
-#ifdef USE_DLOG_SYSTEM
-#include <dlog.h>
-
-#ifdef LOG_TAG
-#undef LOG_TAG
-#endif
-
-#define LOG_TAG "gallery-setting"
-
-#define gallery_debug(fmt, arg...) do{ \
- LOGD("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \
- } while (0)
-#define gallery_info(fmt, arg...) do{ \
- LOGI("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \
- } while (0)
-#define gallery_warn(fmt, arg...) do{ \
- LOGW("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \
- } while (0)
-#define gallery_error(fmt, arg...) do{ \
- LOGE("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \
- } while (0)
-
-#define gallery_func_enter() LOGD( "[%s: %05d] <<<< enter \n", __func__, __LINE__)
-#define gallery_func_leave() LOGD( "[%s: %05d] >>>> leave \n", __func__, __LINE__ )
-
-#else //USE_DLOG_SYSTEM
-#define gallery_debug(fmt, arg...) do { \
- fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \
-} while(0)
-
-#define gallery_info(fmt, arg...) do { \
- fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \
-} while(0)
-
-#define gallery_warn(fmt, arg...) do { \
- fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \
-} while(0)
-
-#define gallery_error(fmt, arg...) do { \
- fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \
-} while(0)
-#define gallery_func_enter() fprintf(stdout, "[%s : %05d] <<< enter \n", __func__, __LINE__ , ##arg)
-#define gallery_func_leave() fprintf(stdout, "[%s : %05d] >>> leave \n", __func__, __LINE__ , ##arg)
-
-#endif // #ifdef USE_DLOG_SYSTEM
-
-#else //ENABLE_LOG_SYSTEM
-#define gallery_debug(fmt, arg...)
-#define gallery_info(fmt, arg...)
-#define gallery_warn(fmt, arg...)
-#define gallery_error(fmt, arg...)
-#endif //ENABLE_LOG_SYSTEM
-
-
-#define gallery_ret_if(expr) do { \
- if(expr) { \
- return; \
- } \
-} while (0)
-#define gallery_retv_if(expr, val) do { \
- if(expr) { \
- return (val); \
- } \
-} while (0)
-
-#define gallery_retm_if(expr, fmt, arg...) do { \
- if(expr) { \
- gallery_warn(fmt, ##arg); \
- return; \
- } \
-} while (0)
-
-#define gallery_retvm_if(expr, val, fmt, arg...) do { \
- if(expr) { \
- gallery_warn(fmt, ##arg); \
- return (val); \
- } \
-} while (0)
-
-
-#endif //__gallery_debug_H__
-
+/*\r
+ * Copyright 2012 Samsung Electronics Co., Ltd\r
+ *\r
+ * Licensed under the Flora License, Version 1.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.tizenopensource.org/license\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef __gallery_debug_H__\r
+#define __gallery_debug_H__\r
+\r
+#define ENABLE_LOG_SYSTEM\r
+\r
+#ifdef ENABLE_LOG_SYSTEM\r
+#define USE_DLOG_SYSTEM\r
+\r
+#ifdef USE_DLOG_SYSTEM\r
+#include <dlog.h>\r
+\r
+#ifdef LOG_TAG\r
+#undef LOG_TAG\r
+#endif\r
+\r
+#define LOG_TAG "gallery-setting"\r
+\r
+#define gallery_debug(fmt, arg...) do{ \\r
+ LOGD("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \\r
+ } while (0)\r
+#define gallery_info(fmt, arg...) do{ \\r
+ LOGI("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \\r
+ } while (0)\r
+#define gallery_warn(fmt, arg...) do{ \\r
+ LOGW("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \\r
+ } while (0)\r
+#define gallery_error(fmt, arg...) do{ \\r
+ LOGE("[%s :%05d] "fmt "\n",__FUNCTION__, __LINE__,##arg); \\r
+ } while (0)\r
+\r
+#define gallery_func_enter() LOGD( "[%s: %05d] <<<< enter \n", __func__, __LINE__)\r
+#define gallery_func_leave() LOGD( "[%s: %05d] >>>> leave \n", __func__, __LINE__ )\r
+\r
+#else //USE_DLOG_SYSTEM\r
+#define gallery_debug(fmt, arg...) do { \\r
+ fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \\r
+} while(0)\r
+\r
+#define gallery_info(fmt, arg...) do { \\r
+ fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \\r
+} while(0)\r
+\r
+#define gallery_warn(fmt, arg...) do { \\r
+ fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \\r
+} while(0)\r
+\r
+#define gallery_error(fmt, arg...) do { \\r
+ fprintf(stderr,"[%s:%05d] " fmt "\n",__func__, __LINE__, ##arg); \\r
+} while(0)\r
+#define gallery_func_enter() fprintf(stdout, "[%s : %05d] <<< enter \n", __func__, __LINE__ , ##arg)\r
+#define gallery_func_leave() fprintf(stdout, "[%s : %05d] >>> leave \n", __func__, __LINE__ , ##arg)\r
+\r
+#endif // #ifdef USE_DLOG_SYSTEM\r
+\r
+#else //ENABLE_LOG_SYSTEM\r
+#define gallery_debug(fmt, arg...)\r
+#define gallery_info(fmt, arg...)\r
+#define gallery_warn(fmt, arg...)\r
+#define gallery_error(fmt, arg...)\r
+#endif //ENABLE_LOG_SYSTEM\r
+\r
+\r
+#define gallery_ret_if(expr) do { \\r
+ if(expr) { \\r
+ return; \\r
+ } \\r
+} while (0)\r
+#define gallery_retv_if(expr, val) do { \\r
+ if(expr) { \\r
+ return (val); \\r
+ } \\r
+} while (0)\r
+\r
+#define gallery_retm_if(expr, fmt, arg...) do { \\r
+ if(expr) { \\r
+ gallery_warn(fmt, ##arg); \\r
+ return; \\r
+ } \\r
+} while (0)\r
+\r
+#define gallery_retvm_if(expr, val, fmt, arg...) do { \\r
+ if(expr) { \\r
+ gallery_warn(fmt, ##arg); \\r
+ return (val); \\r
+ } \\r
+} while (0)\r
+\r
+\r
+#endif //__gallery_debug_H__\r
+\r
-/*
- * 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 __GALLERY_KEY_H__
-#define __GALLERY_KEY_H__
-
-#include <Elementary.h>
-
-#include <vconf-keys.h>
-#include <stdbool.h>
-
-
-#define DEFAULT_TIMER (3.0f)
-#define DEFAULT_REPEAT false
-#define DEFAULT_SHUFFLE false
-#define DEFAULT_SUBTITLE false
-#define DEFAULT_EFFECT "Slide"
-
-
-
-#define VCONFKEY_GALLERY_INTERVAL_TIME "db/setting/gallery/interval_time" //int
-
-#define VCONFKEY_GALLERY_REPEAT_STATE "db/setting/gallery/repeat_state" //boolean
-
-#define VCONFKEY_GALLERY_SHUFFLE_STATE "db/setting/gallery/shuffle_state" //boolean
-
-#define VCONFKEY_GALLERY_SUBTITLE_STATE "db/setting/gallery/subtitle_state" //boolean
-
-#define VCONFKEY_GALLERY_TRANSITION_EFFECT "db/setting/gallery/ss_effect" //char
-
-
-//void _gallery_key_set_time_vconf(void *data, Evas_Object *obj, void *event_info);
-
-
-int
-gallery_key_init_current_time(double *val);
-
-int
-gallery_key_init_repeat_state(int *b_val);
-
-int
-gallery_key_init_shuffle_state(int *b_val);
-
-int
-gallery_key_init_subtitle_state(int *b_val);
-
-void
-gallery_key_text_popup(void *data, char *msg);
-
-int
-gallery_key_init_slideshow_effect(void);
-
-char *
-gallery_key_menu_get(int index);
-
-
-double
-gallery_key_get_time_vconf_value(int index);
-
-int gallery_key_reset_current_time(void);
-int gallery_key_reset_repeat_state(void);
-int gallery_key_reset_shuffle_state(void);
-int gallery_key_reset_subtitle_state(void);
-int gallery_key_reset_slideshow_effect(void);
-
-#endif
-
-
+/*\r
+ * Copyright 2012 Samsung Electronics Co., Ltd\r
+ *\r
+ * Licensed under the Flora License, Version 1.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.tizenopensource.org/license\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef __GALLERY_KEY_H__\r
+#define __GALLERY_KEY_H__\r
+\r
+#include <Elementary.h>\r
+\r
+#include <vconf-keys.h>\r
+#include <stdbool.h>\r
+\r
+#define VCONFKEY_GALLERY_INTERVAL_TIME "db/setting/gallery/interval_time" //int\r
+\r
+#define VCONFKEY_GALLERY_REPEAT_STATE "db/setting/gallery/repeat_state" //boolean\r
+\r
+#define VCONFKEY_GALLERY_SHUFFLE_STATE "db/setting/gallery/shuffle_state" //boolean\r
+\r
+int\r
+gallery_key_init_current_time(double *val);\r
+\r
+int\r
+gallery_key_init_repeat_state(int *b_val);\r
+\r
+int\r
+gallery_key_init_shuffle_state(int *b_val);\r
+\r
+void\r
+gallery_key_text_popup(void *data, char *msg);\r
+\r
+char *\r
+gallery_key_time_menu_get(int index);\r
+\r
+char *\r
+gallery_key_size_menu_get(int index);\r
+\r
+double\r
+gallery_key_get_time_vconf_value(int index);\r
+\r
+char*\r
+gallery_key_get_size_vconf_value(int index);\r
+\r
+int gallery_key_set_current_time(double value);\r
+int gallery_key_set_repeat_state(bool value);\r
+int gallery_key_set_shuffle_state(bool value);\r
+\r
+int gallery_key_init_inline_video_state(int *b_val);\r
+int gallery_key_set_inline_video_state(bool value);\r
+\r
+#endif\r
+\r
+\r
-/*
- * 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 __GALLERY_UG_EFL_H__
-#define __GALLERY_UG_EFL_H__
-
-
-#include <Elementary.h>
-
-#define PKGNAME "ug-setting-gallery-efl"
-
-#define _EDJ(o) elm_layout_edje_get(o)
-//#define N_(s) dgettext_noop(s)
-
-
-/* Original code is in appcore-common.h */
-#define _(str) gettext(str) /**< gettext alias */
-#define gettext_noop(str) (str) /**< keyword for xgettext to extract translatable strings */
-#define N_(str) gettext_noop(str) /**< gettext_noop alias */
-
-#define _SG_GETSYSTEMSTR(ID) dgettext("sys_string", (ID))
-#define _SG_GETLOCALSTR(ID) dgettext("ug-setting-gallery-efl", (ID))
-
-
-#define GALLERY_SUB_TIME_COUNT 5
-#define GALLERY_SUB_EFFECT_COUNT 5
-
-#define SGUG_TR_GALLERY _SG_GETSYSTEMSTR("IDS_COM_BODY_GALLERY")
-
-#define SGUG_TR_SLIDESHOW _SG_GETLOCALSTR("IDS_MEDIABR_OPT_SLIDE_SHOW")
-#define SGUG_TR_PESF _SG_GETLOCALSTR("IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL")
-#define SGUG_TR_REPEAT _SG_GETLOCALSTR("IDS_MEDIABR_BODY_REPEAT")
-#define SGUG_TR_SHUFFLE _SG_GETLOCALSTR("IDS_MEDIABR_BODY_SHUFFLE")
-#define SGUG_TR_SUBTITLE_TITLE _SG_GETSYSTEMSTR("IDS_COM_BODY_VIDEO")
-#define SGUG_TR_SUBTITLE _SG_GETLOCALSTR("IDS_MEDIABR_BODY_SUBTITLES")
-
-#define SGUG_TR_2s _SG_GETLOCALSTR("IDS_MEDIABR_OPT_2_SECONDS")
-#define SGUG_TR_3s _SG_GETLOCALSTR("IDS_MEDIABR_OPT_3_SECONDS")
-#define SGUG_TR_5s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_5_SECONDS")
-#define SGUG_TR_10s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_10_SECONDS")
-#define SGUG_TR_20s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_20_SECONDS")
-#define SGUG_TR_FAILED _("Setting failed, please try again..")
-
-#define VCONFKEY_GALLERY_ITV_TIME_2S (2.0f)
-#define VCONFKEY_GALLERY_ITV_TIME_3S (3.0f)
-#define VCONFKEY_GALLERY_ITV_TIME_5S (5.0f)
-#define VCONFKEY_GALLERY_ITV_TIME_10S (10.0f)
-#define VCONFKEY_GALLERY_ITV_TIME_20S (20.0f)
-
-typedef enum
-{
- GALLERY_MAIN_MENU_TITLE = 0,
- GALLERY_MAIN_MENU_TIME,
- GALLERY_MAIN_MENU_REPEAT,
- GALLERY_MAIN_MENU_SHUFFLE,
- GALLERY_MAIN_MENU_SUBTITLE_TITLE,
- GALLERY_MAIN_MENU_SUBTITLE_ON_OFF,
- GALLERY_MAIN_MENU_ITEM_MAX,
-}gallery_main_menu_item_t;
-
-
-struct ug_data
-{
- Evas_Object *main_layout;
- Evas_Object *bg;
- Evas_Object *naviframe;
- Evas_Object *time_layout;
- Evas_Object *genlist;
- Evas_Object *backbtn;
-
- Evas_Object *repeat_btn;
- Evas_Object *shuffle_btn;
- Evas_Object *subtitle_btn;
- int repeat_state;
- int shuffle_state;
- int subtitle_state;
- Evas_Object *radio_group;
- Evas_Object *effect_radio_group;
- Evas_Object *popup;
- Elm_Object_Item *gl_it[GALLERY_MAIN_MENU_ITEM_MAX];
-
- Elm_Genlist_Item_Class check_time_itc;
- Elm_Genlist_Item_Class expandable_itc;
-
- Elm_Genlist_Item_Class txt_icon_itc;
-
- Elm_Genlist_Item_Class title_itc;
- Elm_Genlist_Item_Class effect_itc;
-
- struct ui_gadget *ug;
-};
-
-
-#endif
-
+/*\r
+ * Copyright 2012 Samsung Electronics Co., Ltd\r
+ *\r
+ * Licensed under the Flora License, Version 1.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.tizenopensource.org/license\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef __GALLERY_UG_EFL_H__\r
+#define __GALLERY_UG_EFL_H__\r
+\r
+\r
+#include <Elementary.h>\r
+#include <ui-gadget-module.h>\r
+\r
+\r
+#define PKGNAME "ug-setting-gallery-efl"\r
+\r
+#define _EDJ(o) elm_layout_edje_get(o)\r
+\r
+/* Original code is in appcore-common.h */\r
+#define _(str) gettext(str) /**< gettext alias */\r
+#define gettext_noop(str) (str) /**< keyword for xgettext to extract translatable strings */\r
+#define N_(str) gettext_noop(str) /**< gettext_noop alias */\r
+\r
+#define _SG_GETSYSTEMSTR(ID) dgettext("sys_string", (ID))\r
+#define _SG_GETLOCALSTR(ID) dgettext("ug-setting-gallery-efl", (ID))\r
+\r
+#define GALLERY_SUB_TIME_COUNT 5\r
+#define GALLERY_SUB_EFFECT_COUNT 10//5\r
+\r
+#define SGUG_TR_GALLERY _SG_GETSYSTEMSTR("IDS_COM_BODY_GALLERY")\r
+\r
+#define SGUG_TR_SLIDESHOW _SG_GETLOCALSTR("IDS_MEDIABR_OPT_SLIDE_SHOW")\r
+\r
+#define SGUG_TR_PESF _SG_GETLOCALSTR("IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL")\r
+#define SGUG_TR_REPEAT _SG_GETLOCALSTR("IDS_MEDIABR_BODY_REPEAT")\r
+#define SGUG_TR_SHUFFLE _SG_GETLOCALSTR("IDS_MEDIABR_BODY_SHUFFLE")\r
+\r
+#define SGUG_TR_2s _SG_GETLOCALSTR("IDS_MEDIABR_OPT_2_SECONDS")\r
+#define SGUG_TR_3s _SG_GETLOCALSTR("IDS_MEDIABR_OPT_3_SECONDS")\r
+#define SGUG_TR_5s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_5_SECONDS")\r
+#define SGUG_TR_10s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_10_SECONDS")\r
+#define SGUG_TR_20s _SG_GETLOCALSTR("IDS_MEDIABR_BODY_20_SECONDS")\r
+#define SGUG_TR_FAILED _("Setting failed, please try again..")\r
+\r
+#define VCONFKEY_GALLERY_ITV_TIME_2S (2.0f)\r
+#define VCONFKEY_GALLERY_ITV_TIME_3S (3.0f)\r
+#define VCONFKEY_GALLERY_ITV_TIME_5S (5.0f)\r
+#define VCONFKEY_GALLERY_ITV_TIME_10S (10.0f)\r
+#define VCONFKEY_GALLERY_ITV_TIME_20S (20.0f)\r
+\r
+#define DEFAULT_TIMER VCONFKEY_GALLERY_ITV_TIME_3S\r
+#define DEFAULT_REPEAT false\r
+#define DEFAULT_SHUFFLE false\r
+\r
+#ifdef TARGET\r
+typedef enum\r
+{\r
+ GALLERY_MAIN_MENU_TITLE = 0,\r
+ GALLERY_MAIN_MENU_TIME,\r
+ GALLERY_MAIN_MENU_REPEAT,\r
+ GALLERY_MAIN_MENU_SHUFFLE,\r
+ GALLERY_MAIN_MENU_ITEM_MAX,\r
+}gallery_main_menu_item_t;\r
+#else\r
+typedef enum\r
+{\r
+ GALLERY_MAIN_MENU_TITLE = 0,\r
+ GALLERY_MAIN_MENU_TIME,\r
+ GALLERY_MAIN_MENU_REPEAT,\r
+ GALLERY_MAIN_MENU_SHUFFLE,\r
+ GALLERY_MAIN_MENU_ITEM_MAX,\r
+}gallery_main_menu_item_t;\r
+#endif\r
+\r
+struct ug_data\r
+{\r
+ Evas_Object *main_layout;\r
+ Evas_Object *bg;\r
+ Evas_Object *naviframe;\r
+ Evas_Object *time_layout;\r
+ Evas_Object *genlist;\r
+ Evas_Object *backbtn;\r
+\r
+ Evas_Object *repeat_btn;\r
+ Evas_Object *shuffle_btn;\r
+ Evas_Object *inline_video_btn;\r
+ int repeat_state;\r
+ int shuffle_state;\r
+ int inline_video_state;\r
+ Evas_Object *radio_group;\r
+ Evas_Object *popup;\r
+ Elm_Object_Item *gl_it[GALLERY_MAIN_MENU_ITEM_MAX];\r
+\r
+ Elm_Genlist_Item_Class check_time_itc;\r
+ Elm_Genlist_Item_Class expandable_itc;\r
+\r
+ Elm_Genlist_Item_Class txt_icon_itc;\r
+\r
+ Elm_Genlist_Item_Class title_itc;\r
+\r
+ Elm_Genlist_Item_Class seperator_itc;\r
+ Elm_Genlist_Item_Class seperator_end_itc;\r
+\r
+ struct ui_gadget *ug;\r
+};\r
+\r
+\r
+#endif\r
+\r
--- /dev/null
+ug-setting-gallery-efl (1.0.32) unstable; urgency=low
+
+ * fix vconf key name
+ * Tag: ug-setting-gallery-efl_1.0.32
+
+ -- root <jcastle.ahn@samsung.com> Thu, 09 Aug 2012 14:07:28 +0900
+
+ug-setting-gallery-efl (1.0.31) unstable; urgency=low
+
+ * apply genlist style to dialogue
+ * Tag: ug-setting-gallery-efl_1.0.31
+
+ -- root <jhyuk47.lee@samsung.com> Tue, 07 Aug 2012 13:43:20 +0900
+
+ug-setting-gallery-efl (1.0.30) unstable; urgency=low
+
+ * Apply ug managed API
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.30
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 18 Jul 2012 19:12:01 +0900
+
+ug-setting-gallery-efl (1.0.29) unstable; urgency=low
+
+ * fix i386 build error
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.29
+
+ -- root <jhyuk47.lee@samsung.com> Fri, 13 Jul 2012 17:37:59 +0900
+
+ug-setting-gallery-efl (1.0.28) unstable; urgency=low
+
+ * add inline video option
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.28
+
+ -- root <jhyuk47.lee@samsung.com> Fri, 13 Jul 2012 17:20:00 +0900
+
+ug-setting-gallery-efl (1.0.27) unstable; urgency=low
+
+ * change cmakelist option
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.27
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 11 Jul 2012 18:14:27 +0900
+
+ug-setting-gallery-efl (1.0.26) unstable; urgency=low
+
+ * change cmakelist option
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.26
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 11 Jul 2012 17:06:25 +0900
+
+ug-setting-gallery-efl (1.0.25) unstable; urgency=low
+
+ * enable 3d slideshow
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.25
+
+ -- Jisung ahn <jcastle.ahn@samsung.com> Tue, 10 Jul 2012 10:04:49 +0900
+
+ug-setting-gallery-efl (1.0.24) unstable; urgency=low
+
+ * add face slide show
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.24
+
+ -- Jisung Ahn <jcastle.ahn@samsung.com> Fri, 06 Jul 2012 15:25:16 +0900
+
+ug-setting-gallery-efl (1.0.23) unstable; urgency=low
+
+ * update slide show effect
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.23
+
+ -- Jisung Ahn <jcastle.ahn@samsung.com> Wed, 23 May 2012 15:19:07 +0900
+
+ug-setting-gallery-efl (1.0.22) unstable; urgency=low
+
+ * remove sub title option
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.22
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Thu, 17 May 2012 11:46:03 +0900
+
+ug-setting-gallery-efl (1.0.21) unstable; urgency=low
+
+ * Add new po files
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.21
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Tue, 17 Apr 2012 20:22:24 +0900
+
+ug-setting-gallery-efl (1.0.20) unstable; urgency=low
+
+ * Fix a expandable genlist type bug
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.20
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Thu, 15 Mar 2012 09:02:50 +0900
+
+ug-setting-gallery-efl (1.0.19) unstable; urgency=low
+
+ * [EFL] API and Winset Changes in 1.0 Elementary
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.19
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Tue, 13 Mar 2012 18:03:02 +0900
+
+ug-setting-gallery-efl (1.0.18) unstable; urgency=low
+
+ * Change spec file
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0.18
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Mon, 12 Mar 2012 14:42:05 +0900
+
+ug-setting-gallery-efl (1.0-17) unstable; urgency=low
+
+ * EFL migration
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-17
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 15 Feb 2012 16:39:14 +0900
+
+ug-setting-gallery-efl (1.0-16) unstable; urgency=low
+
+ * [S1-177] Fix string issue
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-16
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Mon, 09 Jan 2012 09:47:27 +0900
+
+ug-setting-gallery-efl (1.0-15) unstable; urgency=low
+
+ * upload product git
+ * Git: slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-15
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Thu, 15 Dec 2011 14:57:48 +0900
+
+ug-setting-gallery-efl (1.0-14) unstable; urgency=low
+
+ * change boilerplate
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-14
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Wed, 07 Dec 2011 14:26:15 +0900
+
+ug-setting-gallery-efl (1.0-13) unstable; urgency=low
+
+ * remove heynoti package in CMakeList
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-13
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Thu, 01 Dec 2011 20:16:49 +0900
+
+ug-setting-gallery-efl (1.0-12) unstable; urgency=low
+
+ * Change string from 'Subtitle Activate' to 'Subtitle activation'.
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-12
+
+ -- JongDong Lee <jongdong.lee@samsung.com> Sun, 16 Oct 2011 17:59:41 -0700
+
+ug-setting-gallery-efl (1.0-11) unstable; urgency=low
+
+ * Add to check state of subtitle activation through subtitle setting vconf.
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-11
+
+ -- JongDong Lee <jongdong.lee@samsung.com> Fri, 14 Oct 2011 04:23:41 -0700
+
+ug-setting-gallery-efl (1.0-10) unstable; urgency=low
+
+ * Fix a indicator display problem
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-10
+
+ -- Jonghyuk Lee <jhyuk47.lee@samsung.com> Tue, 11 Oct 2011 12:15:58 +0900
+
+ug-setting-gallery-efl (1.0-9) unstable; urgency=low
+
+ * Modified string. - Slide show
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-9
+
+ -- Sangjin Han <sjhan.han@samsung.com> Thu, 29 Sep 2011 18:23:57 +0800
+
+ug-setting-gallery-efl (1.0-8) unstable; urgency=low
+
+ * Replace navigationbar with naviframe
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-8
+
+ -- Li Suxia <suxia.li@samsung.com> Thu, 29 Sep 2011 08:23:57 +0800
+
+ug-setting-gallery-efl (1.0-7) unstable; urgency=low
+
+ * Implement reset function.
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-7
+
+ -- Li Suxia <suxia.li@samsung.com> Fri, 02 Sep 2011 17:12:34 +0800
+
+ug-setting-gallery-efl (1.0-6) unstable; urgency=low
+
+ * Add resolve effect.
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-6
+
+ -- Li Suxia <suxia.li@samsung.com> Tue, 23 Aug 2011 18:28:21 +0800
+
+ug-setting-gallery-efl (1.0-5) unstable; urgency=low
+
+ * Fixed back button and Transition effect text
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-5
+
+ -- Li Suxia <suxia.li@samsung.com> Mon, 8 Aug 2011 09:30:29 +0900
+ug-setting-gallery-efl (1.0-4) unstable; urgency=low
+
+ * Fixed blink issue
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-4
+
+ -- Li Suxia <suxia.li@samsung.com> Thur, 14 July 2011 08:40:29 +0900
+ug-setting-gallery-efl (1.0-3) unstable; urgency=low
+
+ * Add transition effect setting
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-3
+
+ -- Li Suxia <suxia.li@samsung.com> Thur, 14 July 2011 08:40:29 +0900
+
+ug-setting-gallery-efl (1.0-2) unstable; urgency=low
+
+ * Remove an include head file
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-2
+
+ -- Li Suxia <suxia.li@samsung.com> Thur, 30 June 2011 16:44:29 +0900
+
+ug-setting-gallery-efl (1.0-1) unstable; urgency=low
+
+ * Update changelog format
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-1
+
+ -- Li Suxia <suxia.li@samsung.com> Thur, 30 June 2011 11:44:29 +0900
+
+ug-setting-gallery-efl (1.0-0) unstable; urgency=low
+
+ * Initial version
+ * Git: slp-source.sec.samsung.net:slp/pkgs/u/ug-setting-gallery-efl.git
+ * Tag: ug-setting-gallery-efl_1.0-0
+
+ -- Li Suxia <suxia.li@samsung.com> Fri, 24 June 2011 14:00:29 +0900
-Name: ug-setting-gallery-efl
-Summary: UG setting gallery ELF
-Version: 1.0.17
+Name: ug-setting-gallery-efl
+Summary: UG setting gallery ELF
+Version: 1.0.32
Release: 1
-Group: TBD
+Group: Applications
License: Flora Software License
Source0: %{name}-%{version}.tar.gz
-BuildRequires: pkgconfig(bundle)
-BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(elementary)
-BuildRequires: pkgconfig(ui-gadget)
+BuildRequires: pkgconfig(edje)
+BuildRequires: pkgconfig(eina)
+BuildRequires: pkgconfig(evas)
+BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(ui-gadget-1)
BuildRequires: cmake
-BuildRequires: gettext-tools
+BuildRequires: gettext
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
requires(postun): /sbin/ldconfig
%description
-ug setting gallery efl.
+ug setting gallery efl.
%prep
%setup -q -n %{name}-%{version}
%build
+
+%ifarch %{arm}
+%define ARCH arm
+%else
+%define ARCH i586
+%endif
+
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed"
-LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=%{ARCH}
make %{?jobs:-j%jobs}
%install
%make_install
-%find_lang ug-setting-gallery-efl
-%post
-/sbin/ldconfig
+%post
+/sbin/ldconfig
+export LD_LIBRARY_PATH=/usr/lib/ug:$LD_LIBRARY_PATH
+
/usr/bin/vconftool set -t double db/setting/gallery/interval_time 3.0 -g 6514
/usr/bin/vconftool set -t string db/setting/gallery/ss_effect "Slide" -g 6514
/usr/bin/vconftool set -t bool db/setting/gallery/repeat_state 0 -g 6514
/usr/bin/vconftool set -t bool db/setting/gallery/shuffle_state 0 -g 6514
-/usr/bin/vconftool set -t bool db/setting/gallery/subtitle_state 0 -g 6514
%postun -p /sbin/ldconfig
-%files -f ug-setting-gallery-efl.lang
-/opt/ug/lib/libug-setting-gallery-efl.so
-/opt/ug/lib/libug-setting-gallery-efl.so.0.1.0
-
+%files
+%defattr(-,root,root,-)
+/opt/ug/lib/*
+/opt/ug/res/*
# for i18n
-SET(POFILES
- de_DE.po
- el_GR.po
- en.po
- es_ES.po
- fr_FR.po
- it_IT.po
- ja_JP.po
- ko_KR.po
- nl_NL.po
- pt_PT.po
- ru_RU.po
- tr_TR.po
- zh_CN.po
- zh_HK.po
- zh_TW.po
-)
+SET(POFILES ar.po bg.po ca.po cs.po da.po de_DE.po el_GR.po en.po en_US.po es_ES.po fi.po fr_FR.po
+he.po hi.po hr.po hu.po id.po it_IT.po ja_JP.po ko_KR.po lt.po lv.po ms.po nl_NL.po no.po pl.po
+pt_PT.po ro.po ru_RU.po sk.po sl.po sr.po sv.po th.po tr_TR.po uk.po vi.po zh_CN.po zh_HK.po zh_TW.po)
SET(MSGFMT "/usr/bin/msgfmt")
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "عرض الصور"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "فاصل عرض الشرائح"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "شرائح"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "ثانيتان"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 ثوان"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "الخلط"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "تكرار"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "تأثير الانتقال"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "التلاشي التدريجي"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "إخفاء"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "إذابة"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "الترجمات المصاحبة"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 ثوان"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 ثوان"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 ثانية"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "قوس قزح"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "التفعيل"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Слайдшоу"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Интервал на слайдшоуто"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Слайд"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 секунди"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 секунди"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Разбъркано"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Повтаряне"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Ефект на преход"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Избледняване"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Щори"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Размиване"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Субтитри"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 секунди"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 секунди"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 секунди"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Ирис"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Активиране"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Presentació de diapositives"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval de la presentació de diapositives"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Diapositiva"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 segons"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 segons"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Ordre aleatori"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Repetir"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efecte de transició"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Perdre intensitat"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Persiana"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dissoldre"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtítols"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 segons"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 segons"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 segons"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activació"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Prezentace"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval prezentace"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Sklouznutí"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekund"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekundy"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Náhodně"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Opakovat"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Přechodový efekt"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Zvolna mizet"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Roleta"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Rozplynout"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Titulky"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekund"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekund"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekund"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Duha"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivace"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Diasshow"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval for diasshow"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Dias"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekunder"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekunder"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Tilfældig rækkefølge"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Gentag"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Overgangseffekt"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Tone ud"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Afblænd"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Opløs"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Undertekster"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekunder"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekunder"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekunder"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivering"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Diashowintervall"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Gleiten"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 Sekunden"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Wiederholen"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Übergangseffekt"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Ausblenden"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Blenden"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Auflösen"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Untertitel"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 Sekunden"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivierung"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Διάστημα παρουσίασης"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Διαφάνεια"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 δευτερόλεπτα"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Επανάληψη"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Εφέ μετάβασης"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Σταδιακή εμφάνιση"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Ρολό"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Αποσύνθεση"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Υπότιτλοι"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 δευτερόλεπτα"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Ίριδα"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Ενεργοποίηση"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Slideshow interval"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slide"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 seconds"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Repeat"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Transition effect"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Fade"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Blind"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dissolve"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Subtitles"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 seconds"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activation"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Slide show"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Slideshow interval"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slide"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 seconds"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 seconds"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Shuffle"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Repeat"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Transition effect"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Fade"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Blind"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dissolve"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtitles"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 seconds"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 seconds"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 seconds"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activation"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Intervalo de presentación de diapositivas"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Diapositiva"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 segundos"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Repetir"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efecto de transición"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Desaparición"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Efecto persiana"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Fundir"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Subtítulos"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 segundos"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activación"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Diaesitys"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Kuvaesityksen aikaväli"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Dia"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekuntia"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekuntia"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Sekoitus"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Toista"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Siirtymätehoste"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Häivytä"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Kaihdin"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Ristikuva"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Tekstitys"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekuntia"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekuntia"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekuntia"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivointi"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Intervalle du diaporama"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Défilement"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 secondes"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Répéter"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Effet de transition"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Fondu"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Stores vénitiens"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Fondu enchaîné"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Sous-titres"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 secondes"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activation"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "הצגת שקופיות"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "מרווח הצגת שקופיות"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "החלק"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 שניות"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 שניות"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "ערבב"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "חזור על"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "אפקט מעבר"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "עמעום"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "תריס"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "מתפזר"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "כתוביות"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 שניות"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 שניות"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 שניות"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "קשתית"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "הפעלה"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "स्लाइड शो"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "स्लाइड शो अंतराल"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "स्लाइड"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 सेकंड"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 सेकंड"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "शफ़ल"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "दोहराव"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "परिवर्तन प्रभाव"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "फीका"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "ब्लाइंड"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "विलय"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "उपशीर्षक"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 सेकंड"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 सेकंड"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 सेकंड"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "आइरिस"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "सक्रियण"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Prezentacija"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval prezentacije"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Listanje"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sek"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sek"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Nasumično"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Ponavljanje"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efekt prijelaza"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Zatamni"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Roleta"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Razrijedi"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Titlovi"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sek"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sek"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sek"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Uključivanje"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Diavetítés"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Diabemutató intervalluma"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Dia"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 másodperc"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 másodperc"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Véletlen sorrend"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Ismétlés"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Áttűnés"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Áttűnés"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Rács"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Áttűnés"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Feliratok"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 másodperc"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 másodperc"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 másodperc"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Írisz"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivál"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Tampilan slide"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Jeda tayangan slide"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slide"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 detik"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 detik"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Acak"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Mengulang"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efek transisi"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Berangsur"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Tirai"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Larut"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtitel"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 detik"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 detik"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 detik"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Pengaktifan"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Intervallo presentazione"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Scorrimento"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 secondi"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Ripeti"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Effetto di transizione"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Sfumatura"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Veneziana"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dissolvenza"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Sottotitoli"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 secondi"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iride"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Attivazione"
+
msgstr "スライドショー"
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
-msgstr "スライドショーの間隔"
+msgstr "スライドショーの間隔"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "スライド"
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2秒"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "繰り返し"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "通過効果"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "フェード"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "ブラインド"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "ディゾルブ"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
-msgstr "サブタイトル"
+msgstr "字幕"
msgid "IDS_MEDIABR_BODY_5_SECONDS"
msgstr "5秒"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20秒"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "アイリス"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "アクティベーション"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "슬라이드쇼 전환 간격"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "슬라이드"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2초"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "반복"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "전환 효과"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "페이드"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "블라인드"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "디졸브"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "자막"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20초"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "아이리스"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "실행"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Skaidrių demonstravimas"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Skaidrių rodymo intervalas"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Skaidrė"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekundės"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekundės"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Maišyti"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Kartoti"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Perėjimo efektas"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Išblukimas"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Žaliuzės"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Panaikinti"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtitrai"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekundės"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekundžių"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekundžių"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Rainelė"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktyvinimas"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Slaidrāde"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Slaidrādes intervāls"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slaids"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekundes"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekundes"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Jaukt"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Atkārtot"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Pārejas efekts"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Izgaist"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Aizēnošana"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Izšķīdināt"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtitri"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekundes"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekundes"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekundes"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Varavīksne"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivizēšana"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Persembahan slaid"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Waktu selang persembahan slaid"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slaid"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 saat"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 saat"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Rombakan"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Ulang"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Kesan peralihan"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Pudar"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Bidai"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Lenyap"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Sari kata"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 saat"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 saat"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 saat"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Pengaktifan"
+
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 seconden"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Inschakelen"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Bildefremvisning"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Bildefremvisningsintervall"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Lysbilde"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekunder"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekunder"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Tilfeldig rekkefølge"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Gjenta"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Overgangseffekt"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Fade"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Persienne"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Oppløs"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Undertekster"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekunder"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekunder"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekunder"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivering"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Pokaz slajdów"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interwał pokazu slajdów"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slajd"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sek."
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sek."
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Kolejność losowa"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Powtórz"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efekt przejścia menu"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Zanikanie"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Zasłona"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Przenikanie"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Napisy"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sek."
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sek."
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sek."
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Koło"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktywacja"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Duração da apresentação"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slide"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 segundos"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Repetir"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efeito de transição"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Saída gradual"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Persiana"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dissolver"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Legendas"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 segundos"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Íris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activação"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Expuneri diapozitive"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval expunere diapozitive"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Diapozitiv"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 secunde"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 secunde"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Amestecare"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Repetare"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efect de tranziţie"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Estompare"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Jaluzele"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Dizolvare"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Subtitrare"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 secunde"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 secunde"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 secunde"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Curcubeu"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Activare"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "Интервал для слайд-шоу"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Сдвиг"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 секунды"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "Повторить"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Эффект перехода"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Растворение"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Жалюзи"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Растворение"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "Субтитры"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 секунд"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Радуга"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Активация"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Prezentácia"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval prezentácie"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Vysunutie"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekundy"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekundy"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Náhodné poradie"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Opakovať"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efekt prechodu"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Stmievanie"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Roleta"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Prelínanie"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Titulky"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekúnd"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekúnd"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekúnd"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Clona"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivácia"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Diaprojekcija"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval diaprojekcije"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Prehod"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekundi"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekunde"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Naključno"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Ponovi"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Učinek prehoda"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Zatemnitev"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Zastor"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Raztopi"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Podnapisi"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekund"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekund"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekund"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Mavrica"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Vklop"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Slajd-šou"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Interval za slajd-šou"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Slajd"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekunde"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekunde"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Nasumično"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Ponovi"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Efekat prelaza"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Izbledi"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Roletna"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Rastvori"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Titlovi"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekundi"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekundi"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekundi"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivacija"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Bildspel"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Bildspelsintervall"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Bild"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 sekunder"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 sekunder"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Blanda"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Upprepa"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Övergångseffekt"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Tona"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Fördragning"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Lös upp"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Textning"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 sekunder"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 sekunder"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 sekunder"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Aktivera"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "เลื่อนชม"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "ช่วงเวลาการแสดงแบบสไลด์"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "สไลด์"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 วินาที"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 วินาที"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "สับเพลง"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "ซ้ำ"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "เอฟเฟ็กต์การเปลี่ยน"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "จางหายไป"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "บัง"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "ละลาย"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "คำบรรยาย"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 วินาที"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 วินาที"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 วินาที"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "ไอริส"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "ใช้งาน"
+
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 saniye"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "İris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Etkinleştirme"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Слайд-шоу"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Інтервал слайд-шоу"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Слайд"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 секунди"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 секунди"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Випадковий порядок"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Повторення"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Ефект переходу"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Загасання"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Жалюзі"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Розчинення"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Субтитри"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 секунд"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 секунд"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 секунд"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Ірісова діафрагма"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Активація"
+
--- /dev/null
+msgid "IDS_MEDIABR_OPT_SLIDE_SHOW"
+msgstr "Xem từng hình"
+
+msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
+msgstr "Khoảng cách Trình chiếu"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "Vuốt"
+
+msgid "IDS_MEDIABR_OPT_2_SECONDS"
+msgstr "2 giây"
+
+msgid "IDS_MEDIABR_OPT_3_SECONDS"
+msgstr "3 giây"
+
+msgid "IDS_MEDIABR_BODY_SHUFFLE"
+msgstr "Trộn bài"
+
+msgid "IDS_MEDIABR_BODY_REPEAT"
+msgstr "Lặp lại"
+
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "Hiệu ứng chuyển tiếp"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "Mờ dần"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "Mù"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "Mờ"
+
+msgid "IDS_MEDIABR_BODY_SUBTITLES"
+msgstr "Phụ đề"
+
+msgid "IDS_MEDIABR_BODY_5_SECONDS"
+msgstr "5 giây"
+
+msgid "IDS_MEDIABR_BODY_10_SECONDS"
+msgstr "10 giây"
+
+msgid "IDS_MEDIABR_BODY_20_SECONDS"
+msgstr "20 giây"
+
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "Iris"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "Kích hoạt"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "幻灯片播放间隔"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "幻灯片"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 秒"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "重复"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "转换效果"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "淡出"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "百叶窗"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "溶解"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
-msgstr "说明字幕"
+msgstr "字幕"
msgid "IDS_MEDIABR_BODY_5_SECONDS"
msgstr "5 秒"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 秒"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "彩色效果"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "启动"
+
msgstr "投影片播放"
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
-msgstr "投影片播放間隔"
+msgstr "投影片間隔"
+
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "滑動"
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 秒"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "重複"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "過場效果"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "褪色"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "百葉窗"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "融化"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "字幕"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 秒"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "光圈"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "啟動"
+
msgid "IDS_MEDIABR_BODY_SLIDESHOW_INTERVAL"
msgstr "投影片放映間隔"
+msgid "IDS_MEDIABR_OPT_SLIDE"
+msgstr "投影片"
+
msgid "IDS_MEDIABR_OPT_2_SECONDS"
msgstr "2 秒"
msgid "IDS_MEDIABR_BODY_REPEAT"
msgstr "重複"
+msgid "IDS_MEDIABR_BODY_TRANSITION_EFFECT"
+msgstr "轉換效果"
+
+msgid "IDS_MEDIABR_BODY_FADE"
+msgstr "淡化"
+
+msgid "IDS_MEDIABR_BODY_BLIND"
+msgstr "百頁窗"
+
+msgid "IDS_MEDIABR_BODY_DISSOLVE"
+msgstr "分解"
+
msgid "IDS_MEDIABR_BODY_SUBTITLES"
msgstr "字幕"
msgid "IDS_MEDIABR_BODY_20_SECONDS"
msgstr "20 秒"
+msgid "IDS_MEDIABR_MBODY_IRIS_M_EFFECT"
+msgstr "光圈"
+
+msgid "IDS_MEDIABR_BODY_ACTIVATION"
+msgstr "啟動"
+
-/*
- * 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.
- */
-
-#include <vconf.h>
-
-#include "sg-keys.h"
-#include "sg-debug.h"
-#include "ug-setting-gallery.h"
-
-#define POPUP_TIMEOUT 3
-
-static void
-_gallery_key_text_popuptimeout_cb( void *data, Evas_Object *obj, void *event_info )
-{
- if(!data)
- {
- return;
- }
-
- struct ug_data * ugd = (struct ug_data *)data;
-
- if(ugd->popup)
- {
- evas_object_del(ugd->popup);
- ugd->popup = NULL;
- }
-}
-
-void
-gallery_key_text_popup(void *data, char *msg)
-{
- if(!data)
- {
- return;
- }
-
- struct ug_data * ugd = (struct ug_data *)data;
-
- Evas_Object *popup = elm_popup_add(ugd->main_layout);
-
- if(!ugd->popup)
- {
- ugd->popup = popup;
- evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-
- elm_object_text_set(popup, msg);
- elm_popup_timeout_set(popup, POPUP_TIMEOUT);
- evas_object_smart_callback_add(popup, "timeout", _gallery_key_text_popuptimeout_cb, data);
- evas_object_show(popup);
- }
-}
-
-int
-gallery_key_init_current_time(double *val)
-{
- if(vconf_get_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, val))
- {
- if(vconf_set_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, DEFAULT_TIMER))
- {
- return -1;
- }
- else
- {
- return 0;
- }
- }
-
- return 0;
-}
-
-int
-gallery_key_init_repeat_state(int *b_val)
-{
- if(vconf_get_bool(VCONFKEY_GALLERY_REPEAT_STATE, b_val))
- {
- if(vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, DEFAULT_REPEAT))
- {
- return -1;
- }
- else
- {
- return 0;
- }
- }
-
- return 0;
-}
-
-int
-gallery_key_init_shuffle_state(int *b_val)
-{
- if(vconf_get_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, b_val))
- {
- if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, DEFAULT_SHUFFLE))
- {
- return -1;
- }
- else
- {
- return 0;
- }
- }
-
- return 0;
-}
-
-int
-gallery_key_init_subtitle_state(int *b_val)
-{
- if(vconf_get_bool(VCONFKEY_GALLERY_SUBTITLE_STATE, b_val))
- {
- if(vconf_set_bool(VCONFKEY_GALLERY_SUBTITLE_STATE, DEFAULT_SUBTITLE))
- {
- return -1;
- }
- else
- {
- return 0;
- }
- }
-
- return 0;
-}
-
-int
-gallery_key_init_slideshow_effect(void)
-{
- if(!vconf_get_str(VCONFKEY_GALLERY_TRANSITION_EFFECT))
- {
- if(vconf_set_str(VCONFKEY_GALLERY_TRANSITION_EFFECT, DEFAULT_EFFECT))
- {
- return -1;
- }
- else
- {
- return 0;
- }
- }
-
- return 0;
-}
-
-double
-gallery_key_get_time_vconf_value(int index)
-{
- switch(index)
- {
- case 0:
- return VCONFKEY_GALLERY_ITV_TIME_2S;
- break;
-
- case 1:
- return VCONFKEY_GALLERY_ITV_TIME_3S;
- break;
-
- case 2:
- return VCONFKEY_GALLERY_ITV_TIME_5S;
- break;
-
- case 3:
- return VCONFKEY_GALLERY_ITV_TIME_10S;
- break;
-
- case 4:
- return VCONFKEY_GALLERY_ITV_TIME_20S;
- break;
-
- default:
- return 0;
- }
-
-}
-
-char *
-gallery_key_menu_get(int index)
-{
- char *text = NULL;
-
- switch(index)
- {
- case 0:
- text = SGUG_TR_2s;
- break;
-
- case 1:
- text = SGUG_TR_3s;
- break;
-
- case 2:
- text = SGUG_TR_5s;
- break;
-
- case 3:
- text = SGUG_TR_10s;
- break;
-
- case 4:
- text = SGUG_TR_20s;
- break;
-
- default:
- break;
-
- }
-
- return text;
-
-}
-
-int
-gallery_key_reset_current_time(void)
-{
- if(vconf_set_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, DEFAULT_TIMER))
- {
- gallery_error("vconf_set_dbl:interval time failed");
- return -1;
- }
-
- return 0;
-}
-
-int
-gallery_key_reset_repeat_state(void)
-{
- if(vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, DEFAULT_REPEAT))
- {
- gallery_error("vconf_set_bool:repeat state failed");
- return -1;
- }
-
- return 0;
-}
-
-int
-gallery_key_reset_shuffle_state(void)
-{
- if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, DEFAULT_SHUFFLE))
- {
- gallery_error("vconf_set_bool:shuffle state failed");
- return -1;
- }
-
- return 0;
-}
-
-int
-gallery_key_reset_subtitle_state(void)
-{
- if(vconf_set_bool(VCONFKEY_GALLERY_SUBTITLE_STATE, DEFAULT_SUBTITLE))
- {
- gallery_error("vconf_set_bool:subtitle state failed");
- return -1;
- }
-
- return 0;
-}
-
-int
-gallery_key_reset_slideshow_effect(void)
-{
- if(vconf_set_str(VCONFKEY_GALLERY_TRANSITION_EFFECT, DEFAULT_EFFECT))
- {
- gallery_error("vconf_set_str:transition effect failed");
- return -1;
- }
-
- return 0;
-}
+/*\r
+ * Copyright 2012 Samsung Electronics Co., Ltd\r
+ *\r
+ * Licensed under the Flora License, Version 1.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.tizenopensource.org/license\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#include <vconf.h>\r
+\r
+#include "sg-keys.h"\r
+#include "sg-debug.h"\r
+#include "ug-setting-gallery.h"\r
+\r
+#define POPUP_TIMEOUT 3\r
+\r
+static void\r
+_gallery_key_text_popupresponse_cb( void *data, Evas_Object *obj, void *event_info )\r
+{\r
+ gallery_retm_if(!data, "data is NULL");\r
+\r
+ struct ug_data * ugd = (struct ug_data *)data;\r
+\r
+ if(ugd->popup)\r
+ {\r
+ evas_object_del(ugd->popup);\r
+ ugd->popup = NULL;\r
+ }\r
+}\r
+\r
+void\r
+gallery_key_text_popup(void *data, char *msg)\r
+{\r
+ gallery_retm_if(!data, "data is NULL");\r
+\r
+ struct ug_data * ugd = (struct ug_data *)data;\r
+\r
+ Evas_Object *popup = elm_popup_add(ugd->main_layout);\r
+\r
+ if(!ugd->popup)\r
+ {\r
+ ugd->popup = popup;\r
+ evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\r
+\r
+ elm_object_text_set(popup, msg);\r
+// elm_popup_mode_set(popup, ELM_POPUP_TYPE_ALERT);\r
+ elm_popup_timeout_set(popup, POPUP_TIMEOUT);\r
+ evas_object_smart_callback_add(popup, "response", _gallery_key_text_popupresponse_cb, data);\r
+ evas_object_show(popup);\r
+ }\r
+}\r
+\r
+int\r
+gallery_key_init_current_time(double *val)\r
+{\r
+ if(vconf_get_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, val))\r
+ {\r
+ if(vconf_set_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, DEFAULT_TIMER))\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
+int\r
+gallery_key_init_repeat_state(int *b_val)\r
+{\r
+ if(vconf_get_bool(VCONFKEY_GALLERY_REPEAT_STATE, b_val))\r
+ {\r
+ if(vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, DEFAULT_REPEAT))\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
+int\r
+gallery_key_init_shuffle_state(int *b_val)\r
+{\r
+ if(vconf_get_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, b_val))\r
+ {\r
+ if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, DEFAULT_SHUFFLE))\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
+double\r
+gallery_key_get_time_vconf_value(int index)\r
+{\r
+ double value = 0.0;\r
+\r
+ switch(index)\r
+ {\r
+ case 0:\r
+ value = VCONFKEY_GALLERY_ITV_TIME_2S;\r
+ break;\r
+\r
+ case 1:\r
+ value = VCONFKEY_GALLERY_ITV_TIME_3S;\r
+ break;\r
+\r
+ case 2:\r
+ value = VCONFKEY_GALLERY_ITV_TIME_5S;\r
+ break;\r
+\r
+ case 3:\r
+ value = VCONFKEY_GALLERY_ITV_TIME_10S;\r
+ break;\r
+\r
+ case 4:\r
+ value = VCONFKEY_GALLERY_ITV_TIME_20S;\r
+ break;\r
+\r
+ default:\r
+ break;\r
+ }\r
+\r
+ return value;\r
+}\r
+\r
+char *\r
+gallery_key_time_menu_get(int index)\r
+{\r
+ char *text = NULL;\r
+\r
+ switch(index)\r
+ {\r
+ case 0:\r
+ text = SGUG_TR_2s;\r
+ break;\r
+\r
+ case 1:\r
+ text = SGUG_TR_3s;\r
+ break;\r
+\r
+ case 2:\r
+ text = SGUG_TR_5s;\r
+ break;\r
+\r
+ case 3:\r
+ text = SGUG_TR_10s;\r
+ break;\r
+\r
+ case 4:\r
+ text = SGUG_TR_20s;\r
+ break;\r
+\r
+ default:\r
+ break;\r
+\r
+ }\r
+\r
+ return text;\r
+\r
+}\r
+\r
+\r
+int\r
+gallery_key_set_current_time(double value)\r
+{\r
+ if(vconf_set_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, value))\r
+ {\r
+ gallery_error("vconf_set_dbl:interval time failed");\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
+int\r
+gallery_key_set_repeat_state(bool value)\r
+{\r
+ if(vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, value))\r
+ {\r
+ gallery_error("vconf_set_bool:repeat state failed");\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
+int\r
+gallery_key_set_shuffle_state(bool value)\r
+{\r
+ if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, value))\r
+ {\r
+ gallery_error("vconf_set_bool:shuffle state failed");\r
+ return -1;\r
+ }\r
+\r
+ return 0;\r
+}\r
+\r
-/*
- * 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 UG_MODULE_API
-#define UG_MODULE_API __attribute__ ((visibility("default")))
-#endif
-
-
-#include <stdio.h>
-#include <stdbool.h>
-
-#include <Elementary.h>
-#include <bundle.h>
-#include <ui-gadget-module.h>
-#include <vconf.h>
-
-
-#include "ui-gadget.h"
-#include "sg-keys.h"
-#include "sg-debug.h"
-#include "ug-setting-gallery.h"
-
-
-static void
-_gallery_quit_cb(void *data, Evas_Object *obj, void *event_info)
-{
- gallery_ret_if( data == NULL);
-
- struct ug_data *ugd;
- ugd = (struct ug_data *)data;
-
- if(ugd->ug)
- {
- ug_destroy_me(ugd->ug);
- }
-}
-
-static double
-_gallery_get_fabs(double vconf_value1, double vconf_value2)
-{
- double temp = 0;
- temp = vconf_value1 - vconf_value2;
- if(temp < 0)
- {
- return vconf_value2 - vconf_value1 ;
- }
-
- return temp;
-}
-
-static char *
-_gallery_genlist_text_get(void *data, Evas_Object *obj, const char *part)
-{
- gallery_retv_if( part == NULL, NULL);
-
- int param = (int )data;
-
- char *txt = NULL;
- double time_value = 0;
- int input_len = 0;
- input_len = strlen(part);
-
- if (input_len == strlen("elm.text.1") && strncmp(part, "elm.text.1", input_len) == 0 )
- {
- if(param == GALLERY_MAIN_MENU_TIME)
- {
- txt = SGUG_TR_PESF;
- }
- }
- // get sub item of interval-timer
- else if (input_len == strlen("elm.text.2") && strncmp(part, "elm.text.2", input_len) == 0 )
- {
- if(param == GALLERY_MAIN_MENU_TIME)
- {
- gallery_key_init_current_time(&time_value);
-
- int radio_value =0;
- for(radio_value =0;radio_value < GALLERY_SUB_TIME_COUNT; radio_value++)
- {
- if(_gallery_get_fabs(time_value, gallery_key_get_time_vconf_value(radio_value))<0.1)
- {
- break;
- }
- }
- if(radio_value >= 0)
- {
- txt = gallery_key_menu_get(radio_value);
- }
- }
- }
- else if (input_len == strlen("elm.text") && strncmp(part, "elm.text", input_len) == 0 )
- {
- if(param == GALLERY_MAIN_MENU_REPEAT)
- {
- txt = SGUG_TR_REPEAT;
- }
- else if(param == GALLERY_MAIN_MENU_SHUFFLE)
- {
- txt = SGUG_TR_SHUFFLE;
- }
- else if(param == GALLERY_MAIN_MENU_TITLE)
- {
- txt = SGUG_TR_SLIDESHOW;
- }
- else if(param == GALLERY_MAIN_MENU_SUBTITLE_TITLE)
- {
- txt = SGUG_TR_SUBTITLE_TITLE;
- }
- else if(param == GALLERY_MAIN_MENU_SUBTITLE_ON_OFF)
- {
- txt = SGUG_TR_SUBTITLE;
- }
- }
-
- if(txt)
- {
- return strdup(txt);
- }
- else
- {
- return NULL;
- }
-}
-
-static char *
-_gallery_time_text_get(void *data, Evas_Object *obj, const char *part)
-{
- gallery_retv_if(!part, NULL);
-
- int param = (int )data;
-
- char *txt = NULL;
- int input_len = 0;
-
- input_len = strlen(part);
-
- if (input_len == strlen("elm.text") && strncmp(part, "elm.text", input_len) == 0 )
- {
- if(param>=0 && param <GALLERY_SUB_TIME_COUNT)
- {
- txt = gallery_key_menu_get(param);
- }
- if(txt)
- {
- return strdup(txt);
- }
- }
-
- return NULL;
-}
-
-static Evas_Object*
-_gallery_time_content_get(void *data, Evas_Object *obj, const char *part)
-{
- gallery_retv_if(!part, NULL);
-
- int param = (int )data;
-
- struct ug_data *ugd = evas_object_data_get(obj, "ugd");
- gallery_retvm_if(!ugd, NULL, "INVALID param");
-
- int radio_value = 0;
-
- if (strncmp(part, "elm.icon", strlen(part)) == 0 )
- {
- double time_value = 0;
-
- Evas_Object *radio_btn = elm_radio_add(obj);
- evas_object_propagate_events_set(radio_btn, EINA_TRUE);
-
- elm_radio_state_value_set(radio_btn, param);
- elm_radio_group_add(radio_btn, ugd->radio_group);
-
- gallery_key_init_current_time(&time_value);
-
- for(radio_value =0;radio_value <GALLERY_SUB_TIME_COUNT; radio_value++)
- {
- if(_gallery_get_fabs(time_value, gallery_key_get_time_vconf_value(radio_value))<0.1)
- {
- break;
- }
- }
-
- if(ugd->radio_group)
- {
- elm_radio_value_set(ugd->radio_group, radio_value);
- }
-
- evas_object_smart_callback_add(radio_btn, "changed", NULL, NULL);//gallery_key_set_time_vconf
- evas_object_show(radio_btn);
-
- return radio_btn;
- }
-
- return NULL;
-}
-
-static void
-_gallery_genlist_icon_cb(void *data, Evas_Object *obj, void *event_info)
-{
- gallery_ret_if(NULL == data);
- struct ug_data *ugd = (struct ug_data *)data;
-
- int state = 0;
- int index = (int )data;
-
- if (index == GALLERY_MAIN_MENU_REPEAT)
- {
- gallery_key_init_repeat_state(&state);
-
- if (vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, !state))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
- }
- }
- else if(index == GALLERY_MAIN_MENU_SHUFFLE)
- {
- gallery_key_init_shuffle_state(&state);
-
- if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, !state))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
- }
- }
- else if(index == GALLERY_MAIN_MENU_SUBTITLE_ON_OFF)
- {
- gallery_key_init_subtitle_state(&state);
-
- if(vconf_set_bool(VCONFKEY_GALLERY_SUBTITLE_STATE, !state))
- {
- gallery_key_text_popup(ugd, SGUG_TR_FAILED);
- }
- }
-}
-
-static Evas_Object*
-_gallery_genlist_content_get(void *data, Evas_Object *obj, const char *part)
-{
-
- gallery_retv_if(NULL == data , NULL);
- gallery_retv_if(NULL == part, NULL);
-
- struct ug_data *ugd = NULL;
-
- ugd = evas_object_data_get(obj, "ugd");
- gallery_retvm_if(!ugd, NULL, "INVALID param");
-
- int index = (int )data;
-
- if (0 == strncmp(part, "elm.icon", strlen(part)))
- {
- if (index == GALLERY_MAIN_MENU_REPEAT)
- {
- Evas_Object *check;
- check = elm_check_add(obj);
-
- ugd->repeat_btn= check;
-
- gallery_key_init_repeat_state(&ugd->repeat_state);
- elm_check_state_set( ugd->repeat_btn, (bool)ugd->repeat_state);
-
- elm_object_style_set(check, "on&off");
-
- evas_object_propagate_events_set(check, EINA_FALSE);
- evas_object_smart_callback_add(check, "changed", _gallery_genlist_icon_cb, (void *)index);
-
- return ugd->repeat_btn;
-
- }
- else if(index == GALLERY_MAIN_MENU_SHUFFLE)
- {
- Evas_Object *check;
- check = elm_check_add(obj);
-
- ugd->shuffle_btn= check;
-
- gallery_key_init_shuffle_state(&ugd->shuffle_state);
- elm_check_state_set( ugd->shuffle_btn, (bool)ugd->shuffle_state);
-
- elm_object_style_set(check, "on&off");
-
- evas_object_propagate_events_set(check, EINA_FALSE);
- evas_object_smart_callback_add(check, "changed", _gallery_genlist_icon_cb, (void *)index);
-
- return ugd->shuffle_btn;
- }
- else if(index == GALLERY_MAIN_MENU_SUBTITLE_ON_OFF)
- {
- Evas_Object *check;
- check = elm_check_add(obj);
-
- ugd->subtitle_btn= check;
-
- gallery_key_init_subtitle_state(&ugd->subtitle_state);
- elm_check_state_set( ugd->subtitle_btn, (bool)ugd->subtitle_state);
-
- elm_object_style_set(check, "on&off");
-
- evas_object_propagate_events_set(check, EINA_FALSE);
- evas_object_smart_callback_add(check, "changed", _gallery_genlist_icon_cb, (void *)index);
-
- return ugd->subtitle_btn;
- }
- }
-
- return NULL;
-
- }
-
-static void
-_gallery_time_select_cb(void *data, Evas_Object *obj, void *event_info)
-{
-
- struct ug_data *ugd = evas_object_data_get(obj, "ugd");
- gallery_ret_if(!ugd);
-
- int param = (int )data;
- Elm_Object_Item *item = (Elm_Object_Item *)event_info;
-
- int index = GALLERY_MAIN_MENU_TIME;
-
- elm_genlist_item_selected_set(item, EINA_FALSE);
-
- if(vconf_set_dbl(VCONFKEY_GALLERY_INTERVAL_TIME, gallery_key_get_time_vconf_value(param)))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
- }
-
- elm_radio_value_set(ugd->radio_group, param);
- elm_genlist_item_update(ugd->gl_it[index]);
-
-}
-
-
-
-static void
-_gallery_genlist_con(void *data, Evas_Object *obj, void *event_info)
-{
- gallery_ret_if( event_info == NULL);
-
- Elm_Object_Item *item = event_info;
- elm_genlist_item_subitems_clear(item);
-}
-
-static void
-_gallery_genlist_time_select_cb(void *data, Evas_Object *obj, void *event_info)
-{
- struct ug_data *ugd = evas_object_data_get(obj, "ugd");
- gallery_ret_if(ugd == NULL);
-
- int index = 0;
- Elm_Object_Item *item = (Elm_Object_Item *)event_info;
-
- elm_genlist_item_selected_set(item, EINA_FALSE);
-
- Evas_Object *gl = elm_object_item_widget_get(item);
-
- ugd->check_time_itc.item_style = "dialogue/1text.1icon/expandable2";
- ugd->check_time_itc.func.text_get = _gallery_time_text_get;
- ugd->check_time_itc.func.content_get = _gallery_time_content_get;
- ugd->check_time_itc.func.state_get = NULL;
- ugd->check_time_itc.func.del = NULL;
-
- ugd->radio_group = elm_radio_add(gl);
- for (index = 0; gallery_key_menu_get(index); index++)
- {
- elm_genlist_item_append(gl,&ugd->check_time_itc, (void *)index, item,
- ELM_GENLIST_ITEM_NONE, _gallery_time_select_cb, (void *)index);
- }
-
-}
-
-static void
-_gallery_genlist_exp(void *data, Evas_Object *obj, void *event_info)
-{
- gallery_ret_if( NULL == obj);
-
- struct ug_data *ugd = evas_object_data_get(obj, "ugd");
- gallery_ret_if(NULL == ugd);
-
- Elm_Object_Item *item = (Elm_Object_Item *)event_info;
-
- elm_genlist_item_selected_set(item, EINA_FALSE);
-
- if(item == ugd->gl_it[GALLERY_MAIN_MENU_TIME])
- {
- _gallery_genlist_time_select_cb(data, obj, event_info);
-
- }
-}
-
-static void
-_gallery_genlist_select_cb(void *data, Evas_Object *obj, void *event_info)
-{
- struct ug_data *ugd = evas_object_data_get(obj, "ugd");
- gallery_ret_if(ugd == NULL);
-
- int param = (int )data;
-
- int icon_state = 0;
- bool expand_state = false;
-
- Elm_Object_Item *item = (Elm_Object_Item *)event_info;
-
- elm_genlist_item_selected_set(item, EINA_FALSE);
-
- if(param == GALLERY_MAIN_MENU_TIME)
- {
- expand_state = elm_genlist_item_expanded_get(item);
-
- if(!expand_state)
- {
- elm_genlist_item_expanded_set(item,EINA_TRUE);
- }
- else
- {
- elm_genlist_item_expanded_set(item,EINA_FALSE);
- }
- }
- else if(param == GALLERY_MAIN_MENU_REPEAT)
- {
- gallery_key_init_repeat_state(&icon_state);
- icon_state = !icon_state;
-
- if(vconf_set_bool(VCONFKEY_GALLERY_REPEAT_STATE, icon_state))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
-
- }
-
- elm_check_state_set(ugd->repeat_btn, (bool)icon_state);
- }
- else if(param == GALLERY_MAIN_MENU_SHUFFLE)
- {
- gallery_key_init_shuffle_state(&icon_state);
- icon_state = !icon_state;
-
- if(vconf_set_bool(VCONFKEY_GALLERY_SHUFFLE_STATE, icon_state))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
-
- }
-
- elm_check_state_set(ugd->shuffle_btn,(bool)icon_state);
- }
- else if(param == GALLERY_MAIN_MENU_SUBTITLE_ON_OFF)
- {
- gallery_key_init_subtitle_state(&icon_state);
- icon_state = !icon_state;
-
- if(vconf_set_bool(VCONFKEY_GALLERY_SUBTITLE_STATE, icon_state))
- {
- gallery_key_text_popup(ugd,SGUG_TR_FAILED);
- return;
-
- }
-
- elm_check_state_set(ugd->subtitle_btn,(bool)icon_state);
- }
-}
-
-static Evas_Object *
-_gallery_genlist_items_add (Evas_Object *parent, struct ug_data *ugd)
-{
- Evas_Object *main_genlist;
- Elm_Object_Item *it = NULL;
-
- int index = 0;
-
- main_genlist = elm_genlist_add(parent);
-
- evas_object_size_hint_weight_set(main_genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- evas_object_size_hint_align_set(main_genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);
-
- ugd->genlist = main_genlist;
-
- ugd->title_itc.item_style = "dialogue/title";
- ugd->title_itc.func.text_get = _gallery_genlist_text_get;
- ugd->title_itc.func.content_get = NULL;
- ugd->title_itc.func.state_get = NULL;
- ugd->title_itc.func.del = NULL;
-
- ugd->expandable_itc.item_style = "dialogue/2text.3/expandable";
- ugd->expandable_itc.func.text_get = _gallery_genlist_text_get;
- ugd->expandable_itc.func.content_get = NULL;
- ugd->expandable_itc.func.state_get = NULL;
- ugd->expandable_itc.func.del = NULL;
-
- ugd->txt_icon_itc.item_style = "dialogue/1text.1icon";
- ugd->txt_icon_itc.func.text_get = _gallery_genlist_text_get;
- ugd->txt_icon_itc.func.content_get = _gallery_genlist_content_get;
- ugd->txt_icon_itc.func.state_get = NULL;
- ugd->txt_icon_itc.func.del = NULL;
-
- for (index = GALLERY_MAIN_MENU_TITLE; index < GALLERY_MAIN_MENU_ITEM_MAX; index++)
- {
- //expandable genlist
- if (index == GALLERY_MAIN_MENU_TIME)
- {
- ugd->gl_it[index] = elm_genlist_item_append(main_genlist, &ugd->expandable_itc,
- (void *)index, NULL, ELM_GENLIST_ITEM_TREE,
- _gallery_genlist_select_cb, (void *)index);
- }
- // repeat&shuffle 1txt .1icon
- else if (index == GALLERY_MAIN_MENU_REPEAT ||
- index == GALLERY_MAIN_MENU_SHUFFLE ||
- index == GALLERY_MAIN_MENU_SUBTITLE_ON_OFF)
- {
- ugd->gl_it[index] = elm_genlist_item_append(main_genlist, &ugd->txt_icon_itc,
- (void *)index, NULL, ELM_GENLIST_ITEM_NONE,
- _gallery_genlist_select_cb, (void *)index);
- }
- //title
- else if (index == GALLERY_MAIN_MENU_TITLE)
- {
- it = elm_genlist_item_append(main_genlist, &ugd->title_itc,
- (void *)index, NULL, ELM_GENLIST_ITEM_NONE,
- NULL, NULL);
- elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
- }
- //subtitle title
- else if (index == GALLERY_MAIN_MENU_SUBTITLE_TITLE)
- {
- it = elm_genlist_item_append(main_genlist, &ugd->title_itc,
- (void *)index, NULL, ELM_GENLIST_ITEM_NONE,
- NULL, NULL);
- elm_genlist_item_select_mode_set(it, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);
- }
- }
-
- evas_object_smart_callback_add(main_genlist, "expanded", _gallery_genlist_exp, ugd);
- evas_object_smart_callback_add(main_genlist, "contracted", _gallery_genlist_con, ugd);
-
- return main_genlist;
-}
-
-
-static Evas_Object *
-_gallery_create_fullview(Evas_Object *parent, struct ug_data *ugd)
-{
- gallery_retv_if( parent == NULL, NULL);
-
- Evas_Object *base;
- base = elm_layout_add(parent);
- gallery_retv_if( base == NULL, NULL );
-
- elm_layout_theme_set(base, "layout", "application", "default");
- edje_object_signal_emit(_EDJ(base), "elm,state,show,indicator", "elm");
- elm_object_part_content_set(base, "elm.swallow.bg", ugd->bg);
-
- return base;
-}
-
-static Evas_Object*
-_gallery_create_naviframe(Evas_Object* parent)
-{
- gallery_retv_if( parent == NULL, NULL);
-
- Evas_Object *naviframe = NULL;
- naviframe = elm_naviframe_add( parent );
- elm_object_part_content_set( parent, "elm.swallow.content", naviframe );
- evas_object_show(naviframe);
-
- return naviframe;
-}
-
-static Evas_Object *_gallery_create_bg(Evas_Object *parent)
-{
- Evas_Object *bg = elm_bg_add(parent);
- evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_win_resize_object_add(parent, bg);
- evas_object_show(bg);
-
- return bg;
-}
-
-static void *
-_on_create(struct ui_gadget *ug, enum ug_mode mode, bundle *data, void *priv)
-{
- Evas_Object *parent = NULL;
- struct ug_data *ugd = NULL;
-
- gallery_retvm_if((!ug || !priv), NULL, "handle or ui_gadget pointer is NULL, check it !!");
-
- ugd = (struct ug_data *)priv;
- ugd->ug = ug;
-
- /* Bind text domain for internalization */
- bindtextdomain("ug-setting-gallery-efl" , "/opt/ug/res/locale");
-
- parent = (Evas_Object *)ug_get_parent_layout(ug);
- gallery_retvm_if(parent == NULL, NULL, "parent layout is NULL");
-
- ugd->bg = _gallery_create_bg(parent);
-
- if (mode == UG_MODE_FULLVIEW)
- {
- ugd->main_layout = _gallery_create_fullview(parent, ugd);
- }
- else
- {
- ugd->main_layout = NULL;
- }
-
- if(ugd->main_layout)
- {
- ugd->naviframe = _gallery_create_naviframe(ugd->main_layout);
- evas_object_data_set(ugd->naviframe, "ugd", ugd);
- }
-
- ugd->genlist = _gallery_genlist_items_add(ugd->naviframe,ugd);
-
- evas_object_data_set(ugd->genlist, "ugd", ugd);
-
- ugd->backbtn = elm_button_add(ugd->naviframe);
- evas_object_smart_callback_add(ugd->backbtn, "clicked", _gallery_quit_cb, ugd);
- elm_naviframe_item_push(ugd->naviframe, SGUG_TR_GALLERY, ugd->backbtn,
- NULL, ugd->genlist, NULL);
- elm_object_style_set(ugd->backbtn, "naviframe/end_btn/default");
-
- evas_object_show(ugd->main_layout);
-
- return ugd->main_layout;
-}
-
-static void
-_on_message(struct ui_gadget *ug, bundle *msg, bundle *data, void *priv)
-{
-}
-
-static void
-_on_event(struct ui_gadget *ug, enum ug_event event, bundle *data, void *priv)
-{
-
- //struct ug_data *ugd = (struct ug_data *)priv;
-
- switch (event) {
- case UG_EVENT_LOW_MEMORY:
- break;
- case UG_EVENT_LOW_BATTERY:
- break;
- case UG_EVENT_LANG_CHANGE:
- break;
- case UG_EVENT_ROTATE_PORTRAIT:
- break;
- case UG_EVENT_ROTATE_PORTRAIT_UPSIDEDOWN:
- break;
- case UG_EVENT_ROTATE_LANDSCAPE:
- break;
- case UG_EVENT_ROTATE_LANDSCAPE_UPSIDEDOWN:
- break;
- default:
- break;
- }
-}
-
-static void
-_on_start(struct ui_gadget *ug, bundle *data, void *priv)
-{
-}
-
-static void
-_on_pause(struct ui_gadget *ug, bundle *data, void *priv)
-{
-
-}
-
-static void
-_on_resume(struct ui_gadget *ug, bundle *data, void *priv)
-{
-
-}
-
-static void
-_on_destroy(struct ui_gadget *ug, bundle *data, void *priv)
-{
- struct ug_data *ugd;
-
- if (!ug || !priv)
- {
- return;
- }
-
- ugd = priv;
- if(ugd->main_layout)
- {
- evas_object_del(ugd->main_layout);
- ugd->main_layout = NULL;
- }
-}
-
-static void
-_on_key_event(struct ui_gadget *ug, enum ug_key_event event, bundle *data, void *priv)
-{
-
-}
-
-
-UG_MODULE_API int
-UG_MODULE_INIT(struct ug_module_ops *ops)
-{
- struct ug_data *ugd;
-
- if (!ops)
- {
- return -1;
- }
-
- ugd = calloc(1, sizeof(struct ug_data));
- if (!ugd)
- {
- return -1;
- }
-
- ops->create = _on_create;
- ops->start = _on_start;
- ops->pause = _on_pause;
- ops->resume = _on_resume;
- ops->destroy = _on_destroy;
- ops->message = _on_message;
- ops->key_event = _on_key_event;
- ops->event = _on_event;
- ops->priv = ugd;
- ops->opt = UG_OPT_INDICATOR_PORTRAIT_ONLY;
-
- return 0;
-}
-
-UG_MODULE_API int setting_plugin_reset(bundle *data, void *priv)
-{
- gallery_info("Reset the settings start");
-
- int ret = 0;
- ret += gallery_key_reset_current_time();
- ret += gallery_key_reset_repeat_state();
- ret += gallery_key_reset_shuffle_state();
- ret += gallery_key_reset_subtitle_state();
- ret += gallery_key_reset_slideshow_effect();
-
- gallery_info("Finished");
-
- return ret;
-}
-
-UG_MODULE_API void
-UG_MODULE_EXIT(struct ug_module_ops *ops)
-{
- struct ug_data *ugd;
-
- if (!ops)
- {
- return;
- }
-
- ugd = ops->priv;
- if (ugd)
- {
- free(ugd);
- }
-}
+/*\r
+ * Copyright 2012 Samsung Electronics Co., Ltd\r
+ *\r
+ * Licensed under the Flora License, Version 1.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.tizenopensource.org/license\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef UG_MODULE_API\r
+#define UG_MODULE_API __attribute__ ((visibility("default")))\r
+#endif\r
+\r
+\r
+#include <stdio.h>\r
+#include <stdbool.h>\r
+\r
+#include <Elementary.h>\r
+#include <ui-gadget-module.h>\r
+#include <vconf.h>\r
+\r
+\r
+#include "sg-keys.h"\r
+#include "sg-debug.h"\r
+#include "ug-setting-gallery.h"\r
+\r
+#define MAX_PRECISION 0.1\r
+\r
+typedef int (*Init_State_Func) (int *data);\r
+\r
+static void\r
+_gallery_quit_cb(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ gallery_ret_if(!data);\r
+\r
+ struct ug_data *ugd;\r
+ ugd = (struct ug_data *)data;\r
+\r
+ if(ugd->ug)\r
+ {\r
+ ug_destroy_me(ugd->ug);\r
+ }\r
+}\r
+\r
+static char *_gallery_get_menu_elm_text(int param)\r
+{\r
+ char *text = NULL;\r
+\r
+ switch(param)\r
+ {\r
+ case GALLERY_MAIN_MENU_TIME:\r
+ text = SGUG_TR_PESF;\r
+ break;\r
+\r
+ case GALLERY_MAIN_MENU_REPEAT:\r
+ text = SGUG_TR_REPEAT;\r
+ break;\r
+\r
+ case GALLERY_MAIN_MENU_SHUFFLE:\r
+ text = SGUG_TR_SHUFFLE;\r
+ break;\r
+\r
+ case GALLERY_MAIN_MENU_TITLE:\r
+ text = SGUG_TR_SLIDESHOW;\r
+ break;\r
+\r
+ default:\r
+ break;\r
+ }\r
+\r
+ return text;\r
+}\r
+\r
+static int _gallery_get_time_radio_value(void)\r
+{\r
+ int radio_value = 0;\r
+ double time_value = 0;\r
+\r
+ gallery_key_init_current_time(&time_value);\r
+\r
+ for(radio_value = 0; radio_value < GALLERY_SUB_TIME_COUNT; radio_value++)\r
+ {\r
+ if(abs(time_value - gallery_key_get_time_vconf_value(radio_value)) < MAX_PRECISION)\r
+ break;\r
+ }\r
+\r
+ return radio_value;\r
+}\r
+\r
+static char *_gallery_get_menu_time_text(void)\r
+{\r
+ int radio_value = 0;\r
+ radio_value =_gallery_get_time_radio_value();\r
+\r
+ return gallery_key_time_menu_get(radio_value);\r
+}\r
+\r
+static char *_gallery_get_menu_sub_elm_text(int param)\r
+{\r
+ char *text = NULL;\r
+\r
+ switch(param)\r
+ {\r
+ case GALLERY_MAIN_MENU_TIME:\r
+ text = _gallery_get_menu_time_text();\r
+ break;\r
+\r
+ default:\r
+ break;\r
+ }\r
+\r
+ return text;\r
+}\r
+\r
+static char *\r
+_gallery_genlist_text_get(void *data, Evas_Object *obj, const char *part)\r
+{\r
+ gallery_retv_if(!part, NULL);\r
+\r
+ int param = (int )data;\r
+\r
+ char *txt = NULL;\r
+ int input_len = 0;\r
+ input_len = strlen(part);\r
+\r
+ if (input_len == strlen("elm.text.1") && strncmp(part, "elm.text.1", input_len) == 0 )\r
+ {\r
+ txt = _gallery_get_menu_elm_text(param);\r
+ }\r
+ else if (input_len == strlen("elm.text.2") && strncmp(part, "elm.text.2", input_len) == 0 )\r
+ {\r
+ txt = _gallery_get_menu_sub_elm_text(param);\r
+ }\r
+ else if (input_len == strlen("elm.text") && strncmp(part, "elm.text", input_len) == 0 )\r
+ {\r
+ txt = _gallery_get_menu_elm_text(param);\r
+ }\r
+\r
+ if(txt)\r
+ return strdup(txt);\r
+ else\r
+ return NULL;\r
+}\r
+\r
+static char *\r
+_gallery_expand_common_text_get(const char *part, void *data, gallery_main_menu_item_t mitem)\r
+{\r
+ gallery_retv_if(!part, NULL);\r
+\r
+ int param = (int )data;\r
+ char *txt = NULL;\r
+ int input_len = 0;\r
+\r
+ input_len = strlen(part);\r
+\r
+ if (input_len == strlen("elm.text") && strncmp(part, "elm.text", input_len) == 0 )\r
+ {\r
+ switch(mitem)\r
+ {\r
+ case GALLERY_MAIN_MENU_TIME:\r
+ txt = gallery_key_time_menu_get(param);\r
+ break;\r
+\r
+ default:\r
+ break;\r
+ }\r
+\r
+ if(txt)\r
+ return strdup(txt);\r
+ }\r
+\r
+ return NULL;\r
+}\r
+\r
+static char *\r
+_gallery_time_text_get(void *data, Evas_Object *obj, const char *part)\r
+{\r
+ gallery_retv_if(!part, NULL);\r
+\r
+ return _gallery_expand_common_text_get(part, data, GALLERY_MAIN_MENU_TIME);\r
+}\r
+\r
+\r
+static Evas_Object*\r
+_gallery_expand_common_icon_get(Evas_Object *obj, const char *part, int param, int radio_value, Evas_Object *radio_group)\r
+{\r
+ gallery_retv_if(!part, NULL);\r
+ gallery_retv_if(!obj, NULL);\r
+\r
+ if (strncmp(part, "elm.icon", strlen(part)) == 0 )\r
+ {\r
+ Evas_Object *radio_btn = elm_radio_add(obj);\r
+ evas_object_propagate_events_set(radio_btn, EINA_TRUE);\r
+ elm_radio_state_value_set(radio_btn, param);\r
+ elm_radio_group_add(radio_btn, radio_group);\r
+ elm_radio_value_set(radio_group, radio_value);\r
+ evas_object_show(radio_btn);\r
+\r
+ return radio_btn;\r
+ }\r
+\r
+ return NULL;\r
+}\r
+\r
+static Evas_Object*\r
+_gallery_time_content_get(void *data, Evas_Object *obj, const char *part)\r
+{\r
+ gallery_retv_if(!part, NULL);\r
+\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_retvm_if(!ugd, NULL, "INVALID param");\r
+\r
+ int radio_value = 0;\r
+ radio_value = _gallery_get_time_radio_value();\r
+\r
+ return _gallery_expand_common_icon_get(obj, part, (int )data, radio_value, ugd->radio_group);\r
+}\r
+\r
+static void\r
+_gallery_genlist_icon_cb(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ gallery_ret_if(!data);\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+\r
+ int state = 0;\r
+ int index = (int )data;\r
+\r
+ if (index == GALLERY_MAIN_MENU_REPEAT)\r
+ {\r
+ gallery_key_init_repeat_state(&state);\r
+\r
+ if (gallery_key_set_repeat_state(!state))\r
+ {\r
+ gallery_key_text_popup(ugd,SGUG_TR_FAILED);\r
+ }\r
+ }\r
+ else if(index == GALLERY_MAIN_MENU_SHUFFLE)\r
+ {\r
+ gallery_key_init_shuffle_state(&state);\r
+\r
+ if(gallery_key_set_shuffle_state(!state))\r
+ {\r
+ gallery_key_text_popup(ugd,SGUG_TR_FAILED);\r
+ }\r
+ }\r
+\r
+}\r
+\r
+static Evas_Object *_gallery_create_check(Evas_Object *obj, struct ug_data *ugd, int index, Init_State_Func func, int *state)\r
+{\r
+ gallery_retvm_if(!obj, NULL, "obj is NULL");\r
+ gallery_retvm_if(!ugd, NULL, "ugd is NULL");\r
+ gallery_retvm_if(!state, NULL, "state is NULL");\r
+\r
+ if(func && state)\r
+ func(state);\r
+\r
+ Evas_Object *check = NULL;\r
+ check = elm_check_add(obj);\r
+ evas_object_data_set(check, "ugd", ugd);\r
+ elm_check_state_set( check, (bool)*state);\r
+ elm_object_style_set(check, "on&off");\r
+ evas_object_propagate_events_set(check, EINA_FALSE);\r
+ evas_object_smart_callback_add(check, "changed", _gallery_genlist_icon_cb, (void *)index);\r
+\r
+ return check;\r
+}\r
+\r
+static Evas_Object*\r
+_gallery_genlist_icon_get(void *data, Evas_Object *obj, const char *part)\r
+{\r
+ gallery_retv_if(!data, NULL);\r
+ gallery_retv_if(!part, NULL);\r
+\r
+ struct ug_data *ugd = NULL;\r
+\r
+ ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_retvm_if(!ugd, NULL, "INVALID param");\r
+\r
+ int index = (int )data;\r
+ Evas_Object *check = NULL;\r
+\r
+ if (strncmp(part, "elm.icon", strlen(part)) == 0)\r
+ {\r
+ if (index == GALLERY_MAIN_MENU_REPEAT)\r
+ {\r
+ check = _gallery_create_check(obj, ugd, index, gallery_key_init_repeat_state, &ugd->repeat_state);\r
+ ugd->repeat_btn = check;\r
+ }\r
+ else if(index == GALLERY_MAIN_MENU_SHUFFLE)\r
+ {\r
+ check = _gallery_create_check(obj, ugd, index, gallery_key_init_shuffle_state, &ugd->shuffle_state);\r
+ ugd->shuffle_btn = check;\r
+ }\r
+\r
+ }\r
+\r
+ return check;\r
+}\r
+\r
+static void\r
+_gallery_time_select_cb(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_ret_if(!ugd);\r
+\r
+ int param = (int )data;\r
+ Elm_Object_Item *item = (Elm_Object_Item *)event_info;\r
+\r
+ int index = GALLERY_MAIN_MENU_TIME;\r
+\r
+ elm_genlist_item_selected_set(item, EINA_FALSE);\r
+\r
+ if(gallery_key_set_current_time(gallery_key_get_time_vconf_value(param)))\r
+ {\r
+ gallery_key_text_popup(ugd,SGUG_TR_FAILED);\r
+ }\r
+\r
+ elm_radio_value_set(ugd->radio_group, param);\r
+ elm_genlist_item_update(ugd->gl_it[index]);\r
+\r
+}\r
+\r
+static void\r
+_gallery_genlist_con(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ gallery_ret_if(!event_info);\r
+\r
+ Elm_Object_Item *item = event_info;\r
+ elm_genlist_item_subitems_clear(item);\r
+}\r
+\r
+static void\r
+_gallery_genlist_time_select_cb(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_ret_if(!ugd);\r
+\r
+ int index = 0;\r
+ Elm_Object_Item *item = (Elm_Object_Item *)event_info;\r
+\r
+ elm_genlist_item_selected_set(item, EINA_FALSE);\r
+\r
+ Evas_Object *gl = elm_object_item_widget_get(item);\r
+\r
+ ugd->check_time_itc.item_style = "dialogue/1text.1icon/expandable2";\r
+ ugd->check_time_itc.func.text_get = _gallery_time_text_get;\r
+ ugd->check_time_itc.func.content_get = _gallery_time_content_get;\r
+ ugd->check_time_itc.func.state_get = NULL;\r
+ ugd->check_time_itc.func.del = NULL;\r
+\r
+ ugd->radio_group = elm_radio_add(gl);\r
+ for (index = 0; gallery_key_time_menu_get(index); index++)\r
+ {\r
+ elm_genlist_item_append(gl,&ugd->check_time_itc, (void *)index, item,\r
+ ELM_GENLIST_ITEM_NONE, _gallery_time_select_cb, (void *)index);\r
+ }\r
+\r
+}\r
+\r
+static void\r
+_gallery_genlist_exp(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ gallery_ret_if(!obj);\r
+\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_ret_if(!ugd);\r
+\r
+ Elm_Object_Item *item = (Elm_Object_Item *)event_info;\r
+\r
+ elm_genlist_item_selected_set(item, EINA_FALSE);\r
+\r
+ if(item == ugd->gl_it[GALLERY_MAIN_MENU_TIME])\r
+ {\r
+ _gallery_genlist_time_select_cb(data, obj, event_info);\r
+ }\r
+}\r
+\r
+static void\r
+_gallery_genlist_select_cb(void *data, Evas_Object *obj, void *event_info)\r
+{\r
+ struct ug_data *ugd = evas_object_data_get(obj, "ugd");\r
+ gallery_ret_if(!ugd);\r
+\r
+ int param = (int )data;\r
+\r
+ int icon_state = 0;\r
+ bool expand_state = false;\r
+\r
+ Elm_Object_Item *item = (Elm_Object_Item *)event_info;\r
+\r
+ elm_genlist_item_selected_set(item, EINA_FALSE);\r
+\r
+ if(param == GALLERY_MAIN_MENU_TIME)\r
+ {\r
+ expand_state = elm_genlist_item_expanded_get(item);\r
+ elm_genlist_item_expanded_set(item, !expand_state);\r
+ }\r
+ else if(param == GALLERY_MAIN_MENU_REPEAT)\r
+ {\r
+ gallery_key_init_repeat_state(&icon_state);\r
+ icon_state = !icon_state;\r
+\r
+ if(gallery_key_set_repeat_state(icon_state))\r
+ {\r
+ gallery_key_text_popup(ugd,SGUG_TR_FAILED);\r
+ }\r
+\r
+ elm_check_state_set(ugd->repeat_btn, (bool)icon_state);\r
+ }\r
+ else if(param == GALLERY_MAIN_MENU_SHUFFLE)\r
+ {\r
+ gallery_key_init_shuffle_state(&icon_state);\r
+ icon_state = !icon_state;\r
+\r
+ if(gallery_key_set_shuffle_state(icon_state))\r
+ {\r
+ gallery_key_text_popup(ugd,SGUG_TR_FAILED);\r
+ }\r
+\r
+ elm_check_state_set(ugd->shuffle_btn,(bool)icon_state);\r
+ }\r
+}\r
+\r
+static Evas_Object *\r
+_gallery_genlist_items_add (Evas_Object *parent, struct ug_data *ugd)\r
+{\r
+ Evas_Object *main_genlist;\r
+ Elm_Object_Item *sep;\r
+\r
+ int index = 0;\r
+\r
+ main_genlist = elm_genlist_add(parent);\r
+\r
+ elm_object_style_set(main_genlist, "dialogue");\r
+\r
+ evas_object_size_hint_weight_set(main_genlist, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\r
+ evas_object_size_hint_align_set(main_genlist, EVAS_HINT_FILL, EVAS_HINT_FILL);\r
+\r
+ ugd->genlist = main_genlist;\r
+\r
+ ugd->title_itc.item_style = "dialogue/title";\r
+ ugd->title_itc.func.text_get = _gallery_genlist_text_get;\r
+ ugd->title_itc.func.content_get = NULL;\r
+ ugd->title_itc.func.state_get = NULL;\r
+ ugd->title_itc.func.del = NULL;\r
+\r
+ ugd->expandable_itc.item_style = "dialogue/2text.3/expandable";\r
+ ugd->expandable_itc.func.text_get = _gallery_genlist_text_get;\r
+ ugd->expandable_itc.func.content_get = NULL;\r
+ ugd->expandable_itc.func.state_get = NULL;\r
+ ugd->expandable_itc.func.del = NULL;\r
+\r
+ ugd->txt_icon_itc.item_style = "dialogue/1text.1icon";\r
+ ugd->txt_icon_itc.func.text_get = _gallery_genlist_text_get;\r
+ ugd->txt_icon_itc.func.content_get = _gallery_genlist_icon_get;\r
+ ugd->txt_icon_itc.func.state_get = NULL;\r
+ ugd->txt_icon_itc.func.del = NULL;\r
+\r
+ ugd->seperator_itc.item_style = "grouptitle.dialogue.seperator";\r
+ ugd->seperator_itc.func.text_get = NULL;\r
+ ugd->seperator_itc.func.content_get = NULL;\r
+ ugd->seperator_itc.func.state_get = NULL;\r
+ ugd->seperator_itc.func.del = NULL;\r
+\r
+ ugd->seperator_end_itc.item_style = "dialogue/separator/end";\r
+ ugd->seperator_end_itc.func.text_get = NULL;\r
+ ugd->seperator_end_itc.func.content_get = NULL;\r
+ ugd->seperator_end_itc.func.state_get = NULL;\r
+ ugd->seperator_end_itc.func.del = NULL;\r
+\r
+ sep = elm_genlist_item_append(main_genlist, &ugd->seperator_itc, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);\r
+ elm_genlist_item_select_mode_set(sep, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);\r
+\r
+ for (index = GALLERY_MAIN_MENU_TITLE; index < GALLERY_MAIN_MENU_ITEM_MAX; index++)\r
+ {\r
+ //expandable genlist\r
+ if (index == GALLERY_MAIN_MENU_TIME)\r
+ {\r
+ ugd->gl_it[index] = elm_genlist_item_append(main_genlist, &ugd->expandable_itc,\r
+ (void *)index, NULL,\r
+ ELM_GENLIST_ITEM_TREE,\r
+ _gallery_genlist_select_cb,\r
+ (void *)index);\r
+ }\r
+ // repeat&shuffle 1txt .1icon\r
+ else if (index == GALLERY_MAIN_MENU_REPEAT ||\r
+ index == GALLERY_MAIN_MENU_SHUFFLE)\r
+ {\r
+ ugd->gl_it[index] = elm_genlist_item_append(main_genlist, &ugd->txt_icon_itc,\r
+ (void *)index, NULL,\r
+ ELM_GENLIST_ITEM_NONE,\r
+ _gallery_genlist_select_cb,\r
+ (void *)index);\r
+ }\r
+ }\r
+\r
+ sep = elm_genlist_item_append(main_genlist, &ugd->seperator_end_itc, NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL);\r
+ elm_genlist_item_select_mode_set(sep, ELM_OBJECT_SELECT_MODE_DISPLAY_ONLY);\r
+\r
+ evas_object_smart_callback_add(main_genlist, "expanded", _gallery_genlist_exp, ugd);\r
+ evas_object_smart_callback_add(main_genlist, "contracted", _gallery_genlist_con, ugd);\r
+\r
+ return main_genlist;\r
+}\r
+\r
+\r
+static Evas_Object *\r
+_gallery_create_fullview(Evas_Object *parent, struct ug_data *ugd)\r
+{\r
+ gallery_retv_if(!parent, NULL);\r
+\r
+ Evas_Object *base;\r
+ base = elm_layout_add(parent);\r
+ gallery_retv_if( base == NULL, NULL );\r
+\r
+ elm_layout_theme_set(base, "layout", "application", "default");\r
+ edje_object_signal_emit(_EDJ(base), "elm,state,show,indicator", "elm");\r
+ elm_object_part_content_set(base, "elm.swallow.bg", ugd->bg);\r
+\r
+ return base;\r
+}\r
+\r
+static Evas_Object*\r
+_gallery_create_naviframe(Evas_Object* parent)\r
+{\r
+ gallery_retv_if(!parent, NULL);\r
+\r
+ Evas_Object *naviframe = NULL;\r
+ naviframe = elm_naviframe_add( parent );\r
+ elm_object_part_content_set( parent, "elm.swallow.content", naviframe );\r
+ evas_object_show(naviframe);\r
+\r
+ return naviframe;\r
+}\r
+\r
+static Evas_Object *_gallery_create_bg(Evas_Object *parent)\r
+{\r
+ Evas_Object *bg = elm_bg_add(parent);\r
+ evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);\r
+ elm_win_resize_object_add(parent, bg);\r
+ evas_object_show(bg);\r
+\r
+ return bg;\r
+}\r
+\r
+static void *\r
+_on_create(ui_gadget_h ug, enum ug_mode mode, service_h data, void *priv)\r
+{\r
+ gallery_retvm_if(!ug, NULL, "ug is NULL, check it !!");\r
+ gallery_retvm_if(!priv, NULL, "priv is NULL, check it !!");\r
+\r
+ Evas_Object *parent = NULL;\r
+ struct ug_data *ugd = NULL;\r
+\r
+ ugd = (struct ug_data *)priv;\r
+ ugd->ug = ug;\r
+\r
+ /* Bind text domain for internalization */\r
+ bindtextdomain("ug-setting-gallery-efl" , "/opt/ug/res/locale");\r
+\r
+ parent = (Evas_Object *)ug_get_parent_layout(ug);\r
+ gallery_retvm_if(parent == NULL, NULL, "parent layout is NULL");\r
+\r
+ ugd->bg = _gallery_create_bg(parent);\r
+\r
+ if (mode == UG_MODE_FULLVIEW)\r
+ {\r
+ ugd->main_layout = _gallery_create_fullview(parent, ugd);\r
+ }\r
+ else\r
+ {\r
+ ugd->main_layout = NULL;\r
+ }\r
+\r
+ if(ugd->main_layout)\r
+ {\r
+ ugd->naviframe = _gallery_create_naviframe(ugd->main_layout);\r
+ evas_object_data_set(ugd->naviframe, "ugd", ugd);\r
+ }\r
+\r
+ ugd->genlist = _gallery_genlist_items_add(ugd->naviframe,ugd);\r
+\r
+ evas_object_data_set(ugd->genlist, "ugd", ugd);\r
+\r
+ ugd->backbtn = elm_button_add(ugd->naviframe);\r
+ evas_object_smart_callback_add(ugd->backbtn, "clicked", _gallery_quit_cb, ugd);\r
+ elm_naviframe_item_push(ugd->naviframe, SGUG_TR_GALLERY, ugd->backbtn,\r
+ NULL, ugd->genlist, NULL);\r
+ elm_object_style_set(ugd->backbtn, "naviframe/end_btn/default");\r
+\r
+ evas_object_show(ugd->main_layout);\r
+\r
+ return ugd->main_layout;\r
+}\r
+\r
+static void\r
+_on_message(ui_gadget_h ug, service_h msg, service_h data, void *priv)\r
+{\r
+}\r
+\r
+static void\r
+_on_event(ui_gadget_h ug, enum ug_event event, service_h data, void *priv)\r
+{\r
+ //struct ug_data *ugd = (struct ug_data *)priv;\r
+\r
+ switch (event) {\r
+ case UG_EVENT_LOW_MEMORY:\r
+ break;\r
+ case UG_EVENT_LOW_BATTERY:\r
+ break;\r
+ case UG_EVENT_LANG_CHANGE:\r
+ break;\r
+ case UG_EVENT_ROTATE_PORTRAIT:\r
+ break;\r
+ case UG_EVENT_ROTATE_PORTRAIT_UPSIDEDOWN:\r
+ break;\r
+ case UG_EVENT_ROTATE_LANDSCAPE:\r
+ break;\r
+ case UG_EVENT_ROTATE_LANDSCAPE_UPSIDEDOWN:\r
+ break;\r
+ default:\r
+ break;\r
+ }\r
+}\r
+\r
+static void\r
+_on_start(ui_gadget_h ug, service_h data, void *priv)\r
+{\r
+}\r
+\r
+static void\r
+_on_pause(ui_gadget_h ug, service_h data, void *priv)\r
+{\r
+\r
+}\r
+\r
+static void\r
+_on_resume(ui_gadget_h ug, service_h data, void *priv)\r
+{\r
+\r
+}\r
+\r
+static void\r
+_on_destroy(ui_gadget_h ug, service_h data, void *priv)\r
+{\r
+ struct ug_data *ugd;\r
+\r
+ gallery_retm_if(!ug, "ug is NULL, check it !!");\r
+ gallery_retm_if(!priv, "priv is NULL, check it !!");\r
+\r
+ ugd = priv;\r
+ if(ugd->main_layout)\r
+ {\r
+ evas_object_del(ugd->main_layout);\r
+ ugd->main_layout = NULL;\r
+ }\r
+}\r
+\r
+static void\r
+_on_key_event(ui_gadget_h ug, enum ug_key_event event, service_h data, void *priv)\r
+{\r
+\r
+}\r
+\r
+UG_MODULE_API int\r
+UG_MODULE_INIT(struct ug_module_ops *ops)\r
+{\r
+ gallery_retvm_if(!ops, -1, "ops is NULL");\r
+\r
+ struct ug_data *ugd = NULL;\r
+ ugd = calloc(1, sizeof(struct ug_data));\r
+ gallery_retvm_if(!ugd, -1, "ugd is NULL");\r
+\r
+ ops->create = _on_create;\r
+ ops->start = _on_start;\r
+ ops->pause = _on_pause;\r
+ ops->resume = _on_resume;\r
+ ops->destroy = _on_destroy;\r
+ ops->message = _on_message;\r
+ ops->key_event = _on_key_event;\r
+ ops->event = _on_event;\r
+ ops->priv = ugd;\r
+ ops->opt = UG_OPT_INDICATOR_PORTRAIT_ONLY;\r
+\r
+ return 0;\r
+}\r
+\r
+UG_MODULE_API int setting_plugin_reset(service_h data, void *priv)\r
+{\r
+ gallery_info("Reset the settings start");\r
+\r
+ int ret = 0;\r
+ ret += gallery_key_set_current_time(DEFAULT_TIMER);\r
+ ret += gallery_key_set_repeat_state(DEFAULT_REPEAT);\r
+ ret += gallery_key_set_shuffle_state(DEFAULT_SHUFFLE);\r
+\r
+ gallery_info("Finished");\r
+\r
+ return ret;\r
+}\r
+\r
+UG_MODULE_API void\r
+UG_MODULE_EXIT(struct ug_module_ops *ops)\r
+{\r
+ gallery_retm_if(!ops, "ops is NULL");\r
+\r
+ struct ug_data *ugd;\r
+\r
+ ugd = ops->priv;\r
+ if (ugd)\r
+ {\r
+ free(ugd);\r
+ }\r
+}\r
+\r