virtualx-engine/tools/editor/editor_scale.h
Juan Linietsky 8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00

8 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