summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_radio.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-12-12 15:55:43 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-12-13 13:47:48 +0900
commit3136500fbeba47538ebdf95ead9ef49a4579db3d (patch)
tree814dbaf2a3885dbf7fc2391e3a73dc85989a08f0 /src/lib/elementary/elm_radio.h
parent1264fb4af2d8cc98fc43589253c1988650b80880 (diff)
elm: Uniform change event for nstate,radio,check
I added convenience macros for check and radio, easing discoverability in C. This will avoid C# issues such as: lib/elementary/elm_pan.eo.cs(14,23): warning CS0108: `elm.Pan.CHANGED' hides inherited member `efl.Gfx.CHANGED'. Use the new keyword if hiding was intended lib/efl/interfaces/efl_gfx.eo.cs(24,23): (Location of the symbol related to previous warning) Since nstate is not a legacy widget, I can safely change the event name and the test case.
Diffstat (limited to 'src/lib/elementary/elm_radio.h')
-rw-r--r--src/lib/elementary/elm_radio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_radio.h b/src/lib/elementary/elm_radio.h
index 03c266d..4a58cac 100644
--- a/src/lib/elementary/elm_radio.h
+++ b/src/lib/elementary/elm_radio.h
@@ -66,6 +66,7 @@
66 66
67#ifdef EFL_EO_API_SUPPORT 67#ifdef EFL_EO_API_SUPPORT
68#include "efl_ui_radio_eo.h" 68#include "efl_ui_radio_eo.h"
69#define EFL_UI_RADIO_EVENT_CHANGED EFL_UI_NSTATE_EVENT_CHANGED
69#endif 70#endif
70#ifndef EFL_NOLEGACY_API_SUPPORT 71#ifndef EFL_NOLEGACY_API_SUPPORT
71#include "elm_radio_legacy.h" 72#include "elm_radio_legacy.h"