booo. efl_input_pointer_mouse_get() doesn't work.
This is a temporary fix for expedite working back.
Change-Id: I8edd59dfbbf0f425efe9c8b45f09be2fc50e8567
5.000, // test 91
1.000, // test 92 (line)
10.000, // test 93 Image Blend Many Smooth Down Scaled
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
20.000, // MASK
20.000, // MASK 2
20.000, // MASK 3
static Eina_Position2D down;
static int down_menu_sel = 0;
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)
{
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;
{
down = efl_input_pointer_position_get(ev);
down_menu_sel = menu_sel;
if ((((dx * dx) + (dy * dy)) < (20 * 20)) &&
(menu_sel == down_menu_sel))
_ui_select();
if ((((dx * dx) + (dy * dy)) < (20 * 20)) &&
(menu_sel == down_menu_sel))
_ui_select();
{
Efl_Input_Pointer *ev = event->info;
{
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;
if (menu_active)
{
Evas_Coord x;