Commit graph

37 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
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
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
52f56d7be5 Added scaling for the image container 2014-06-02 10:52:33 +02:00
RKrom
621cc7fd0c Removed "rotate" leftovers. Also implemented transform in the ImageContainer, be aware: scaling will probably cause artefakts if we "undo"... 2014-06-02 10:27:58 +02:00
RKrom
a5a5b92b10 Removed the DrawableContainer "rotate" method, is wasn't used and besides the Transform method is way more elegant! 2014-06-02 09:13:43 +02:00
RKrom
d731d151c8 Made transformations work for most elements. 2014-06-01 22:16:39 +02:00
RKrom
aced477cef Made resize work, cleaned up code so it should be easier to port the changes to 2.x 2014-06-01 20:25:52 +02:00
RKrom
c19564b6e3 Fixed rotating elements which are just rectangles, like the enum-label. 2014-05-31 23:40:18 +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
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
RKrom
77a92d98c3 Code quality changes, and added the possibility to set the amount of colors for the Quantizer. 2014-05-11 16:31:04 +02:00
RKrom
ac08533727 Code quality fixes (NullReference checks, unused variables etc) 2014-04-26 00:34:06 +02:00
JKlingen
8c4eef8e2b Updated copyright notice for 2014 2014-01-08 21:30:56 +01:00
JKlingen
077185a529 added temporary bug fix for magnifier filter being repainted wrong when drawing another element above
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2564 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-04-14 20:09:29 +00:00
RKrom
7a4ac7e4f9 Code fixes, there was an error in the disposing of a DrawableContainer...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2536 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-26 16:40:25 +00:00
RKrom
005c3c39af Fixed [#1469] by checking if there are grippers.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2517 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-06 19:32:05 +00:00
RKrom
1057d5f23a Fixed [#1469] by checking if there are grippers.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2516 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-03-06 19:31:07 +00:00
JKlingen
7d36803fbe fixed NullReference when cancelling print destination (has been trying to dispose grippers that did not exist)
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2493 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-17 09:26:21 +00:00
RKrom
a394904aa3 First code analysis changes, this "should" make Greenshot more stable and implement things as is supposed.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2481 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-12 18:43:56 +00:00
RKrom
3cd141eb77 Added a sensibility property so the Freehand drawing can also be used with a pen. This is for the reported bug [#1454]
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2461 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-02-05 12:57:24 +00:00
JKlingen
c777878bd7 updated copyright notice for 2013
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2436 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2013-01-20 20:18:49 +00:00
RKrom
f9abcac063 Fixed some interface usage, also cleanup of the surface & editor code. This should theoretically allow usage of home made IDrawableContainer objects, which plug-ins supply.
Also made it possible to reuse the editor, currently only available editors which have a non modified surface can be reused. And only than if the configuration is set to do so.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2100 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-09-26 16:57:16 +00:00
RKrom
a506c15d18 Removed Freehand rotate, didn't get it working and changed the resx files from Version 4 to 2 as this causes problems in Visual C# Express 2010
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1743 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-04-02 17:09:45 +00:00
RKrom
5f9deb2f06 Refactoring the interop code to a separate project. Still need to add the interop DLL to the final exe... or maybe I want to use references inside the projects...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1690 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-06 17:45:50 +00:00
RKrom
0bb7f87ee5 Fixed rotate, also working on the BitmapContainer
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1680 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-03-05 16:01:46 +00:00
RKrom
0f65452e6c Fixed Copyright to 2012
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1653 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-13 09:06:09 +00:00
RKrom
dede5cf292 Fixed and optimized some drawing routines, still didn't find a solution for shadowing when target format has transparency.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1648 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-10 11:55:21 +00:00
RKrom
08d56090c4 Changes to make the context menu work on multiple items
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1629 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-03 12:53:12 +00:00
RKrom
0398e831db Fixed TextContainer resize, by making the ApplyBounds virtual and overriding it in the TextContainer
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1628 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-02-03 12:00:06 +00:00
RKrom
8d458998a1 Moving back to trunk!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1602 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2012-01-24 19:24:36 +00:00
RKrom
f3b0878b02 "Merged" 0.8 with HEAD, so we can continue developing
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1282 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2011-07-17 12:05:59 +00:00
JKlingen
019b482195 refactoring: GreenshotCore/GreenshotEditor
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@731 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2010-07-27 20:18:52 +00:00
JKlingen
01d843e8cf refactoring: moved interfaces from GreenshotPlugin to GreenshotCore
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@704 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2010-07-25 18:20:18 +00:00
JKlingen
a22b7578bd moved all sources to trunk directory
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@693 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
2010-07-25 08:48:59 +00:00