repo.or.cz
/
rofl0r-conpix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Current required packages for Debian/Ubuntu
[rofl0r-conpix.git]
/
Rgb.c
blob
cb62f0e5ede81e66e50975b1f9048c215e8621d2
1
/*
2
* Rgb.c
3
*
4
* Created on: 04.12.2010
5
* Author: rofl
6
*/
7
#include
"Rgb.h"
8
9
RGB
rgb
(
int
r
,
int
g
,
int
b
) {
10
RGB result
;
11
12
result
.
r
=
r
;
// & 0xFF;
13
result
.
g
=
g
;
// & 0xFF00;
14
result
.
b
=
b
;
// & 0xFF0000;
15
16
return
result
;
17
}