diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-04-18 11:43:54 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-04-18 11:43:54 -0300 |
commit | 0360b454a432dc851cc1c5b0c365049ebafcec46 (patch) | |
tree | c868fbef7de718007e671448865a75381b8c8302 /platform/windows | |
parent | b8593c6f3fd4726584e56e684c9ebb5a8147ff0c (diff) |
-Fixed viewport stretch bugs
-Fixed input in viewport stretch bugs
-Fixed tilemap pixel overlap (really?)
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/os_windows.cpp | 7 | ||||
-rw-r--r-- | platform/windows/os_windows.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 9871ecba8b..64219d6c17 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -1647,6 +1647,13 @@ void OS_Windows::move_window_to_foreground() { } +Error OS_Windows::shell_open(String p_uri) { + + ShellExecuteW(NULL, L"open", p_uri.c_str(), NULL, NULL, SW_SHOWNORMAL); + return OK; +} + + String OS_Windows::get_locale() const { const _WinLocale *wl = &_win_locales[0]; diff --git a/platform/windows/os_windows.h b/platform/windows/os_windows.h index 6d75ca8d7b..365808d175 100644 --- a/platform/windows/os_windows.h +++ b/platform/windows/os_windows.h @@ -246,6 +246,8 @@ public: virtual void make_rendering_thread(); virtual void swap_buffers(); + virtual Error shell_open(String p_uri); + void run(); virtual bool get_swap_ok_cancel() { return true; } |