summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-04-18 11:43:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-04-18 11:43:54 -0300
commit0360b454a432dc851cc1c5b0c365049ebafcec46 (patch)
treec868fbef7de718007e671448865a75381b8c8302 /platform/windows
parentb8593c6f3fd4726584e56e684c9ebb5a8147ff0c (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.cpp7
-rw-r--r--platform/windows/os_windows.h2
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; }