Files
Upsilon/apps/shared/button_with_separator.h
Émilie Feral 9aa516fe5d [apps/shared] Improve validate button rendering in float parameter
controllers

Change-Id: I58ccc4da68c83509fe734038781b971d2a8f74c6
2017-03-16 15:12:11 +01:00

17 lines
465 B
C++

#ifndef SHARED_BUTTON_WITH_SEPARATOR_H
#define SHARED_BUTTON_WITH_SEPARATOR_H
#include <escher.h>
class ButtonWithSeparator : public Button {
public:
ButtonWithSeparator(Responder * parentResponder, const char * 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