mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
8bcb6a290c
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
9 lines
174 B
C++
9 lines
174 B
C++
#ifndef EDITOR_SCALE_H
|
|
#define EDITOR_SCALE_H
|
|
|
|
void editor_set_scale(float p_scale);
|
|
float editor_get_scale();
|
|
|
|
#define EDSCALE (editor_get_scale())
|
|
#endif // EDITOR_SCALE_H
|