CS488 PA6
Color.h
1
#ifndef edu_jmu_cs_Color_h
2
#define edu_jmu_cs_Color_h
3
7
struct
Color
{
8
//
9
// Declare the components in logical order rather than alphabetic order
10
// so that an initializer list can be used for assignment
11
//
12
16
int
red
;
17
21
int
green
;
22
26
int
blue
;
27
};
28
29
#endif
Color
Definition:
Color.h:7
Color::blue
int blue
Definition:
Color.h:26
Color::green
int green
Definition:
Color.h:21
Color::red
int red
Definition:
Color.h:16
Generated by
1.8.13