private bool Child_WheelEvent(object source, View.WheelEventArgs e)
 {
     if (++cnt % (NUMBER_OF_VIEW * 3) == 1)
     {
         tlog.Fatal(tag, $"Child_WheelEvent() called!");
     }
     return(true);
 }
Exemplo n.º 2
0
        private bool Filter_WheelEvent(object source, View.WheelEventArgs e)
        {
            tlog.Fatal(tag, $"Filter_WheelEvent()");

            if (e.Wheel.Type == Wheel.WheelType.CustomWheel)
            {
                tlog.Fatal(tag, $"z: {e.Wheel.Z}");
            }
            return(true);
        }
Exemplo n.º 3
0
 private bool Child2_DetentEvent2(object sender, View.WheelEventArgs e)
 {
     tlog.Fatal(tag, $"Child2_DetentEvent2() direction={e.Wheel.Direction} timestamp={e.Wheel.TimeStamp}");
     if (sender is TextLabel)
     {
         var me = sender as TextLabel;
         me.Text      = "child2 pos x=" + me.PositionX;
         me.MultiLine = true;
     }
     return(true);
 }
Exemplo n.º 4
0
 private bool OnWheelEvent(object sender, View.WheelEventArgs e)
 {
     if (e.Wheel.Type == Wheel.WheelType.CustomWheel)
     {
         if (e.Wheel.Direction == 1)
         {
             homeMain.Next();
         }
         else if (e.Wheel.Direction == -1)
         {
             homeMain.Prev();
         }
     }
     return(false);
 }
Exemplo n.º 5
0
 private bool Child2_DetentEvent(object sender, View.WheelEventArgs e)
 {
     tlog.Fatal(tag, $"Child2_DetentEvent() direction={e.Wheel.Direction} timestamp={e.Wheel.TimeStamp}");
     if (sender is TextLabel)
     {
         var me = sender as TextLabel;
         if (e.Wheel.Direction == 1)
         {
             me.PositionX += 10;
         }
         else if (e.Wheel.Direction == -1)
         {
             me.PositionX -= 10;
         }
     }
     return(true);
 }
Exemplo n.º 6
0
 private bool OnWheelEvent(object source, View.WheelEventArgs e)
 {
     return(true);
 }
Exemplo n.º 7
0
 private bool Onwheel(object source, View.WheelEventArgs e)
 {
     Tizen.Log.Debug("NUI", "View Wheel EVENT callback....");
     return(true);
 }