summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
diff options
context:
space:
mode:
authorJiyoun Park <jy0703.park@samsung.com>2013-04-18 14:45:11 +0900
committerJiyoun Park <jy0703.park@samsung.com>2013-04-18 14:45:11 +0900
commit2d0d852fa9e36461f7573824f03ffdcb0269ba77 (patch)
treeb7f9d81c18ea31c9185b7bb58499d1caa92397c2 /src/lib/ecore_x
parent5339ab4501545c6d6758615a393bea2fc9b7feae (diff)
expand indicator type to support if it want more than two indicator type
Diffstat (limited to 'src/lib/ecore_x')
-rw-r--r--src/lib/ecore_x/Ecore_X.h3
-rw-r--r--src/lib/ecore_x/Ecore_X_Atoms.h1
-rw-r--r--src/lib/ecore_x/ecore_x_atoms_decl.h2
-rw-r--r--src/lib/ecore_x/xcb/ecore_xcb_e.c6
-rw-r--r--src/lib/ecore_x/xlib/ecore_x_e.c6
5 files changed, 17 insertions, 1 deletions
diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h
index ddd21a2ff9..a23b1739c6 100644
--- a/src/lib/ecore_x/Ecore_X.h
+++ b/src/lib/ecore_x/Ecore_X.h
@@ -1270,7 +1270,8 @@ typedef enum _Ecore_X_Illume_Indicator_Type_Mode
1270{ 1270{
1271 ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN = 0, 1271 ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN = 0,
1272 ECORE_X_ILLUME_INDICATOR_TYPE_1, 1272 ECORE_X_ILLUME_INDICATOR_TYPE_1,
1273 ECORE_X_ILLUME_INDICATOR_TYPE_2 1273 ECORE_X_ILLUME_INDICATOR_TYPE_2,
1274 ECORE_X_ILLUME_INDICATOR_TYPE_3
1274} Ecore_X_Illume_Indicator_Type_Mode; /**< @since 1.8 */ 1275} Ecore_X_Illume_Indicator_Type_Mode; /**< @since 1.8 */
1275 1276
1276typedef enum _Ecore_X_Illume_Window_State 1277typedef enum _Ecore_X_Illume_Window_State
diff --git a/src/lib/ecore_x/Ecore_X_Atoms.h b/src/lib/ecore_x/Ecore_X_Atoms.h
index 253ff5a29b..12a0cee893 100644
--- a/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -248,6 +248,7 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT;
248EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE; 248EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE;
249EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1; 249EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1;
250EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2; 250EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2;
251EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3;
251EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE; 252EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE;
252EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE; 253EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE;
253EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE; 254EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE;
diff --git a/src/lib/ecore_x/ecore_x_atoms_decl.h b/src/lib/ecore_x/ecore_x_atoms_decl.h
index d5f533b901..37ace98aa9 100644
--- a/src/lib/ecore_x/ecore_x_atoms_decl.h
+++ b/src/lib/ecore_x/ecore_x_atoms_decl.h
@@ -274,6 +274,7 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TRANSPARENT = 0;
274EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE = 0; 274EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE = 0;
275EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1 = 0; 275EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1 = 0;
276EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2 = 0; 276EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2 = 0;
277EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3 = 0;
277EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE = 0; 278EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE = 0;
278EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE = 0; 279EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE = 0;
279EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE = 0; 280EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE = 0;
@@ -585,6 +586,7 @@ const Atom_Item atom_items[] =
585 { "_E_ILLUME_INDICATOR_TYPE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE }, 586 { "_E_ILLUME_INDICATOR_TYPE", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_MODE },
586 { "_E_ILLUME_INDICATOR_TYPE_0", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1 }, 587 { "_E_ILLUME_INDICATOR_TYPE_0", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_1 },
587 { "_E_ILLUME_INDICATOR_TYPE_1", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2 }, 588 { "_E_ILLUME_INDICATOR_TYPE_1", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2 },
589 { "_E_ILLUME_INDICATOR_TYPE_2", &ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3 },
588 { "_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLES", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE }, 590 { "_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLES", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_AVAILABLE_ANGLE },
589 { "_E_ILLUME_ROTATE_WINDOW_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE }, 591 { "_E_ILLUME_ROTATE_WINDOW_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_WINDOW_ANGLE },
590 { "_E_ILLUME_ROTATE_ROOT_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE }, 592 { "_E_ILLUME_ROTATE_ROOT_ANGLE", &ECORE_X_ATOM_E_ILLUME_ROTATE_ROOT_ANGLE },
diff --git a/src/lib/ecore_x/xcb/ecore_xcb_e.c b/src/lib/ecore_x/xcb/ecore_xcb_e.c
index c1ae76c211..8fe0104a64 100644
--- a/src/lib/ecore_x/xcb/ecore_xcb_e.c
+++ b/src/lib/ecore_x/xcb/ecore_xcb_e.c
@@ -1799,6 +1799,9 @@ _ecore_x_e_indicator_type_atom_get(Ecore_X_Illume_Indicator_Type_Mode mode)
1799 case ECORE_X_ILLUME_INDICATOR_TYPE_2: 1799 case ECORE_X_ILLUME_INDICATOR_TYPE_2:
1800 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2; 1800 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2;
1801 1801
1802 case ECORE_X_ILLUME_INDICATOR_TYPE_3:
1803 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3;
1804
1802 default: 1805 default:
1803 break; 1806 break;
1804 } 1807 }
@@ -1814,6 +1817,9 @@ _ecore_x_e_indicator_type_get(Ecore_X_Atom atom)
1814 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2) 1817 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2)
1815 return ECORE_X_ILLUME_INDICATOR_TYPE_2; 1818 return ECORE_X_ILLUME_INDICATOR_TYPE_2;
1816 1819
1820 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3)
1821 return ECORE_X_ILLUME_INDICATOR_TYPE_3;
1822
1817 return ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN; 1823 return ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN;
1818} 1824}
1819 1825
diff --git a/src/lib/ecore_x/xlib/ecore_x_e.c b/src/lib/ecore_x/xlib/ecore_x_e.c
index 29f66376ab..ec0b2af72c 100644
--- a/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -1850,6 +1850,9 @@ _ecore_x_e_indicator_type_atom_get(Ecore_X_Illume_Indicator_Type_Mode mode)
1850 case ECORE_X_ILLUME_INDICATOR_TYPE_2: 1850 case ECORE_X_ILLUME_INDICATOR_TYPE_2:
1851 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2; 1851 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2;
1852 1852
1853 case ECORE_X_ILLUME_INDICATOR_TYPE_3:
1854 return ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3;
1855
1853 default: 1856 default:
1854 break; 1857 break;
1855 } 1858 }
@@ -1865,6 +1868,9 @@ _ecore_x_e_indicator_type_get(Ecore_X_Atom atom)
1865 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2) 1868 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_2)
1866 return ECORE_X_ILLUME_INDICATOR_TYPE_2; 1869 return ECORE_X_ILLUME_INDICATOR_TYPE_2;
1867 1870
1871 if (atom == ECORE_X_ATOM_E_ILLUME_INDICATOR_TYPE_3)
1872 return ECORE_X_ILLUME_INDICATOR_TYPE_3;
1873
1868 return ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN; 1874 return ECORE_X_ILLUME_INDICATOR_TYPE_UNKNOWN;
1869} 1875}
1870 1876