Numworks Epsilon
1.4.1
Graphing Calculator Operating System
parameter_text_field_delegate.cpp
Go to the documentation of this file.
1
#include "
parameter_text_field_delegate.h
"
2
3
using namespace
Poincare
;
4
5
namespace
Shared
{
6
7
bool
ParameterTextFieldDelegate::textFieldDidReceiveEvent(::
TextField
* textField,
Ion::Events::Event
event) {
8
if
(event ==
Ion::Events::Backspace
&& !textField->
isEditing
()) {
9
textField->
setEditing
(
true
);
10
return
true
;
11
}
12
return
TextFieldDelegate::textFieldDidReceiveEvent
(textField, event);
13
}
14
15
}
TextField::isEditing
bool isEditing() const
Definition:
text_field.cpp:175
Shared
Definition:
banner_view.cpp:5
TextField
Definition:
text_field.h:8
Poincare
Definition:
absolute_value.h:8
parameter_text_field_delegate.h
TextField::setEditing
virtual void setEditing(bool isEditing, bool reinitDraftBuffer=true)
Definition:
text_field.cpp:196
TextFieldDelegate::textFieldDidReceiveEvent
virtual bool textFieldDidReceiveEvent(TextField *textField, Ion::Events::Event event)=0
Ion::Events::Event
Definition:
events.h:9
Ion::Events::Backspace
constexpr Event Backspace
Definition:
events.h:76
epsilon
apps
shared
parameter_text_field_delegate.cpp
Generated by
1.8.14