Ticket #1634: mythgesture.h.patch

File mythgesture.h.patch, 773 bytes (added by anonymous, 14 years ago)
  • mythgesture.h

    old new  
    6565        LeftThenDown,
    6666        RightThenUp,
    6767        RightThenDown,
     68        ClockWise,
     69        CounterClockWise,
     70        StepUp,
     71        StepDown,
     72        DoubleStepUp,
     73        DoubleStepDown,
     74        Z,
    6875
    6976        /* A click */
    7077        Click,
    7178
    7279        /* This isn't real */
    73         MaxGesture
     80        WrongGesture
    7481    };
    7582
    7683    /**
     
    8087     */
    8188    inline MythGestureEvent(size_t gesture):QCustomEvent(MythGestureEventType)
    8289    {
    83         (gesture >= MaxGesture) ? _gesture = MaxGesture : _gesture = gesture;
     90        (gesture >= WrongGesture) ? _gesture = WrongGesture : _gesture = gesture;
    8491    }
    8592
    8693    /**