summaryrefslogtreecommitdiffstats
path: root/remoting/test/rgb_value.h
blob: 6d1a0ad010050b54a7f053be9fb8a4b55856084b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef REMOTING_TEST_RGB_VALUE_H_
#define REMOTING_TEST_RGB_VALUE_H_

#include <stdint.h>

namespace remoting {
namespace test {

// Used to store a RGB color.
// Default constructor will initialize the value to black.
struct RGBValue {
  RGBValue();
  RGBValue(uint8_t r, uint8_t g, uint8_t b);
  ~RGBValue();

  uint8_t red;
  uint8_t green;
  uint8_t blue;
};

}  // namespace test
}  // namespace remoting

#endif  // REMOTING_TEST_RGB_VALUE_H_