X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcommon%2Fcolour.h;h=93d42a686c6a31f07fe6cf10e9f0bc65b7490994;hb=88dd6a205052fbf1d53083eb7e4733a7cf251db1;hp=dc3dedfc8dba94ea4bbb73652391f2ebe893d6d8;hpb=e239336903d4625067eb7afda590fa5496cebbf4;p=xestiacalendar%2F.git diff --git a/source/common/colour.h b/source/common/colour.h index dc3dedf..93d42a6 100644 --- a/source/common/colour.h +++ b/source/common/colour.h @@ -4,11 +4,11 @@ // // This file is part of Xestia Calendar. // -// Xestia Address Book is free software: you can redistribute it and/or modify +// Xestia Calendar is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // -// Xestia Address Book is distributed in the hope that it will be useful, +// Xestia Calendar is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -19,14 +19,17 @@ #include #include "text.h" +#ifndef __COMMON_COLOUR_H__ +#define __COMMON_COLOUR_H__ + using namespace std; struct Colour{ - int red; - int blue; - int green; - int alpha; + int red = 0; + int blue = 0; + int green = 0; + int alpha = 255; operator string() { @@ -83,4 +86,6 @@ struct Colour{ } -}; \ No newline at end of file +}; + +#endif \ No newline at end of file