As 2.x takes longer as planned, I added the SpeechbubbleContainer and StepLabelContainer (Enumerable label) to the 1.2 branch. This code was stored somewhere on my hard-drive, is still experimental.

This commit is contained in:
RKrom 2014-05-23 15:49:14 +02:00
commit ff3f898f54
21 changed files with 648 additions and 166 deletions

View file

@ -391,6 +391,12 @@ namespace Greenshot {
case DrawingModes.Text:
SetButtonChecked(btnText);
break;
case DrawingModes.SpeechBubble:
SetButtonChecked(btnSpeechBubble);
break;
case DrawingModes.StepLabel:
SetButtonChecked(btnStepLabel);
break;
case DrawingModes.Line:
SetButtonChecked(btnLine);
break;
@ -480,7 +486,16 @@ namespace Greenshot {
surface.DrawingMode = DrawingModes.Text;
refreshFieldControls();
}
void BtnSpeechBubbleClick(object sender, EventArgs e) {
surface.DrawingMode = DrawingModes.SpeechBubble;
refreshFieldControls();
}
void BtnStepLabelClick(object sender, EventArgs e) {
surface.DrawingMode = DrawingModes.StepLabel;
refreshFieldControls();
}
void BtnLineClick(object sender, EventArgs e) {
surface.DrawingMode = DrawingModes.Line;
refreshFieldControls();