mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
25 lines
595 B
C++
25 lines
595 B
C++
#ifndef SHARED_BANNER_VIEW_H
|
|
#define SHARED_BANNER_VIEW_H
|
|
|
|
#include <escher.h>
|
|
|
|
namespace Shared {
|
|
|
|
class BannerView : public View {
|
|
public:
|
|
void setLegendAtIndex(char * text, int index);
|
|
void setMessageAtIndex(I18n::Message text, int index);
|
|
KDSize minimalSizeForOptimalDisplay() const override;
|
|
private:
|
|
int numberOfSubviews() const override;
|
|
View * subviewAtIndex(int index) override;
|
|
void layoutSubviews() override;
|
|
int numberOfLines() const;
|
|
virtual TextView * textViewAtIndex(int i) const = 0;
|
|
virtual PointerTextView * pointerTextViewAtIndex(int i) const;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|