Like the this project: https://ask.embedded-wizard.de/9206/a-specific-gui-use-case
At my project have 2 page: MainPage and DoubleFingerSlidePage. MainPage will been default show when screen power ON, DoubleFingerSlidePage have 2 list that been control by 2 finger slide. When double finger slide at MainPage, EW will PresentDialog the DoubleFingerSlidePage
MainPage is been divided to left area and right area, if SlideTouchHandler.HittingPos at left area, DoubleFingerSlidePage will show List1. if SlideTouchHandler.HittingPos at right area, DoubleFingerSlidePage will show List2.
I have many widgets such as buttons and sliders( use SimpleTouchHandler ) integrated into the MainDialog. So if two fingers touch the screen one after another, it will often come to the case that the first finger touches a widget, and the second touches elsewhere, which may be MainPage or another widget. In this case, recognition of 2 finger slide is also required.
To overcome the difficulty, I introduced a signal counting the finger number on the screen from the touch driver. My idea was to have the event that the finger number increases from 1 to 2 trigger Presenting the Dialog.
For this way, when two finger touch at MainPage, the DoubleFingerSlidePage will been PresenDialog Immediately. But if One of the two finger touch a widget, the widget function will been trigger before PresenDialog DoubleFingerSlidePage. The widget function been trigger isn't we want to see.
How to Avoid The widget function been trigger?