consider windows DPI for slider

This commit is contained in:
SoftFever 2023-09-12 22:19:37 +08:00
parent fb4fa4d769
commit a149680eba
2 changed files with 14 additions and 3 deletions

View file

@ -498,6 +498,8 @@ public:
bool load_image(const std::string& filename, wxImage &image);
bool generate_image(const std::string &filename, wxImage &image, wxSize img_size, int method = GERNERATE_IMAGE_RESIZE);
int get_dpi_for_window(const wxWindow *window);
}}