diff options
author | JEONGHYUN YUN <jh0506.yun@samsung.com> | 2016-10-31 17:03:36 +0900 |
---|---|---|
committer | JEONGHYUN YUN <jh0506.yun@samsung.com> | 2016-10-31 17:05:19 +0900 |
commit | bf112290ea840a004022930a590a0cd24cd58319 (patch) | |
tree | 3f32d0fbdc567e6d6a9f11836c76c1fbdb26d15b /ElmSharp | |
parent | dc68b2b14eb877eac56380677724c84436000cdb (diff) | |
download | elm-sharp-bf112290ea840a004022930a590a0cd24cd58319.tar.gz elm-sharp-bf112290ea840a004022930a590a0cd24cd58319.tar.bz2 elm-sharp-bf112290ea840a004022930a590a0cd24cd58319.zip |
Add ThemeOverlay() API in Elementary.
Change-Id: I482c7e5250d9475a5213687e01b282a15cb1a133
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Diffstat (limited to 'ElmSharp')
-rwxr-xr-x | ElmSharp/ElmSharp/Elementary.cs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ElmSharp/ElmSharp/Elementary.cs b/ElmSharp/ElmSharp/Elementary.cs index 6213b3f..7b59ed6 100755 --- a/ElmSharp/ElmSharp/Elementary.cs +++ b/ElmSharp/ElmSharp/Elementary.cs @@ -10,10 +10,6 @@ namespace ElmSharp 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() @@ -26,6 +22,14 @@ namespace ElmSharp 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(); |