summaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-17 10:48:14 +0200
committerGitHub <noreply@github.com>2018-09-17 10:48:14 +0200
commit6938b6e2f8351438556c2df4cee9cd25a160fecd (patch)
treef914c59c4e04a16ed40ea5b408e051e2b8cf0078 /platform/javascript/os_javascript.h
parent1e201163b9afdee929f69d9ee4c2ef13a12b6c28 (diff)
parent42c6a67dcac26e9c313dc96b2493a167b09f13a1 (diff)
Merge pull request #22161 from eska014/html5-seticon
Implement OS::set_icon in HTML5 platform
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index f40fb8fc7e..ddcbf8c7c9 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -135,6 +135,7 @@ public:
virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
virtual void set_window_title(const String &p_title);
+ virtual void set_icon(const Ref<Image> &p_icon);
String get_executable_path() const;
virtual Error shell_open(String p_uri);
virtual String get_name();