rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=28648bae5505f1c30272d7a70e13b5bb1926e2d0

commit 28648bae5505f1c30272d7a70e13b5bb1926e2d0
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Jan 21 09:58:52 2016 +0200

    property_macro: add macro for manage item with one checkc for programs
    
    Change-Id: I4951dbe7407e4d2e8c07e25492b5ea15bc11bcd8
---
 src/bin/ui/property_macros.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/src/bin/ui/property_macros.h b/src/bin/ui/property_macros.h
index 6149761..5029af9 100644
--- a/src/bin/ui/property_macros.h
+++ b/src/bin/ui/property_macros.h
@@ -1000,6 +1000,29 @@ COMMON_1SPINNER_ADD(PROGRAM, TEXT, SUB, VALUE, MEMBER, 
MIN, MAX, STEP, FMT, \
    COMMON_1SPINNER_UPDATE(SUB, VALUE2, MEMBER, TYPE,  MULTIPLIER, PROGRAM_ARGS)
 
 /*****************************************************************************/
+/*                       PROGRAM 1 CHECK CONTROL                             */
+/*****************************************************************************/
+/**
+ * Macro defines a functions that create an item with label and 1 check
+ *
+ * @see COMMON_2CHECK_ADD
+ *
+ * @ingroup Property_Macro
+ */
+#define PROGRAM_ATTR_1CHECK_ADD(TEXT, SUB, VALUE, MEMBER, TOOLTIP) \
+   COMMON_CHECK_ADD(PROGRAM, TEXT, SUB, VALUE, MEMBER, TOOLTIP, PROGRAM_ARGS)
+
+/**
+ * Macro defines a callback for attribute that controled by check.
+ *
+ * @see COMMON_CHECK_CALLBACK
+ *
+ * @ingroup Property_Macro
+ */
+#define PROGRAM_ATTR_CHECK_CALLBACK(SUB, VALUE, MEMBER, DESCRIPTION) \
+   COMMON_CHECK_CALLBACK(SUB, VALUE, MEMBER, PROGRAM_ARGS, DESCRIPTION)
+
+/*****************************************************************************/
 /*                         PART 1 CHECK CONTROL                              */
 /*****************************************************************************/
 /**

-- 


Reply via email to