OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_TEST_RGB_VALUE_H_ |
| 6 #define REMOTING_TEST_RGB_VALUE_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 namespace remoting { |
| 11 namespace test { |
| 12 |
| 13 // Used to store a RGB color. |
| 14 // Default constructor will initialize the value to black. |
| 15 struct RGBValue { |
| 16 RGBValue(); |
| 17 RGBValue(uint8_t r, uint8_t g, uint8_t b); |
| 18 ~RGBValue(); |
| 19 |
| 20 uint8_t red; |
| 21 uint8_t green; |
| 22 uint8_t blue; |
| 23 }; |
| 24 |
| 25 } // namespace test |
| 26 } // namespace remoting |
| 27 |
| 28 #endif // REMOTING_TEST_RGB_VALUE_H_ |
OLD | NEW |