Commit graph

13 commits

Author SHA1 Message Date
RKrom
15253ef295 Code cleanup, removed a lot of FxCop messages and added some more disposing. 2014-06-15 11:53:38 +02:00
RKrom
08216b09c0 Code quality changes for stability and reduced memory usage. 2014-06-13 12:18:59 +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
87406d90da Fixed issues with the enum label losing it's number, fixed this... almost. Do not change the z-Order of the label. 2014-06-11 23:27:13 +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
5a96d6f3eb Fix for size calculations, an exception occured when the size is negative. 2014-06-03 12:42:01 +02:00
RKrom
e75925018b Modified the enumeration to resize the font, depending on the size. Also made sure the suspend/resume layout is called when transforming containers. 2014-06-02 15:25:50 +02:00
RKrom
34e0457edb The enumerator now has its grippers again. 2014-06-02 09:12:35 +02:00
RKrom
18d8d63180 StepLabel (Dingsbums) fine-tuning, changed the mouse-move behavior to move the element instead of resizing it. Also changed the font, made it bold so it's more clearly readable and than a bit smaller to better fit the container. 2014-05-30 14:27:47 +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
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