quakeforge/ruamoko/include/gui/Group.h

47 lines
855 B
C
Raw Normal View History

2004-02-04 02:35:57 +00:00
#ifndef __ruamoko_gui_Group_h
#define __ruamoko_gui_Group_h
#include "View.h"
/** \addtogroup gui */
//@{
2004-02-04 02:35:57 +00:00
@class Array;
/** A group of logically realted views.
The sub-views are all positioned relative to the group's origin.
Sub-views may be other groups.
The order in which views are added determines the draw and event handling
order.
\todo Events are not handled.
*/
2004-02-04 02:35:57 +00:00
@interface Group : View
{
Array *views;
2004-02-04 02:35:57 +00:00
}
/** Add a view to the group.
\param aView The view to be added.
\return The added view.
*/
- (View*) addView: (View*)aView;
/** Add an array of views to the group.
The views will be appened to any already existing sub-views, maintaining
the order of the views in the array.
\param viewlist The array of views to be added.
\return self
*/
- (id) addViews: (Array*)viewlist;
2004-02-04 02:35:57 +00:00
@end
//@}
2004-02-04 02:35:57 +00:00
#endif//__ruamoko_gui_Group_h