2010-11-24 05:43:16 +00:00
|
|
|
#ifndef __CvarToggleView_h
|
|
|
|
#define __CvarToggleView_h
|
|
|
|
|
|
|
|
#include "gui/Group.h"
|
|
|
|
|
|
|
|
@class Text;
|
|
|
|
@class CvarToggle;
|
|
|
|
|
|
|
|
@interface CvarToggleView : Group
|
|
|
|
{
|
2011-02-14 14:08:18 +00:00
|
|
|
Text *title;
|
|
|
|
Text *value;
|
|
|
|
CvarToggle *toggle;
|
2010-11-24 05:43:16 +00:00
|
|
|
}
|
2010-12-16 11:01:49 +00:00
|
|
|
-(void)update;
|
2011-02-14 14:08:18 +00:00
|
|
|
-(id)initWithBounds:(Rect)aRect title:(string)_title :(CvarToggle *)_toggle;
|
2010-11-24 05:43:16 +00:00
|
|
|
-(void)toggle;
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif//__CvarToggleView_h
|