From fd0fb71fd073a1f1df52b75a9b95059307813f42 Mon Sep 17 00:00:00 2001 From: woochan lee Date: Wed, 10 Dec 2014 23:46:18 +0900 Subject: [PATCH] elm_widget_progressbar.c: added description of Progressbar data Summary: added description. Reviewers: Hermet, woohyun, seoz Reviewed By: seoz Differential Revision: https://phab.enlightenment.org/D1709 --- .../src/lib/elm_widget_progressbar.h | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/legacy/elementary/src/lib/elm_widget_progressbar.h b/legacy/elementary/src/lib/elm_widget_progressbar.h index 7180920f6f..072d4ec453 100644 --- a/legacy/elementary/src/lib/elm_widget_progressbar.h +++ b/legacy/elementary/src/lib/elm_widget_progressbar.h @@ -28,20 +28,20 @@ typedef struct _Elm_Progress_Status Elm_Progress_Status; struct _Elm_Progressbar_Data { - Evas_Object *spacer; - const char *units; + Evas_Object *spacer; /**< The rect actual progressbar area, gets the progressbar size and gets the events */ + const char *units; /**< The units will be displayed on progressbar */ - Evas_Coord size; - double val; + Evas_Coord size; /**< Width or height of progressbar */ + double val; /**< Value of progressbar */ - Eina_Bool horizontal : 1; - Eina_Bool inverted : 1; - Eina_Bool pulse : 1; - Eina_Bool pulse_state : 1; - Eina_List *progress_status; + Eina_Bool horizontal : 1; /**< Whether progressbar style is horizontal */ + Eina_Bool inverted : 1; /**< Whether direction of progressbar is LTR */ + Eina_Bool pulse : 1; /**< Whether object is put in the pulsing mode */ + Eina_Bool pulse_state : 1; /**< To start the pulsing animation, otherwise to stop it */ + Eina_List *progress_status; /**< The list of _Elm_Progress_Status. To save the progress value(in percentage) each part of given progress bar */ - char *(*unit_format_func)(double val); - void (*unit_format_free)(char *str); + char *(*unit_format_func)(double val); /**< The function pointer will be called when user wants to set a customized unit format */ + void (*unit_format_free)(char *str); /**< The freeing function for the format string */ }; struct _Elm_Progress_Status