forked from LeenkxTeam/LNXSDK
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			336 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			336 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef LIB_INCLUDE_INCLUDED
 | 
						|
#define LIB_INCLUDE_INCLUDED
 | 
						|
 | 
						|
struct RGB
 | 
						|
{
 | 
						|
   unsigned char r;
 | 
						|
   unsigned char g;
 | 
						|
   unsigned char b;
 | 
						|
 | 
						|
 | 
						|
   RGB(int inR=0, int inG=0, int inB=0) :
 | 
						|
      r(inR), g(inG), b(inB)
 | 
						|
   {
 | 
						|
   }
 | 
						|
 | 
						|
   int getLuma();
 | 
						|
   int toInt();
 | 
						|
};
 | 
						|
 | 
						|
struct Gradient
 | 
						|
{
 | 
						|
   RGB   colour0;
 | 
						|
   RGB   colour1;
 | 
						|
   int   steps;
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
#endif
 |