mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
19 lines
413 B
C++
19 lines
413 B
C++
#ifndef APPS_TITLE_BAR_VIEW_H
|
|
#define APPS_TITLE_BAR_VIEW_H
|
|
|
|
#include <escher.h>
|
|
|
|
class TitleBarView : public View {
|
|
public:
|
|
TitleBarView();
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
void setTitle(const char * title);
|
|
private:
|
|
int numberOfSubviews() const override;
|
|
void layoutSubviews() override;
|
|
View * subviewAtIndex(int index) override;
|
|
PointerTextView m_titleView;
|
|
};
|
|
|
|
#endif
|