From 3be8598f672eb5b8e48373ed4ee59feff543ada2 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 2 Oct 2015 19:26:05 +0200 Subject: Refactored Colour. --- plugingui/colour.h | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'plugingui/colour.h') diff --git a/plugingui/colour.h b/plugingui/colour.h index 92ec99e..9f539e9 100644 --- a/plugingui/colour.h +++ b/plugingui/colour.h @@ -24,28 +24,25 @@ * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __DRUMGIZMO_COLOUR_H__ -#define __DRUMGIZMO_COLOUR_H__ +#pragma once namespace GUI { class Colour { public: - Colour(); + Colour(); - Colour(float grey, float alpha = 1.0); + Colour(float grey, float alpha = 1.0); - Colour(float red, - float green, - float blue, - float alpha = 1.0); + Colour(float red, + float green, + float blue, + float alpha = 1.0); - float red; - float green; - float blue; - float alpha; + float red; + float green; + float blue; + float alpha; }; -}; - -#endif/*__DRUMGIZMO_COLOUR_H__*/ +} // GUI:: -- cgit v1.2.3