mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
28 lines
762 B
C++
28 lines
762 B
C++
#ifndef SEQUENCE_SEQUENCE_EXPRESSION_CELL_H
|
|
#define SEQUENCE_SEQUENCE_EXPRESSION_CELL_H
|
|
|
|
#include "../sequence.h"
|
|
#include "sequence_cell.h"
|
|
#include <escher.h>
|
|
|
|
namespace Sequence {
|
|
|
|
class SequenceExpressionCell : public SequenceCell {
|
|
public:
|
|
SequenceExpressionCell(Responder * parentResponder);
|
|
void setSequence(Sequence * sequence) override;
|
|
Sequence * sequence();
|
|
void drawRect(KDContext * ctx, KDRect rect) const override;
|
|
bool handleEvent(Ion::Events::Event event) override;
|
|
private:
|
|
EvenOddCell * viewAtIndex(int index) override;
|
|
void editExpression(Ion::Events::Event event);
|
|
EvenOddExpressionCell m_expressionView;
|
|
EvenOddExpressionCell m_firstInitialConditionView;
|
|
EvenOddExpressionCell m_secondInitialConditionView;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|