widget: Use enum for orientation_mode
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 19 Jan 2018 06:55:19 +0000 (15:55 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 3 Apr 2018 04:28:28 +0000 (13:28 +0900)
commit9e61122ac8f7aad51b5b79c2deae703bb93ea8ca
tree63414c355d521b5b46a40e1d6560c32c1c34cd88
parent5ef75729efc2775cf97ab08bd138c1156a46b2dd
widget: Use enum for orientation_mode

This was proposed by Dave on the ML, I think it makes sense. Right now
the enum is just like the boolean, feature-wise, but it makes more sense
semantically (mode is not a bool) and allows for future extension (eg.
only apply orientation update for landscape vs. portrait modes).

There is absolutely zero testing for this in our existing codebase. Yay.
src/lib/elementary/efl_ui.eot
src/lib/elementary/efl_ui_widget.c
src/lib/elementary/efl_ui_widget.eo
src/lib/elementary/elm_main.c