Numworks Epsilon
1.4.1
Graphing Calculator Operating System
button_with_separator.h
Go to the documentation of this file.
1
#ifndef SHARED_BUTTON_WITH_SEPARATOR_H
2
#define SHARED_BUTTON_WITH_SEPARATOR_H
3
4
#include <
escher.h
>
5
6
class
ButtonWithSeparator
:
public
Button
{
7
public
:
8
ButtonWithSeparator
(
Responder
*
parentResponder
, I18n::Message textBody,
Invocation
invocation);
9
void
drawRect
(
KDContext
* ctx,
KDRect
rect)
const override
;
10
private
:
11
constexpr
static
KDCoordinate
k_margin = 5;
12
constexpr
static
KDCoordinate
k_lineThickness = 1;
13
void
layoutSubviews()
override
;
14
};
15
16
#endif
KDCoordinate
int16_t KDCoordinate
Definition:
coordinate.h:6
Responder::parentResponder
Responder * parentResponder() const
Definition:
responder.cpp:12
escher.h
ButtonWithSeparator::ButtonWithSeparator
ButtonWithSeparator(Responder *parentResponder, I18n::Message textBody, Invocation invocation)
Definition:
button_with_separator.cpp:3
Invocation
Definition:
invocation.h:4
Responder
Definition:
responder.h:9
KDContext
Definition:
context.h:8
ButtonWithSeparator::drawRect
void drawRect(KDContext *ctx, KDRect rect) const override
Definition:
button_with_separator.cpp:8
KDRect
Definition:
rect.h:26
Button
Definition:
button.h:10
ButtonWithSeparator
Definition:
button_with_separator.h:6
epsilon
apps
shared
button_with_separator.h
Generated by
1.8.14