mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-02 09:02:32 +00:00
8a7fbdfc9f
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.
17 lines
325 B
Objective-C
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
|