X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp%2FElmSharp%2FUtility.cs;h=9f3d153945429d79960a8a105a8e315d7da5fee3;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=baff80297c99f28e8da5ca2105ca9f7d786aabd7;hpb=09522e322c3272c3d48bdfbec3edd9b22a0822d0;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp/ElmSharp/Utility.cs b/src/ElmSharp/ElmSharp/Utility.cs index baff802..9f3d153 100644 --- a/src/ElmSharp/ElmSharp/Utility.cs +++ b/src/ElmSharp/ElmSharp/Utility.cs @@ -14,14 +14,23 @@ * limitations under the License. */ +using System; + namespace ElmSharp { + /// + /// This class is a static class for utility methods. + /// + /// preview + [Obsolete("This has been deprecated in API12")] public static class Utility { /// /// Appends a font path to the list of font paths used by the application. /// /// The new font path. + /// preview + [Obsolete("This has been deprecated in API12")] public static void AppendGlobalFontPath(string path) { Interop.Evas.evas_font_path_global_append(path); @@ -31,70 +40,90 @@ namespace ElmSharp /// Prepends a font path to the list of font paths used by the application. /// /// The new font path. + /// preview + [Obsolete("This has been deprecated in API12")] public static void PrependEvasGlobalFontPath(string path) { Interop.Evas.evas_font_path_global_prepend(path); } /// - /// Removes all font paths loaded into memory by evas_font_path_app_* APIs for the application. + /// Removes all font paths loaded into the memory by evas_font_path_app_* APIs for the application. /// + /// preview + [Obsolete("This has been deprecated in API12")] public static void ClearEvasGlobalFontPath() { Interop.Evas.evas_font_path_global_clear(); } /// - /// Sets Edje color class. + /// Reinitialize FontConfig. + /// + /// preview + [Obsolete("This has been deprecated in API12")] + public static void FontReinit() + { + Interop.Evas.evas_font_reinit(); + } + + /// + /// Sets the Edje color class. /// - /// Color class - /// Object Red value - /// Object Red value - /// Object Red value - /// Object Red value - /// Outline Red value - /// Outline Green value - /// Outline Blue value - /// Outline Alpha value - /// Shadow Red value - /// Shadow Green value - /// Shadow Bluevalue - /// Shadow Alpha value + /// Color class. + /// Object red value. + /// Object green value. + /// Object blue value. + /// Object alpha value. + /// Outline red value. + /// Outline green value. + /// Outline blue value. + /// Outline alpha value. + /// Shadow red value. + /// Shadow green value. + /// Shadow blue value. + /// Shadow alpha value. /// + /// preview + [Obsolete("This has been deprecated in API12")] public static bool SetEdjeColorClass(string colorClass, int red, int green, int blue, int alpha, int outlineRed, int outlineGreen, int outlineBlue, int outlineAlpha, - int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha) + int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha) { return Interop.Elementary.edje_color_class_set(colorClass, red, green, blue, alpha, outlineRed, outlineGreen, outlineBlue, outlineAlpha, shadowRed, shadowGreen, shadowBlue, shadowAlpha); } /// - /// Gets Edje color class. + /// Gets the Edje color class. /// - /// Color class - /// Object Red value - /// Object Red value - /// Object Red value - /// Object Red value - /// Outline Red value - /// Outline Green value - /// Outline Blue value - /// Outline Alpha value - /// Shadow Red value - /// Shadow Green value - /// Shadow Bluevalue - /// Shadow Alpha value + /// Color class. + /// Object red value. + /// Object green value. + /// Object blue value. + /// Object alpha value. + /// Outline red value. + /// Outline green value. + /// Outline blue value. + /// Outline alpha value. + /// Shadow red value. + /// Shadow green value. + /// Shadow blue value. + /// Shadow alpha value. /// + /// preview + [Obsolete("This has been deprecated in API12")] public static bool GetEdjeColorClass(string colorClass, out int red, out int green, out int blue, out int alpha, out int outlineRed, out int outlineGreen, out int outlineBlue, - out int outlineAlpha, out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha) + out int outlineAlpha, out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha) { return Interop.Elementary.edje_color_class_get(colorClass, out red, out green, out blue, out alpha, out outlineRed, out outlineGreen, out outlineBlue, out outlineAlpha, out shadowRed, out shadowGreen, out shadowBlue, out shadowAlpha); } /// - /// Processes all queued up edje messages. + /// Processes all the queued up edje messages. /// This function triggers the processing of messages addressed to any (alive) edje objects. /// + /// preview + [Obsolete("This has been deprecated in API12")] public static void ProcessEdjeMessageSignal() { Interop.Elementary.edje_message_signal_process(); @@ -103,10 +132,12 @@ namespace ElmSharp /// /// Sets the Edje text class. /// - /// The text class name - /// The font name - /// The font size - /// True, on success or false, on error + /// The text class name. + /// The font name. + /// The font size. + /// True on success, or False on error. + /// preview + [Obsolete("This has been deprecated in API12")] public static bool SetEdjeTextClass(string textClass, string font, int size) { return Interop.Elementary.edje_text_class_set(textClass, font, size); @@ -115,10 +146,12 @@ namespace ElmSharp /// /// Gets the Edje text class. /// - /// The text class name - /// The font name - /// The font size - /// True, on success or false, on error + /// The text class name. + /// The font name. + /// The font size. + /// True on success, or False on error. + /// preview + [Obsolete("This has been deprecated in API12")] public static bool GetEdjeTextClass(string textClass, out string font, out int size) { return Interop.Elementary.edje_text_class_get(textClass, out font, out size); @@ -127,31 +160,37 @@ namespace ElmSharp /// /// Delete the text class. /// - /// + /// The text class name. + /// preview + [Obsolete("This has been deprecated in API12")] public static void DeleteEdjeTextClass(string textClass) { Interop.Elementary.edje_text_class_del(textClass); } /// - /// Pre-multiplies a rgb triplet by an alpha factor. + /// Pre-multiplies the RGB triplet by an alpha factor. /// - /// The alpha factor - /// The Red component of the color - /// The Green component of the color - /// The Blue component of the color + /// The alpha factor. + /// The red component of the color. + /// The green component of the color. + /// The blue component of the color. + /// preview + [Obsolete("This has been deprecated in API12")] public static void PremulityplyEvasColorByAlpha(int alpha, ref int red, ref int green, ref int blue) { Interop.Evas.evas_color_argb_premul(alpha, ref red, ref green, ref blue); } /// - /// Undoes pre-multiplies a rgb triplet by an alpha factor. + /// Undoes pre-multiplication of the RGB triplet by an alpha factor. /// - /// The alpha factor - /// The Red component of the color - /// The Green component of the color - /// The Blue component of the color + /// The alpha factor. + /// The red component of the color. + /// The green component of the color. + /// The blue component of the color. + /// preview + [Obsolete("This has been deprecated in API12")] public static void UnPremulityplyEvasColorByAlpha(int alpha, ref int red, ref int green, ref int blue) { Interop.Evas.evas_color_argb_unpremul(alpha, ref red, ref green, ref blue);