double-hit-balls/proj.ios/SENamespaceWrapper.cpp

66 lines
1.3 KiB
C++
Raw Permalink Normal View History

2017-01-17 10:55:12 +00:00
//
// SENamespaceWrapper.hpp
// salmontemplate
//
// Created by Роберт Хайреев on 16/01/2017.
//
//
#include "include/Utils/Utils.h"
//#import "include/Utils/IosApi/ObjC/ViewControllerTemplate.h"
#include "include/Utils/IosApi/IosWrapper.h"
#include "SENamespaceWrapper.h"
namespace SE {
void SetKeyboardText(const char* newText);
void OnKeyboardHide();
}
2017-02-26 23:07:37 +00:00
void SE_SetBindDrawableFunc(void(*funcPtr)())
{
SE::SetBindDrawableFunc(funcPtr);
}
2017-01-17 10:55:12 +00:00
//TApplication *app = NULL;
void SE_AppDeinit() {
SE::AppDeinit();
}
void SE_AppUpdate(int dt) {
SE::AppUpdate(dt);
}
void SE_AppDraw() {
SE::AppDraw();
}
void SE_AppOnTapDown(int posx, int posy, int touchNumber) {
SE::AppOnTapDown(posx, posy, touchNumber);
}
void SE_AppOnTapUp(int posx, int posy, int touchNumber) {
SE::AppOnTapUp(posx, posy, touchNumber);
}
void SE_AppOnTapUpAfterMove(int posx, int posy, int touchNumber) {
SE::AppOnTapUpAfterMove(posx, posy, touchNumber);
}
void SE_AppOnScroll(int shiftx, int shifty, int touchNumber) {
SE::AppOnScroll(shiftx, shifty, touchNumber);
}
void SE_AppOnScale(float scale) {
SE::AppOnScale(scale);
}
void SE_SetKeyboardText(const char* newText) {
SE::SetKeyboardText(newText);
}
void SE_OnKeyboardHide() {
SE::OnKeyboardHide();
}