SDL
2.0
|
#include "../../SDL_internal.h"
#include <functional>
#include <string>
#include <sstream>
#include "ppltasks.h"
#include "SDL_assert.h"
#include "SDL_events.h"
#include "SDL_hints.h"
#include "SDL_log.h"
#include "SDL_main.h"
#include "SDL_stdinc.h"
#include "SDL_render.h"
#include "../../video/SDL_sysvideo.h"
#include "../../events/SDL_events_c.h"
#include "../../events/SDL_keyboard_c.h"
#include "../../events/SDL_mouse_c.h"
#include "../../events/SDL_windowevents_c.h"
#include "../../render/SDL_sysrender.h"
#include "../windows/SDL_windows.h"
#include "../../video/winrt/SDL_winrtevents_c.h"
#include "../../video/winrt/SDL_winrtvideo_cpp.h"
#include "SDL_winrtapp_common.h"
#include "SDL_winrtapp_direct3d.h"
Go to the source code of this file.
Data Structures | |
class | sealed |
Functions | |
int | SDL_WinRTInitNonXAMLApp (int(*mainFunction)(int, char **)) |
static void | WINRT_SetDisplayOrientationsPreference (void *userdata, const char *name, const char *oldValue, const char *newValue) |
static void | WINRT_ProcessWindowSizeChange () |
static bool | IsSDLWindowEventPending (SDL_WindowEventID windowEventID) |
static void | WINRT_LogPointerEvent (const char *header, Windows::UI::Core::PointerEventArgs^args, Windows::Foundation::Point transformedPoint) |
template<typename BackButtonEventArgs > | |
static void | WINRT_OnBackButtonPressed (BackButtonEventArgs^args) |
Variables | |
SDL_WinRTApp | SDL_WinRTGlobalApp = nullptr |
|
static |
Definition at line 434 of file SDL_winrtapp_direct3d.cpp.
References events, i, SDL_PEEKEVENT, SDL_PeepEvents, and SDL_WINDOWEVENT.
int SDL_WinRTInitNonXAMLApp | ( | int(*)(int, char **) | mainFunction | ) |
Definition at line 116 of file SDL_winrtapp_direct3d.cpp.
References Run(), and WINRT_SDLAppEntryPoint.
Referenced by SDL_WinRTRunApp().
|
static |
Definition at line 732 of file SDL_winrtapp_direct3d.cpp.
References SDL_Log.
|
static |
Definition at line 820 of file SDL_winrtapp_direct3d.cpp.
References SDL_FALSE, SDL_GetHintBoolean, SDL_HINT_WINRT_HANDLE_BACK_BUTTON, SDL_PRESSED, SDL_RELEASED, SDL_SCANCODE_AC_BACK, and SDL_SendKeyboardKey().
|
static |
Definition at line 187 of file SDL_winrtapp_direct3d.cpp.
References SDL_Window::driverdata, SDL_SendWindowEvent(), SDL_WINDOW_FULLSCREEN_DESKTOP, SDL_WINDOW_MAXIMIZED, SDL_WINDOWEVENT_MAXIMIZED, SDL_WINDOWEVENT_MOVED, SDL_WINDOWEVENT_RESIZED, SDL_WINDOWEVENT_RESTORED, WINRT_DetectWindowFlags(), WINRT_GlobalSDLWindow, and WINRT_UpdateWindowFlags().
|
static |
Definition at line 125 of file SDL_winrtapp_direct3d.cpp.
References NULL, SDL_assert, SDL_HINT_ORIENTATIONS, and SDL_strcmp.
SDL_WinRTApp SDL_WinRTGlobalApp = nullptr |
Definition at line 94 of file SDL_winrtapp_direct3d.cpp.