• Dmitry Kazakov's avatar
    Ported the Transform Tool onto primary/secondary actions framework · 58d33ff7
    Dmitry Kazakov authored
    Transform tool was the last tool not ported and filtering events directly.
    Now it also uses the predefined actions. The resulting architecture doesn't
    seem to be ideal, and looks a bit complicated with lots of methods calling
    each other and forwarding 9 methods for every strategy. Probably, we should
    use some boost::function-based action assignment here. Then we will be able
    to map/remaps actions quite easily.
    
    This patch implements shift-gesture action and ctrl-base inversion for the
    transformation tool. Right not it is almost ready for usage. The only thing
    left is "build-up vs wash mode" switch (if needed) and better UI.
    
    CCMAIL:kimageshop@kde.org
    58d33ff7
kis_perspective_transform_strategy.cpp 17.9 KB