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

Created by Kenneth Yrke Jørgensen and last modified

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:
Merged

Recent revisions

1032. By Kenneth Yrke Jørgensen

Removed auto-comment

1031. By Kenneth Yrke Jørgensen

renamed functions to clearfy function

1030. By Kenneth Yrke Jørgensen

Moved quickdraw common code into a function

1029. By Kenneth Yrke Jørgensen

Refactored undo add to local function to clean up draw switch

1028. By Kenneth Yrke Jørgensen

Refactored adding to guimodel and view to a function

1027. By Kenneth Yrke Jørgensen

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

1026. By Kenneth Yrke Jørgensen

Reformatted switch and reorded cases

1025. By Kenneth Yrke Jørgensen

Removed redundant local variables

1024. By Kenneth Yrke Jørgensen

Refactored action on quickdraw to a common function

1023. By Kenneth Yrke Jørgensen

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.