ui/ux: fix loading screen
- delays the loading screen image positioning to prevent incorrect
placement due to variable times on screen rescaling
- removes the app suspension signal response which can't be
differentiated from app termination
- removes lodepng which was used for vcards
Change-Id: I4cd46a9bdca40ef95fde89bd98e3b9f12bd8304b
Tuleap: #790
diff --git a/MainPage.xaml.h b/MainPage.xaml.h
index 2a3acd5..6c9b433 100644
--- a/MainPage.xaml.h
+++ b/MainPage.xaml.h
@@ -1,7 +1,7 @@
-#pragma once
-/**************************************************************************
+/**************************************************************************
* Copyright (C) 2016 by Savoir-faire Linux *
* Author: Jäger Nicolas <nicolas.jager@savoirfairelinux.com> *
+* Author: Traczyk Andreas <andreas.traczyk@savoirfairelinux.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -16,6 +16,8 @@
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/
+#pragma once
+
#include "MainPage.g.h"
using namespace Windows::UI::Xaml::Controls;
@@ -36,6 +38,7 @@
void hideLoadingOverlay();
property bool isLoading;
+ property bool isModal;
protected:
virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
@@ -53,8 +56,6 @@
EventRegistrationToken visibilityChangedEventToken;
void Application_Resuming(Object^ sender, Object^ args);
EventRegistrationToken applicationResumingEventToken;
- //void Application_Closing(Object^ sender, Windows::UI::Core::^ e);
- //EventRegistrationToken applicationClosingEventToken;
ExtendedExecutionSession^ session;
void SessionRevoked(Object^ sender, ExtendedExecutionRevokedEventArgs^ args);