1. 24 Apr, 2010 5 commits
  2. 10 Apr, 2010 1 commit
  3. 08 Apr, 2010 1 commit
  4. 05 Apr, 2010 5 commits
    • Stefan Majewsky's avatar
      Rewrite the ConstraintVisualizer yet again. · 1052758a
      Stefan Majewsky authored
      The interactive parts become an Interactor, and the visual changes in
      the last iteration are mostly reverted. The handles are simple rect
      items again, and now they are always visible to improve the
      discoverability of this feature.
      This commit also solves a long-standing bug: Sometimes, when enlarging
      the scene rect beyond the view's boundaries, its size increased much
      more than wanted. This is now gone.
      svn path=/trunk/KDE/kdegames/palapeli/; revision=1111398
    • Stefan Majewsky's avatar
      Rewrite InteractorManager and Interactor. · aca78ca4
      Stefan Majewsky authored
      The new version clearly separates the triggering logic from the
      interaction logic. The new algorithms prioritize triggers that have been
      active in related previous events, and allows to handle events with
      multiple interactors at once (e.g., it is possible again to move the
      viewport with the right button while one is dragging a piece with the
      left button). Also, multiple triggers can now be assigned to one
      The rewrite temporarily sacrifices the possibility to load different
      trigger setups from the config, but only to bring it back in a much
      better fashion.
      There is one known bug: Mouse interaction with the constraint visualizer
      is not possible ATM, because the Interactors are filtering mouse events
      quite aggressively lately.
      svn path=/trunk/KDE/kdegames/palapeli/; revision=1111390
    • Stefan Majewsky's avatar
      Sort out the selection/moving issues by not using QGV convenience. · c7109329
      Stefan Majewsky authored
      Only the pixmap inside Piece is selectable now, and a new
      MovePieceInteractor handles moving and selecting of pieces.
      svn path=/trunk/KDE/kdegames/palapeli/; revision=1111388
    • Stefan Majewsky's avatar
      Let the RubberBandInteractor pick up mousemove events only if rubberbanding is in progress. · 14aed02d
      Stefan Majewsky authored
      This fixes some weird activation bugs when the mouse is moving fast.
      svn path=/trunk/KDE/kdegames/palapeli/; revision=1111381
    • Stefan Majewsky's avatar
      Allow scene changes in the Interactor classes. · 1d953c44
      Stefan Majewsky authored
      svn path=/trunk/KDE/kdegames/palapeli/; revision=1111377
  5. 03 Apr, 2010 1 commit