~mantas/pinta/stable

« back to all changes in this revision

Viewing changes to Pinta.Core/Tools/PencilTool.cs

  • Committer: Iain Lane
  • Date: 2010-03-13 18:20:18 UTC
  • mfrom: (1.1.2)
  • Revision ID: git-v1:1781694a68ecf232d0110c0b2f3d4a1b96c74ec2
Merge commit 'upstream/0.2'

Conflicts:
        debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
namespace Pinta.Core
32
32
{
33
33
        public class PencilTool : BaseTool
34
 
        {
35
 
                private static Point point_empty = new Point (-500, -500);
36
 
                
 
34
        {               
37
35
                private Point last_point = point_empty;
38
36
                
39
37
                private ImageSurface undo_surface;
47
45
                public override string Name { get { return "Pencil"; } }
48
46
                public override string Icon { get { return "Tools.Pencil.png"; } }
49
47
                public override string StatusBarText { get { return "Left click to draw freeform, one-pixel wide lines with the primary color, right click to use the secondary color"; } }
50
 
                public override bool Enabled { get { return true; } }
51
48
                #endregion
52
49
 
53
50
                #region Mouse Handlers