#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC 249 249 249 255
#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#F9F9F9"
-#define POPUP_DIM_BG_COLOR 0 0 0 125
+#define POPUP_DIM_BG_COLOR_INC 0 0 0 125
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 175
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 71 82 87 255
#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 249 249 249 255
#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC 249 249 249 255
#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#F9F9F9"
-#define POPUP_DIM_BG_COLOR 0 0 0 125
+#define POPUP_DIM_BG_COLOR_INC 0 0 0 125
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 0 0 0 175
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 71 82 87 255
#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 249 249 249 255
#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC 255 255 255 255
#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000"
-#define POPUP_DIM_BG_COLOR 61 59 56 204
+#define POPUP_DIM_BG_COLOR_INC 61 59 56 204
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 61 59 56 250
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 199 199 199 255
#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 0 0 0 255
#define POPUP_DEFAULT_TITLE_TEXT_COLOR_INC 255 255 255 255
#define POPUP_DEFAULT_DESCRIPTION_TEXT_COLOR_INC "#000000"
-#define POPUP_DIM_BG_COLOR 61 59 56 204
+#define POPUP_DIM_BG_COLOR_INC 61 59 56 204
+#define POPUP_DIM_BG_CLICKED_COLOR_INC 61 59 56 250
+#define POPUP_DIM_BG_TRANS_COLOR_INC 0 0 0 0
+#define POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC 0 0 0 50
#define POPUP_CUSTOMSTYLE_TITLE_BOTTOM_LINE_COLOR_INC 199 199 199 255
#define POPUP_CUSTOMSTYLE_TITLE_TEXT_COLOR_INC 0 0 0 255
mouse_events: 1;
repeat_events: 0;
description { state: "default" 0.0;
- color: POPUP_DIM_BG_COLOR;
+ color: POPUP_DIM_BG_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: POPUP_DIM_BG_CLICKED_COLOR_INC;
}
}
}
signal: "mouse,clicked,1";
source: "block_events";
action: SIGNAL_EMIT "elm,action,clicked" "elm";
+ after: "deeper_block_color";
+ }
+ program {
+ name: "deeper_block_color";
+ signal: "elm,state,block_events,clicked";
+ action: STATE_SET "clicked" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ after: "default_block_color";
+ }
+ program {
+ name: "default_block_color";
+ signal: "elm,state,block_events,default";
+ action: STATE_SET "default" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
}
}
}
mouse_events: 1;
repeat_events: 0;
description { state: "default" 0.0;
- color: 0 0 0 0;
+ color: POPUP_DIM_BG_TRANS_COLOR_INC;
+ }
+ description { state: "clicked" 0.0;
+ color: POPUP_DIM_BG_CLICKED_TRANS_COLOR_INC;
}
}
}
signal: "mouse,clicked,1";
source: "block_events";
action: SIGNAL_EMIT "elm,action,clicked" "elm";
+ after: "deeper_block_color";
+ }
+ program {
+ name: "deeper_block_color";
+ signal: "elm,state,block_events,clicked";
+ action: STATE_SET "clicked" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
+ after: "default_block_color";
+ }
+ program {
+ name: "default_block_color";
+ signal: "elm,state,block_events,default";
+ action: STATE_SET "default" 0.0;
+ target: "block_events";
+ transition: LINEAR 0.2;
}
}
}