8 return (I18n::Message)0;
12 return (I18n::Message)0;
27 void App::Snapshot::tidy() {
35 m_firstResponder(nullptr),
37 m_warningController(this, warningMessage)
47 bool didHandleEvent =
false;
59 return m_firstResponder;
63 Responder * previousResponder = m_firstResponder;
64 m_firstResponder = responder;
65 if (previousResponder) {
67 Responder * leafResponder = previousResponder;
68 while (leafResponder != commonAncestor) {
74 if (m_firstResponder) {
76 Responder * leafResponder = m_firstResponder;
77 while (leafResponder != commonAncestor) {
98 m_warningController.
setLabel(warningMessage);
void viewWillAppear() override
virtual void didBecomeActive(Window *window)
virtual void willResignFirstResponder()
void displayModalViewController(ViewController *vc, float verticalAlignment, float horizontalAlignment, KDCoordinate topMargin=0, KDCoordinate leftMargin=0, KDCoordinate bottomMargin=0, KDCoordinate rightMargin=0)
Responder * commonAncestorWith(Responder *responder)
virtual void didBecomeFirstResponder()
virtual void willBecomeInactive()
Responder * parentResponder() const
virtual bool handleEvent(Ion::Events::Event event)
App(Container *container, Snapshot *snapshot, ViewController *rootViewController, I18n::Message warningMessage=(I18n::Message) 0)
virtual bool processEvent(Ion::Events::Event event)
void setLabel(I18n::Message message)
ModalViewController m_modalViewController
void viewDidDisappear() override
static constexpr uint8_t Magic
virtual int numberOfTimers()
virtual void willExitResponderChain(Responder *nextFirstResponder)
void displayWarning(I18n::Message warningMessage)
void dismissModalViewController()
Responder * firstResponder()
void setContentView(View *contentView)
virtual Timer * timerAtIndex(int i)
virtual const Image * icon()
const Container * container() const
virtual I18n::Message upperName()
void displayModalViewController(ViewController *vc, float verticalAlignment, float horizontalAlignment, KDCoordinate topMargin=0, KDCoordinate leftMargin=0, KDCoordinate bottomMargin=0, KDCoordinate rightMargin=0)
void setFirstResponder(Responder *responder)
virtual void didEnterResponderChain(Responder *previousFirstResponder)
void dismissModalViewController()
virtual I18n::Message name()