diff options
author | Lukasz Stanislawski <l.stanislaws@samsung.com> | 2016-01-29 17:52:15 +0100 |
---|---|---|
committer | Michal Pawluk <m.pawluk@samsung.com> | 2016-01-31 08:54:20 -0800 |
commit | d4d17a9b2d2c0cf2ea6545e953221da9e189e4d5 (patch) | |
tree | a8307cb6f62acd8ccecf8ace95dfd29e281034e9 /inc | |
parent | 37b421d97f5db70c74209d09df7df7a16c3282b5 (diff) | |
download | indicator-win-d4d17a9b2d2c0cf2ea6545e953221da9e189e4d5.tar.gz indicator-win-d4d17a9b2d2c0cf2ea6545e953221da9e189e4d5.tar.bz2 indicator-win-d4d17a9b2d2c0cf2ea6545e953221da9e189e4d5.zip |
further repo reorganization for Tizen 3.0 SDK.
Removed desktop, shell and xml templates as they seems useless in sdk.
Move all headers to inc dir.
Change-Id: I7002c8acf4b03b795e997d0f3b9068795298270e
Diffstat (limited to 'inc')
-rw-r--r-- | inc/indicator_gui.h | 93 | ||||
-rw-r--r-- | inc/modules.h | 43 |
2 files changed, 136 insertions, 0 deletions
diff --git a/inc/indicator_gui.h b/inc/indicator_gui.h new file mode 100644 index 0000000..173a946 --- /dev/null +++ b/inc/indicator_gui.h @@ -0,0 +1,93 @@ +/* + * Indicator + * + * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 + * + * 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 __INDICATOR_GUI_H__ +#define __INDICATOR_GUI_H__ + +/* DISPLAY */ +#define INDICATOR_HEIGHT 36 +#define INDICATOR_SIMPLE_HEIGHT 20 +#define ICON_PADDING 3 + +#define PADDING_WIDTH 10 +#define LEFT_PADDING_WIDTH 3 +#define RIGHT_PADDING_WIDTH 6 +#define INDICATOR_PADDING_H 4 + + +#define CLOCK_WIDTH_1 110 +#define CLOCK_WIDTH_2 120 + +#define CLOCK_HEIGHT 34 +#define CLOCK_PADDING 10 + +#define DEFAULT_ICON_PADDING 3 +#define NOTI_ICON_PADDING 2 + +#define DEFAULT_ICON_HEIGHT 31 +#define DEFAULT_ICON_WIDTH 31 +#define BATTERY_ICON_WIDTH 31 +#define BATTERY_ICON_HEIGHT 31 +#define FIXED4_ICON_HEIGHT 31 +#define FIXED4_ICON_WIDTH 31 + +#define BATTERY_DIGIT_WIDTH 8 +#define BATTERY_DIGIT_HEIGHT 12 + +#define MESSAGE_PADDING 10 + +#define NONFIXED_DEFAULT_PADDING 25 +#define NONFIXED_DYNAMIC_PADDING 11 +#define FIXED4_DYNAMIC_PADDING 0 +#define FIXED2_PADDING 2 +#define FIXED1_PADDING 72 +#define FIXED0_PADDING 72 +#define LANDSCAPE_FIXED1_PADDING 122 +#define LANDSCAPE_FIXED0_PADDING 122 + +#define HOME_PADDING_PORTRAIT 50 +#define HOME_PADDING_LANDSCAPE 50 +#define DEFAULT_NON_FIXED_PADDING 0 + +#define INDI_DEFAULT_BG_COLOR 30 30 30 255 +#define INDI_DEFAULT_BG_TRANSLUCENT 0 0 0 125 +#define INDI_DEFAULT_BG_TRANSPARENT 0 0 0 0 +#define INDI_DEFAULT_BG_TEST 255 0 0 150 + + +/* FONT */ +#define ICON_FONT_NAME "Tizen" +#define ICON_FONT_STYLE "Medium" +#define ICON_FONT_SIZE 20 +#define FONT_COLOR 255, 255, 255, 255 + +#define INDICATOR_HIDE_TRIGER_H 30 + +#define DOWN_ANI_TIMER 0.3 + +#define INDICATOR_ICON_OPACITY 204 //80% + +#define DEFAULT_LABEL_STRING "<font_size=%d><color=#%02x%02x%02x%02x>%s</color></font_size>" +#define CUSTOM_LABEL_STRING "<font=%s><style=%s><font_size=%d>%s</font_size></style></font>" + +#ifndef _INDICATOR_REMOVE_SEARCH +#define _INDICATOR_REMOVE_SEARCH +#endif +#endif /*__INDICATOR_GUI_H__*/ diff --git a/inc/modules.h b/inc/modules.h new file mode 100644 index 0000000..4fafc78 --- /dev/null +++ b/inc/modules.h @@ -0,0 +1,43 @@ +/* + * Indicator + * + * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved. + * + * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0 + * + * 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 __INDICATOR_MODULES_H__ +#define __INDICATOR_MODULES_H__ + +#include <Ecore.h> + +#include "main.h" +#include "list.h" + +#define TIMER_STOP ECORE_CALLBACK_CANCEL +#define TIMER_CONTINUE ECORE_CALLBACK_RENEW + +extern void modules_init(void *data); +extern void modules_fini(void *data); +extern void modules_lang_changed(void *data); +extern void modules_region_changed(void *data); +extern void modules_minictrl_control(int action, const char* name, void *data); +extern void modules_wake_up(void *data); +extern void modules_init_first(void *data); + +#ifdef _SUPPORT_SCREEN_READER +extern void modules_register_tts(void *data); +#endif +#endif |