6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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 MessageTextView * messageTextViewAtIndex(int i) const;
};
}
#endif
|