[TD] Rewrite balloon placing method

When clicking on balloon command, cursor is changing to balloon cursor.
It means user is ready to place a balloon (anywhere on the page).
Balloon object is not created until user click somewhere.

Balloon command can be aborted pressing escape or when page view lost
focus (in other words, when user clic somewhere else than the page).
This commit is contained in:
Franck Jullien
2019-05-19 14:19:00 +02:00
committed by WandererFan
parent 977272e4d4
commit 79f8d4a7cd
8 changed files with 125 additions and 118 deletions

View File

@@ -104,6 +104,7 @@ DrawPage::DrawPage(void)
Scale.setConstraints(&scaleRange);
double defScale = hGrp->GetFloat("DefaultScale",1.0);
Scale.setValue(defScale);
balloonPlacing = false;
}
DrawPage::~DrawPage()