elm_hover.c: adopted new signal macro before adding a new callback.

This commit is contained in:
Daniel Juyung Seo 2013-09-21 19:20:52 +09:00
parent d5d93d0597
commit 9dc431462e
1 changed files with 7 additions and 4 deletions

View File

@ -44,11 +44,14 @@ const Elm_Layout_Part_Alias_Description _content_aliases[] =
{NULL, NULL}
};
static const char SIG_CLICKED[] = "clicked";
static const char SIG_SMART_LOCATION_CHANGED[] = "smart,changed";
#define ELM_PRIV_HOVER_SIGNALS(cmd) \
cmd(SIG_CLICKED, "clicked", "") \
cmd(SIG_SMART_LOCATION_CHANGED, "smart,changed", "")
ELM_PRIV_HOVER_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE);
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
{SIG_CLICKED, ""},
{SIG_SMART_LOCATION_CHANGED, ""},
ELM_PRIV_HOVER_SIGNALS(ELM_PRIV_SMART_CALLBACKS_DESC)
{"focused", ""}, /**< handled by elm_widget */
{"unfocused", ""}, /**< handled by elm_widget */
{NULL, NULL}