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
|
|
|
|
|
|
|
#include "Object.h"
|
|
|
|
|
|
|
|
@interface Size: Object
|
|
|
|
{
|
|
|
|
@public
|
|
|
|
integer width;
|
|
|
|
integer height;
|
|
|
|
}
|
|
|
|
|
2002-08-17 07:17:53 +00:00
|
|
|
- (id) initWithComponents: (integer)w : (integer)h;
|
2002-08-17 05:27:34 +00:00
|
|
|
- (id) initWithSize: (Size)aSize;
|
|
|
|
- (id) copy;
|
|
|
|
|
|
|
|
- (integer) width;
|
|
|
|
- (integer) height;
|
|
|
|
|
|
|
|
- (void) setSize: (Size)aSize;
|
2002-08-17 07:17:53 +00:00
|
|
|
- (void) setWidth: (integer)w;
|
|
|
|
- (void) setHeight: (integer)h;
|
2002-08-17 05:27:34 +00:00
|
|
|
|
2002-08-17 07:17:53 +00:00
|
|
|
- (void) addSize: (Size)aSize;
|
|
|
|
- (void) subtractSize: (Size)aSize;
|
2002-08-17 05:27:34 +00:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
2004-02-04 02:35:57 +00:00
|
|
|
#endif //__ruamoko_gui_Size_h
|