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_Renderer::info, SDL_RendererInfo::name, NULL, renderer, SDL_APP_DIDENTERBACKGROUND, SDL_APP_DIDENTERFOREGROUND, SDL_APP_TERMINATING, SDL_APP_WILLENTERBACKGROUND, SDL_APP_WILLENTERFOREGROUND, SDL_free, SDL_GetHint, SDL_GetKeyboardFocus, SDL_GetRenderer, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL, SDL_HINT_WINRT_PRIVACY_POLICY_URL, SDL_Log, SDL_PEEKEVENT, SDL_PeepEvents, SDL_SendAppEvent(), SDL_SendMouseMotion(), SDL_SendWindowEvent(), SDL_SetCursor, SDL_SetKeyboardFocus(), SDL_strcmp, SDL_WINDOW_MAXIMIZED, SDL_WINDOWEVENT, SDL_WINDOWEVENT_FOCUS_GAINED, SDL_WINDOWEVENT_FOCUS_LOST, SDL_WINDOWEVENT_HIDDEN, SDL_WINDOWEVENT_MAXIMIZED, SDL_WINDOWEVENT_MINIMIZED, SDL_WINDOWEVENT_RESTORED, SDL_WINDOWEVENT_SHOWN, SDL_Window::surface_valid, WIN_UTF8ToString, WINRT_DetectWindowFlags(), WINRT_GlobalSDLWindow, and WINRT_ProcessWindowSizeChange().
int SDL_WinRTInitNonXAMLApp | ( | int(*)(int, char **) | mainFunction | ) |
Definition at line 116 of file SDL_winrtapp_direct3d.cpp.
References Run(), SDLCALL, and WINRT_SDLAppEntryPoint.
Referenced by SDL_WinRTRunApp().
|
static |
Definition at line 732 of file SDL_winrtapp_direct3d.cpp.
References SDL_Log, and WINRT_GlobalSDLWindow.
|
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, NULL, Run(), SDL_AddHintCallback, SDL_HINT_ORIENTATIONS, SDL_Log, SDL_SendWindowEvent(), SDL_SetMainReady, SDL_WINDOW_FULLSCREEN_DESKTOP, SDL_WINDOW_MAXIMIZED, SDL_WINDOWEVENT_MAXIMIZED, SDL_WINDOWEVENT_MOVED, SDL_WINDOWEVENT_RESIZED, SDL_WINDOWEVENT_RESTORED, SDL_WINDOWEVENT_SIZE_CHANGED, WINRT_DetectWindowFlags(), WINRT_GlobalSDLWindow, WINRT_SDLAppEntryPoint, WINRT_SetDisplayOrientationsPreference(), and WINRT_UpdateWindowFlags().
Referenced by IsSDLWindowEventPending().
|
static |
Definition at line 125 of file SDL_winrtapp_direct3d.cpp.
References NULL, SDL_assert, SDL_HINT_ORIENTATIONS, and SDL_strcmp.
Referenced by WINRT_ProcessWindowSizeChange().
SDL_WinRTApp SDL_WinRTGlobalApp = nullptr |
Definition at line 94 of file SDL_winrtapp_direct3d.cpp.