From 879eaafaba8b6d1ae2d618022079ce86ff8bf526 Mon Sep 17 00:00:00 2001 From: olpc Date: Sun, 30 Nov 2008 16:44:49 +0000 Subject: Added brush preview to toolbar. --- (limited to 'src') diff --git a/src/canvas.h b/src/canvas.h index 78ff6ca..4ed288c 100644 --- a/src/canvas.h +++ b/src/canvas.h @@ -342,6 +342,15 @@ public: control = 0; opacity = 1.0f; } + + Brush(const Brush& a) + { + type = a.type; + color = a.color; + size = a.size; + control = a.control; + opacity = a.opacity; + } }; // The canvas represents the current state of the user's painting. It maintains both the pixels representing the -- cgit v0.9.1