Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F629330
rectarea.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
622 B
Referenced Files
None
Subscribers
None
rectarea.h
View Options
#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
Details
Attached
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)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline