summaryrefslogtreecommitdiff
path: root/ElmSharp
diff options
context:
space:
mode:
authorMariia Borowiec <m.borowiec2@samsung.com>2017-04-03 12:58:38 +0200
committerSeunghyun Choi <sh4682.choi@samsung.com>2017-06-16 16:05:30 +0900
commit7d5fdd0125753db3443111f392e63e1e0b4bde5e (patch)
treee9bb73f819e98c7805a07dec7e9cb67d9302bfc3 /ElmSharp
parent9946e29c4e8c57f72b311fcf249d011ae8314005 (diff)
downloadelm-sharp-7d5fdd0125753db3443111f392e63e1e0b4bde5e.tar.gz
elm-sharp-7d5fdd0125753db3443111f392e63e1e0b4bde5e.tar.bz2
elm-sharp-7d5fdd0125753db3443111f392e63e1e0b4bde5e.zip
Add evas_font_path_global_append method
- Change static class name Evas -> Utility(Will add others) - Change Method name, follow EFL style Change-Id: Ie814ca5eb4253fe62c6269c36f17f1368643048f Signed-off-by: Mariia Borowiec <m.borowiec2@samsung.com>
Diffstat (limited to 'ElmSharp')
-rw-r--r--ElmSharp/ElmSharp/Utility.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/Utility.cs b/ElmSharp/ElmSharp/Utility.cs
new file mode 100644
index 0000000..745153a
--- /dev/null
+++ b/ElmSharp/ElmSharp/Utility.cs
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+namespace ElmSharp
+{
+ public static class Utility
+ {
+ /// <summary>
+ /// Appends a font path to the list of font paths used by the application.
+ /// </summary>
+ /// <param name="path">The new font path.</param>
+ public static void AppendGlobalFontPath(string path)
+ {
+ Interop.Evas.evas_font_path_global_append(path);
+ }
+ }
+} \ No newline at end of file