summaryrefslogtreecommitdiff
path: root/tools/editor/editor_scale.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/editor_scale.h')
-rw-r--r--tools/editor/editor_scale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/editor_scale.h b/tools/editor/editor_scale.h
index a60cf00f0a..90e575f771 100644
--- a/tools/editor/editor_scale.h
+++ b/tools/editor/editor_scale.h
@@ -1,8 +1,8 @@
#ifndef EDITOR_SCALE_H
#define EDITOR_SCALE_H
-void editor_set_hidpi(bool p_hidpi);
-bool editor_is_hidpi();
+void editor_set_scale(float p_scale);
+float editor_get_scale();
-#define EDSCALE (editor_is_hidpi() ? 2 : 1)
+#define EDSCALE (editor_get_scale())
#endif // EDITOR_SCALE_H