2020-03-29 17:34:08 +00:00
|
|
|
#ifndef __qwaq_ui_titlebar_h
|
|
|
|
#define __qwaq_ui_titlebar_h
|
2020-03-23 13:01:13 +00:00
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#include "ui/view.h"
|
2020-03-23 13:01:13 +00:00
|
|
|
|
|
|
|
@interface TitleBar : View
|
|
|
|
{
|
|
|
|
string title;
|
|
|
|
int length;
|
|
|
|
}
|
|
|
|
// title always centered at top of owner
|
2020-03-30 07:30:58 +00:00
|
|
|
+(TitleBar *)withTitle:(string)title;
|
|
|
|
-initWithTitle:(string)title;
|
|
|
|
-setTitle:(string)newTitle;
|
2020-03-23 13:01:13 +00:00
|
|
|
@end
|
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#endif//__qwaq_ui_titlebar_h
|