Commit graph

33 commits

Author SHA1 Message Date
Robin
952e521805 BUG-2104: Fixed an initialization issue, and a problem with drawing. This should make the Speechbubble more stable! 2017-01-13 21:44:20 +01:00
Robin
0323705513 Merge remote-tracking branch 'remotes/origin/master' into release/1.2.9 2016-05-24 13:15:16 +02:00
Robin
45615275cf Made the re/undo code from the branch work in this, this is a manual copy as something went horribly wrong with the repository. Before building I first want to check if everything is there.[skip ci] 2016-05-24 12:48:11 +02:00
Robin
9702ac730f Fixed SpeechbubbleContainer 2016-05-23 23:34:17 +02:00
Robin
7872f2f7e4 Merge remote-tracking branch 'remotes/origin/feature/BUG-1887_removed_grippers'
# Conflicts:
#	Greenshot/Drawing/DrawableContainer.cs
#	Greenshot/Drawing/SpeechbubbleContainer.cs
2016-05-23 22:03:01 +02:00
Robin
9ab6bff116 Fixed serialization issues, and made sure the arrow / line have the right adorners. 2016-05-23 16:43:10 +02:00
Robin
31db071394 Trying to replace the Gripper (which is a Label/Control) with adorners (custom code). This should prevent the slow cleanup, reduce resources and speedup the editor. Also we should have better "UI" feedback. This is still very experimental. 2016-05-23 13:32:52 +02:00
Robin
d25021631e FEATURE-945: Added environment variables to the external command (also removed unused imports and made some variables readonly) 2016-05-20 23:43:31 +02:00
Robin
98e6be5eb6 Small cleanups [skip ci] 2016-04-17 23:32:22 +02:00
jklingen
e409392f32 Revert "Revert "Removed most references to SF"" 2016-03-24 23:04:47 +01:00
jklingen
2599ff5b7c Revert "Removed most references to SF" 2016-03-24 22:54:16 +01:00
Robin
fe176a2da4 Removed most references to Sourceforge, need to check with a file-searcher if something is left. P.S. The help files still have references... 2016-03-23 16:54:57 +01:00
RKrom
100ad04059 Fix the invalidate rectangle size, which causes graphics artifacts when moving it around. 2014-12-04 17:06:34 +01:00
RKrom
2797c076b4 Improvement which makes selecting the SpeechBubble easier. 2014-12-03 13:54:05 +01:00
RKrom
018324d4c4 BUG-1709: Suggestion for StringAlignment conversion issue. 2014-12-02 16:51:07 +01:00
RKrom
469cfff275 BUG-1682: Keep the target gripper inside the surface 2014-12-01 21:52:46 +01:00
RKrom
bba978c209 BUG-1711: Fix for a stacktrace, as something was accessed before it was drawn. 2014-12-01 17:21:01 +01:00
RKrom
823d85ecdd BUG-1687: Added shadow back to the SpeechbubbleContainer 2014-11-30 21:34:40 +01:00
RKrom
49193644a8 BUG-1682: This fixes the tail location while drawing, and also reduces the drawing bounds to that which it should be. (includes a few cleanups) 2014-11-30 18:18:33 +01:00
RKrom
a289a256fc BUG-1687: For now I disabled the shadow icon, there hasn't been anything implemented for the shadow. Need to consider if there is an easy way to create this. 2014-11-17 22:43:35 +01:00
RKrom
9a6a3e6a90 Revert "commented outdated implementations of ClickableAt(int, int) and Contains(int, int)"
This reverts commit 86d99a5a0d.
The commit caused the TextContainer not to be normally selectable.
2014-11-04 11:55:20 +01:00
JKlingen
86d99a5a0d commented outdated implementations of ClickableAt(int, int) and Contains(int, int) 2014-10-22 22:20:01 +02:00
JKlingen
825bc4b7f4 BUG-1681 (2) text color is now the same as border color 2014-10-22 22:00:00 +02:00
JKlingen
dfd5e2de19 BUG-1681 (3) avoid bad rendering of rounded corners which occurred due to calculation error when determining border radius 2014-10-22 21:53:15 +02:00
RKrom
fb993c2238 Fixed serialization issues with the StepLabelContainer and the SpeechbubbleContainer, they should now be in the correct shape/location when loading from the .greenshot file. 2014-06-12 13:43:20 +02:00
RKrom
efb4807cd1 Small fixes for serialization and the enumerator, still didn't fix the counting 2014-06-11 17:55:51 +02:00
RKrom
4b8ec88aaf Disposing matrix in the new code, otherwise it would cause memory leaks 2014-06-02 10:25:47 +02:00
JKlingen
9d668f5226 speech bubbles: adapt corner radius to small rectangle dimensions 2014-05-31 23:31:54 +02:00
RKrom
db8b2cb2c5 Improved the drawing of the speechbubble, now one can resize it "the wrong way" and it is still drawn correctly. Made the counting labels to appear directly centered to the mouse, this simplifies placing them. Also removed the possibility to resize them. Fixed a bug where the tool-buttons were not being disabled, if another tool is selected or ESC is pressed. 2014-05-30 10:11:51 +02:00
RKrom
b37ed3562d Added icons for the new tools, also changed some of the logic so it is possible to show the number of the next "label" in the tool button. 2014-05-28 09:35:08 +02:00
RKrom
9c72521738 Design changes, the bubble is now drawn as a rounded rectangle. 2014-05-27 17:18:27 +02:00
RKrom
aa5893fc77 Fixed the target-gripper logic (needed for the speech bubble) and made the drawing of Rectangles / Ellipses possible without extending the container (making it possible to use different shapes depending on a variable). The new containers (SpeechBubble & StepLabel) are mostly working with this change, default colors/sizes should be decided upon and translations/icons are still missing. There is one bug with the Speechbubble when resizing (right before left, bottom before top), should not be a show-stopper but needs lookin into. 2014-05-27 12:44:01 +02:00
RKrom
ff3f898f54 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. 2014-05-23 15:49:14 +02:00