PROJECT(windicator C)
SET(SRCS
-- src/windicator.c
++ src/windicator.c
src/windicator_util.c
src/windicator_moment_bar.c
src/windicator_moment_view.c
src/windicator_brightness.c
-- src/windicator_connection.c
++ src/windicator_connection.c
src/windicator_volume.c
src/windicator_dynamic.c
src/windicator_call_fwd_btn.c
INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED elementary ecore-imf appcore-common appcore-efl
dlog glib-2.0 evas eina edje vconf elementary sensor
- ecore ecore-input ecore-evas capi-appfw-application capi-appfw-widget-application
+ ecore ecore-input ecore-evas capi-appfw-preference
+ capi-appfw-app-control capi-appfw-application
feedback appsvc deviced capi-system-device capi-system-info
-- capi-media-sound-manager efl-extension capi-system-system-settings
- capi-ui-efl-util aul pkgmgr pkgmgr-info tzsh-quickpanel-service
- capi-ui-efl-util aul pkgmgr pkgmgr-info tzsh-quickpanel-service tzsh-quickpanel
++ capi-media-sound-manager efl-extension capi-system-system-settings
++ capi-ui-efl-util aul pkgmgr pkgmgr-info tzsh-quickpanel-service tzsh-quickpanel
)
#??
#include <device/power.h>
#include <feedback.h>
#include <efl_util.h>
--#include "tzsh_quickpanel_service.h"
-#include "tzsh_quickpanel.h"
++#include <tzsh_quickpanel_service.h>
++#include <tzsh_quickpanel.h>
+ #include <widget_app.h>
#if !defined(PACKAGE)
# define PACKAGE "windicator"
BuildRequires: gettext-tools
BuildRequires: edje-bin, embryo-bin
BuildRequires: pkgconfig(tzsh-quickpanel-service)
+ BuildRequires: pkgconfig(tzsh-quickpanel)
++
%description
Notification panel for wearable devices
void create_moments_bar_win(void *user_data)
{
struct appdata *ad = (struct appdata *)user_data;
- elm_config_preferred_engine_set("opengl_x11");
+ //elm_config_preferred_engine_set("opengl_x11");
_init_variables(ad);
++
+ #ifndef __W_HOME_WIDGET__
tzsh_quickpanel_service_h qp_service;
+ tzsh_quickpanel_h qp;
tzsh_region_h region;
tzsh_window tz_win;
tzsh_h tzsh = NULL;
_E("Failed to create tzsh\n");
return;
}
+
+ #endif
+
/* initialize Moment Bar */
if (WINDICATOR_ERROR_OK != windicator_moment_bar_init(ad)) {
_E("Failed to initialize moment bar");
return;
}
qp_service = tzsh_quickpanel_service_create(tzsh, tz_win);
++
+ qp = tzsh_quickpanel_create(tzsh, tz_win);
ad->qp_service = qp_service;
+ ad->qp = qp;
+ _D("ad->qp : %x", ad->qp);
++
tzsh_quickpanel_service_effect_type_set(qp_service, TZSH_QUICKPANEL_SERVICE_EFFECT_TYPE_MOVE);
region = tzsh_region_create(tzsh);
tzsh_region_add(region, 0, 300, 360, 60);