OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 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 CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_ | |
6 #define CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_ | |
7 | |
8 namespace chromecast { | |
9 | |
10 struct Rect { | |
11 Rect(int w, int h) : x(0), y(0), width(w), height(h) {} | |
12 Rect(int arg_x, int arg_y, int w, int h) | |
13 : x(arg_x), y(arg_y), width(w), height(h) {} | |
byungchul
2015/04/27 21:42:14
A blank line here
halliwell
2015/04/27 22:17:33
Done.
| |
14 int x; | |
15 int y; | |
16 int width; | |
17 int height; | |
18 }; | |
19 | |
20 struct Size { | |
21 Size(int w, int h) : width(w), height(h) {} | |
byungchul
2015/04/27 21:42:14
ditto
halliwell
2015/04/27 22:17:33
Done.
| |
22 int width; | |
23 int height; | |
24 }; | |
25 | |
26 } // namespace chromecast | |
27 | |
28 #endif // CHROMECAST_PUBLIC_GRAPHICS_TYPES_H_ | |
OLD | NEW |