WXP C++ Library
Version 6.74.9
Loading...
Searching...
No Matches
include
RGB.h
1
#ifndef _WINC_RGB
2
#define _WINC_RGB
3
4
namespace
WXP
{
5
struct
RGB
{
6
float
red
;
7
float
grn
;
8
float
blu
;
10
RGB
();
11
int
init
();
12
int
set
(
float
r,
float
g,
float
b );
14
inline
float
getRed
(){
return
red
; };
16
inline
float
getGrn
(){
return
grn
; };
18
inline
float
getBlu
(){
return
blu
; };
19
bool
isOff
();
20
bool
isWhite
();
21
bool
isBlack
();
22
int
print
();
23
};
24
}
25
#endif
WXP
All WXP classes fall under the WXP namespace.
Definition
Angle.h:4
WXP::RGB
This struct defines a set of RGB values.
Definition
RGB.h:5
WXP::RGB::set
int set(float r, float g, float b)
Definition
RGB.cc:37
WXP::RGB::grn
float grn
Definition
RGB.h:7
WXP::RGB::init
int init()
Definition
RGB.cc:24
WXP::RGB::isWhite
bool isWhite()
Definition
RGB.cc:47
WXP::RGB::isBlack
bool isBlack()
Definition
RGB.cc:55
WXP::RGB::blu
float blu
Definition
RGB.h:8
WXP::RGB::isOff
bool isOff()
Definition
RGB.cc:63
WXP::RGB::print
int print()
Definition
RGB.cc:71
WXP::RGB::getGrn
float getGrn()
Definition
RGB.h:16
WXP::RGB::red
float red
Definition
RGB.h:6
WXP::RGB::RGB
RGB()
Definition
RGB.cc:17
WXP::RGB::getRed
float getRed()
Definition
RGB.h:14
WXP::RGB::getBlu
float getBlu()
Definition
RGB.h:18
Generated on Sun Jul 28 2024 18:05:35 for WXP C++ Library by
1.9.7