Page MenuHomePhabricator (Chris)

rectarea.h
No OneTemporary

Authored By
Unknown
Size
622 B
Referenced Files
None
Subscribers
None

rectarea.h

#ifndef _rtech1_gui_rectarea_h
#define _rtech1_gui_rectarea_h
namespace Graphics{
class Bitmap;
}
namespace Gui{
struct RectArea{
RectArea();
RectArea(int x, int y, int w, int h);
inline int getX1() const { return x; }
inline int getY1() const { return y; }
inline int getX2() const { return x + width; }
inline int getY2() const { return y + height; }
bool operator==( const RectArea &);
bool operator!=( const RectArea &);
bool operator==( const Graphics::Bitmap &);
bool operator!=( const Graphics::Bitmap &);
bool empty();
int x;
int y;
int width;
int height;
int radius;
};
}
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 6:37 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
128676
Default Alt Text
rectarea.h (622 B)

Event Timeline