5.000, // test 91
1.000, // test 92 (line)
10.000, // test 93 Image Blend Many Smooth Down Scaled
-
+
20.000, // MASK
20.000, // MASK 2
20.000, // MASK 3
static Eina_Position2D down;
static int down_menu_sel = 0;
+//FIXME: efl_input_pointer_button_get() doesn't work!
+static Eina_Bool mdown = EINA_FALSE;
+
static void
_ui_mouse_down(void *data EINA_UNUSED, const Efl_Event *event)
{
{
down = efl_input_pointer_position_get(ev);
down_menu_sel = menu_sel;
+ mdown = EINA_TRUE;
}
}
if ((((dx * dx) + (dy * dy)) < (20 * 20)) &&
(menu_sel == down_menu_sel))
_ui_select();
+ mdown = EINA_FALSE;
}
else
{
{
Efl_Input_Pointer *ev = event->info;
- if (efl_input_pointer_button_get(ev) != 1) return;
+ /* FIXME: This mdown should be replace with the original call
+ if (efl_input_pointer_button_get(ev) != 1) return; */
+ if (!mdown) return;
+
if (menu_active)
{
Evas_Coord x;