X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Frect.h;fp=source%2Fcore%2Frect.h;h=333dbc25f7aa0466bd706acc13f279cb15b9c89e;hb=ce3658993ce2f6b7527a04a36a5e1af349c6f2e9;hp=0000000000000000000000000000000000000000;hpb=2b2676392aff2eb6b38c3e463cc67f4d67a4ef8b;p=libs%2Fgl.git diff --git a/source/core/rect.h b/source/core/rect.h new file mode 100644 index 00000000..333dbc25 --- /dev/null +++ b/source/core/rect.h @@ -0,0 +1,21 @@ +#ifndef MSP_GL_RECT_H_ +#define MSP_GL_RECT_H_ + +namespace Msp { +namespace GL { + +struct Rect +{ + int left; + int bottom; + unsigned width; + unsigned height; + + Rect(): left(0), bottom(0), width(0), height(0) { } + Rect(int l, int b, unsigned w, unsigned h): left(l), bottom(b), width(w), height(h) { } +}; + +} // namespace GL +} // namespace Msp + +#endif