quakeforge/ruamoko/qwaq/ui/titlebar.h
Bill Currie 8a7fbdfc9f [qwaq] Rework allocation to use retain/release
It currently dies when single stepping or exiting due to EditBuffer's
retain count not getting incremented when initialized. This is because
EditBuffer is initialized in C and thus does not call Object's -init.
2020-03-30 16:58:36 +09:00

17 lines
325 B
Objective-C

#ifndef __qwaq_ui_titlebar_h
#define __qwaq_ui_titlebar_h
#include "ui/view.h"
@interface TitleBar : View
{
string title;
int length;
}
// title always centered at top of owner
+(TitleBar *)withTitle:(string)title;
-initWithTitle:(string)title;
-setTitle:(string)newTitle;
@end
#endif//__qwaq_ui_titlebar_h