blob: ec94bdf00ba770ac9fe31435197e088803c5a58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <wx/string.h>
// Platform-specific initialisation code.
void spek_platform_init();
// Not quite XDG-compatible, but close enough.
wxString spek_platform_config_path(const wxString& app_name);
// Setting non-default locale under GTK+ is tricky (see e.g. how FileZilla does it). We will
// just disable the language setting for GTK+ users and will always use the system locale.
bool spek_platform_can_change_language();
// Fonts are smaller on OSX.
double spek_platform_font_scale();
|