summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-06-19 05:22:34 +0000
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>2017-06-19 05:22:34 +0000
commitd1f42ae4de98bb31abf005ab8e03dc1caa6c78a4 (patch)
tree1d7915bb25332022399cbd957b3678a5b4e1c2c3
parent2abbf5c5e0eab986c03e7b44c6892c8f60921ad4 (diff)
parent7d5fdd0125753db3443111f392e63e1e0b4bde5e (diff)
downloadelm-sharp-d1f42ae4de98bb31abf005ab8e03dc1caa6c78a4.tar.gz
elm-sharp-d1f42ae4de98bb31abf005ab8e03dc1caa6c78a4.tar.bz2
elm-sharp-d1f42ae4de98bb31abf005ab8e03dc1caa6c78a4.zip
Merge "Add evas_font_path_global_append method" into tizen
-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