6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef SHARED_BUTTON_WITH_SEPARATOR_H
#define SHARED_BUTTON_WITH_SEPARATOR_H
#include <escher.h>
class ButtonWithSeparator : public Button {
public:
ButtonWithSeparator(Responder * parentResponder, I18n::Message textBody, Invocation invocation);
void drawRect(KDContext * ctx, KDRect rect) const override;
private:
constexpr static KDCoordinate k_margin = 5;
constexpr static KDCoordinate k_lineThickness = 1;
void layoutSubviews() override;
};
#endif
|