From 43c133cfe495ac03683adb52cf77ed679be7b5e6 Mon Sep 17 00:00:00 2001 From: Dennis Kasprzyk Date: Tue, 14 Oct 2008 16:57:49 +0200 Subject: Made CompIcon derive from CompSize. --- src/icon.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/icon.cpp') diff --git a/src/icon.cpp b/src/icon.cpp index aa17e35..0a8146b 100644 --- a/src/icon.cpp +++ b/src/icon.cpp @@ -29,7 +29,7 @@ CompIcon::CompIcon (CompScreen *screen, unsigned int width, unsigned int height) : - mSize (width, height), + CompSize (width, height), mData (new unsigned char[width * height * 4]) { } @@ -39,12 +39,6 @@ CompIcon::~CompIcon () delete mData; } -const CompSize & -CompIcon::size () const -{ - return mSize; -} - unsigned char* CompIcon::data () { -- cgit v1.1