mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
684a1207c0
also added hidpi support to project manager
9 lines
178 B
C++
9 lines
178 B
C++
#ifndef EDITOR_SCALE_H
|
|
#define EDITOR_SCALE_H
|
|
|
|
void editor_set_hidpi(bool p_hidpi);
|
|
bool editor_is_hidpi();
|
|
|
|
#define EDSCALE (editor_is_hidpi() ? 2 : 1)
|
|
#endif // EDITOR_SCALE_H
|