| Index: chromecast/public/rect.h
|
| diff --git a/chromecast/public/rect.h b/chromecast/public/rect.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9a6fe808ff90a94680fc59688c963a4dfbc6aa82
|
| --- /dev/null
|
| +++ b/chromecast/public/rect.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright (c) 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 CHROMECAST_PUBLIC_RECT_H_
|
| +#define CHROMECAST_PUBLIC_RECT_H_
|
| +
|
| +namespace chromecast {
|
| +
|
| +struct Rect {
|
| + Rect(int w, int h) : x(0), y(0), width(w), height(h) {}
|
| + Rect(int arg_x, int arg_y, int w, int h)
|
| + : x(arg_x), y(arg_y), width(w), height(h) {}
|
| + int x;
|
| + int y;
|
| + int width;
|
| + int height;
|
| +};
|
| +
|
| +} // namespace chromecast
|
| +
|
| +#endif // CHROMECAST_PUBLIC_RECT_H
|
|
|