Subversion Repositories Kolibri OS

Rev

Rev 6052 | Rev 6266 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6052 Rev 6176
Line -... Line 1...
-
 
1
#ifndef INCLUDE_RGB_H
-
 
2
#define INCLUDE_RGB_H
-
 
3
#print "[include ]\n"
Line 1... Line 4...
1
struct _rgb
4
 
2
{
5
struct _rgb
3
	byte r,g,b;
6
{
4
	void DwordToRgb();
7
	byte r,g,b;
Line 35... Line 38...
35
	rgb_final.r = calc(rgb1.r*a/255) + calc(rgb2.r*n_a/255);
38
	rgb_final.g = calc(rgb1.g*a/255) + calc(rgb2.g*n_a/255);
36
 
39
	rgb_final.r = calc(rgb1.r*a/255) + calc(rgb2.r*n_a/255);
Line 37... Line 40...
37
	return rgb_final.RgbToDword();
40
 
38
}
41
	return rgb_final.RgbToDword();
-
 
42
}
-
 
43
 
39
44
#endif