mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] TextField: all text fields use the same draft text buffer
This commit is contained in:
@@ -8,9 +8,9 @@ namespace Probability {
|
||||
static inline KDCoordinate minCoordinate(KDCoordinate x, KDCoordinate y) { return x < y ? x : y; }
|
||||
static inline KDCoordinate maxCoordinate(KDCoordinate x, KDCoordinate y) { return x > y ? x : y; }
|
||||
|
||||
CalculationCell::CalculationCell(Responder * parentResponder, char * draftTextBuffer, InputEventHandlerDelegate * inputEventHandlerDelegate, TextFieldDelegate * textFieldDelegate) :
|
||||
CalculationCell::CalculationCell(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, TextFieldDelegate * textFieldDelegate) :
|
||||
m_text(KDFont::LargeFont, I18n::Message::Default, 0.5f, 0.5f),
|
||||
m_calculation(parentResponder, inputEventHandlerDelegate, textFieldDelegate, draftTextBuffer),
|
||||
m_calculation(parentResponder, inputEventHandlerDelegate, textFieldDelegate),
|
||||
m_isResponder(true)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user