lp:~yrke/tapaal/cleanup-drawingsurface-mouseEvents

Created by Kenneth Yrke Jørgensen on 2019-06-13 and last modified on 2019-06-15

Changes

 - refactored drawing actions in drawingsurface (canvas)
 - factored quick draw into a function
 - reorderd arcpath points code
 - zoom and grid calculations
 - annotations now snaps to grid

Tests
  - drawing arcpath points when creating new arc (all arc types)
  - quick draw
  - drawing places, transition, and annotations
  - test grid snap works
  - test drawing works on all diferent zoom levels

Get this branch:
bzr branch lp:~yrke/tapaal/cleanup-drawingsurface-mouseEvents
Only Kenneth Yrke Jørgensen can upload to this branch. If you are Kenneth Yrke Jørgensen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kenneth Yrke Jørgensen
Project:
TAPAAL
Status:
Mature

Recent revisions

1032. By Kenneth Yrke Jørgensen on 2019-06-13

Removed auto-comment

1031. By Kenneth Yrke Jørgensen on 2019-06-13

renamed functions to clearfy function

1030. By Kenneth Yrke Jørgensen on 2019-06-13

Moved quickdraw common code into a function

1029. By Kenneth Yrke Jørgensen on 2019-06-13

Refactored undo add to local function to clean up draw switch

1028. By Kenneth Yrke Jørgensen on 2019-06-13

Refactored adding to guimodel and view to a function

1027. By Kenneth Yrke Jørgensen on 2019-06-13

Zoom and Grid adjust now handles by one function, annotation now snaps to grid

1026. By Kenneth Yrke Jørgensen on 2019-06-13

Reformatted switch and reorded cases

1025. By Kenneth Yrke Jørgensen on 2019-06-13

Removed redundant local variables

1024. By Kenneth Yrke Jørgensen on 2019-06-13

Refactored action on quickdraw to a common function

1023. By Kenneth Yrke Jørgensen on 2019-06-13

reorded arcpathpoint draw for tansport and inhubarc, removed unneded function for new place

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:tapaal
This branch contains Public information 
Everyone can see this information.