public static void Initialize()
{
Interop.Elementary.elm_init(0, null);
- if (File.Exists(_themeFilePath))
- {
- Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, _themeFilePath);
- }
}
public static void Shutdown()
Interop.Elementary.elm_run();
}
+ public static void ThemeOverlay()
+ {
+ if (File.Exists(_themeFilePath))
+ {
+ Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, _themeFilePath);
+ }
+ }
+
public static double GetSystemScrollFriction()
{
return Interop.Elementary.elm_config_scroll_bring_in_scroll_friction_get();
ResourceDir = Path.Combine(Path.GetDirectoryName(typeof(TestRunner).GetTypeInfo().Assembly.Location), "res");
Elementary.Initialize();
+ Elementary.ThemeOverlay();
EcoreSynchronizationContext.Initialize();