Adjust CalManager

This commit is contained in:
Jérôme Laban 2019-05-17 10:53:53 -04:00
commit 22a74cec56
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <iostream> #include <iostream>
#if !DEBUG #if DEBUG
#if defined(_WINDOWS_) #if defined(_WINDOWS_)
#include <Windows.h> #include <Windows.h>
#include <strsafe.h> #include <strsafe.h>

View file

@ -2,6 +2,6 @@
splashScreenImage: "Assets/SplashScreen.scale-200.png", splashScreenImage: "Assets/SplashScreen.scale-200.png",
splashScreenColor: "#00f", splashScreenColor: "#00f",
displayName: "WindowsCalculator" displayName: "Calculator"
} }

View file

@ -22,8 +22,8 @@
var fMaxDigitsReachedCallback = Module.addFunction((state) => _maxDigitsReachedCallback(state), 'vii'); var fMaxDigitsReachedCallback = Module.addFunction((state) => _maxDigitsReachedCallback(state), 'vii');
var fMemoryItemChangedCallback = Module.addFunction((state, indexOfMemory) => _memoryItemChangedCallback(state, indexOfMemory), 'vii'); var fMemoryItemChangedCallback = Module.addFunction((state, indexOfMemory) => _memoryItemChangedCallback(state, indexOfMemory), 'vii');
var fOnHistoryItemAddedCallback = Module.addFunction((state, addedItemIndex) => _onHistoryItemAddedCallback(state, addedItemIndex), 'vii'); var fOnHistoryItemAddedCallback = Module.addFunction((state, addedItemIndex) => _onHistoryItemAddedCallback(state, addedItemIndex), 'vii');
var fOnNoRightParenAddedCallback = Module.addFunction((state) => _onNoRightParenAddedCallback (state), 'vi'); var fOnNoRightParenAddedCallback = Module.addFunction((state) => _onNoRightParenAddedCallback(state), 'vi');
var fSetExpressionDisplayCallback = Module.addFunction((state) => _setExpressionDisplayCallback (state), 'vi'); var fSetExpressionDisplayCallback = Module.addFunction((state, historyItem) => _setExpressionDisplayCallback(state, historyItem), 'vii');
var fSetMemorizedNumbersCallback = Module.addFunction((state, size, numbers) => _setMemorizedNumbersCallback(state, size, numbers), 'viii'); var fSetMemorizedNumbersCallback = Module.addFunction((state, size, numbers) => _setMemorizedNumbersCallback(state, size, numbers), 'viii');
var ret = `${fGetCEngineStringCallback};` var ret = `${fGetCEngineStringCallback};`