2004-02-04 02:35:57 +00:00
|
|
|
#ifndef __ruamoko_gui_Size_h
|
|
|
|
#define __ruamoko_gui_Size_h
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2011-07-10 08:33:43 +00:00
|
|
|
/** \addtogroup gui */
|
|
|
|
//@{
|
|
|
|
|
2010-11-17 06:50:07 +00:00
|
|
|
struct Size {
|
2011-03-25 07:46:32 +00:00
|
|
|
int width;
|
|
|
|
int height;
|
2010-11-17 06:50:07 +00:00
|
|
|
};
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2010-11-17 06:50:07 +00:00
|
|
|
typedef struct Size Size;
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2011-03-25 07:46:32 +00:00
|
|
|
@extern Size makeSize (int width, int height);
|
2010-11-17 06:50:07 +00:00
|
|
|
@extern Size addSize (Size a, Size b);
|
|
|
|
@extern Size subtractSize (Size a, Size b);
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2011-07-10 08:33:43 +00:00
|
|
|
//@}
|
|
|
|
|
2004-02-04 02:35:57 +00:00
|
|
|
#endif //__ruamoko_gui_Size_h
|