1
MACRO (GENERATE_THEME _target_name _name _option)
2
SET(DefaultTheme_DIR "${WEBKIT_DIR}/efl/DefaultTheme")
5
OUTPUT ${THEME_BINARY_DIR}/${_name}
6
COMMAND ${EDJE_CC_EXECUTABLE} -v ${_option} default.edc ${THEME_BINARY_DIR}/${_name}
9
widget/button/button.edc
10
widget/button/img_button_focus.png
11
widget/button/img_button_hover.png
12
widget/button/img_button_normal.png
13
widget/button/img_button_press.png
14
widget/check/check.edc
15
widget/check/img_check_off_focus.png
16
widget/check/img_check_off_hover.png
17
widget/check/img_check_off.png
18
widget/check/img_check_on_focus.png
19
widget/check/img_check_on_hover.png
20
widget/check/img_check_on.png
21
widget/combo/combo.edc
22
widget/combo/combo_focus_button.png
23
widget/combo/combo_focus.png
24
widget/combo/combo_hover_button.png
25
widget/combo/combo_hover.png
26
widget/combo/combo_normal_button.png
27
widget/combo/combo_normal.png
28
widget/combo/combo_press_button.png
29
widget/combo/combo_press.png
31
widget/entry/entry.edc
32
widget/entry/img_focused.png
33
widget/entry/img_hovered.png
34
widget/entry/img_normal.png
36
widget/file/file_focus.png
37
widget/file/file_hover.png
38
widget/file/file_normal.png
39
widget/file/file_press.png
40
widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png
41
widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png
42
widget/mediacontrol/fullscreenbutton/fullscreen_button.edc
43
widget/mediacontrol/mutebutton/mute_button.edc
44
widget/mediacontrol/mutebutton/mutebutton.png
45
widget/mediacontrol/mutebutton/unmutebutton.png
46
widget/mediacontrol/playpausebutton/pausebutton.png
47
widget/mediacontrol/playpausebutton/playbutton.png
48
widget/mediacontrol/playpausebutton/playpause_button.edc
49
widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc
50
widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png
51
widget/mediacontrol/seekforwardbutton/seekforward_button.edc
52
widget/mediacontrol/seekforwardbutton/seekforwardbutton.png
53
widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png
54
widget/mediacontrol/togglecaptionsbutton/closedcaption.png
55
widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc
56
widget/progressbar/bt_base.png
57
widget/progressbar/progressbar.edc
58
widget/progressbar/shelf_inset.png
59
widget/radio/img_radio_off_focus.png
60
widget/radio/img_radio_off_hover.png
61
widget/radio/img_radio_off.png
62
widget/radio/img_radio_on_focus.png
63
widget/radio/img_radio_on_hover.png
64
widget/radio/img_radio_on.png
65
widget/radio/radio.edc
66
widget/scrollbar/scrollbar.edc
67
widget/scrollbar/scrollbar_h.png
68
widget/scrollbar/scrollbar_knob_h.png
69
widget/scrollbar/scrollbar_knob_v.png
70
widget/scrollbar/scrollbar_v.png
71
widget/search/cancel/cancel_normal_button2.png
72
widget/search/cancel/cancel_normal_button.png
73
widget/search/cancel/search_cancel.edc
74
widget/search/decoration/decoration_normal_button.png
75
widget/search/decoration/search_decoration.edc
76
widget/search/field/field_focused.png
77
widget/search/field/field_hovered.png
78
widget/search/field/field_normal.png
79
widget/search/field/search_field.edc
80
widget/slider/slider.edc
81
widget/slider/slider_fill_h.png
82
widget/slider/slider_fill_v.png
83
widget/slider/slider_h.png
84
widget/slider/slider_thumb_h.png
85
widget/slider/slider_thumb_press_h.png
86
widget/slider/slider_thumb_press_v.png
87
widget/slider/slider_thumb_v.png
88
widget/slider/slider_v.png
89
widget/spinner/sp_bg.png
90
widget/spinner/sp_down_default.png
91
widget/spinner/sp_down_hover.png
92
widget/spinner/sp_down_pressed.png
93
widget/spinner/spinner.edc
94
widget/spinner/sp_up_default.png
95
widget/spinner/sp_up_hover.png
96
widget/spinner/sp_up_pressed.png
97
WORKING_DIRECTORY ${DefaultTheme_DIR}
101
ADD_CUSTOM_TARGET(${_target_name} ALL
102
DEPENDS ${THEME_BINARY_DIR}/${_name}
106
SET(DefaultTheme_DEFINITION "")
107
IF (ENABLE_PROGRESS_ELEMENT)
108
LIST(APPEND DefaultTheme_DEFINITION "-DENABLE_PROGRESS_ELEMENT")
111
GENERATE_THEME(DefaultTheme "default.edj" "${DefaultTheme_DEFINITION}")
112
INSTALL(FILES "${THEME_BINARY_DIR}/default.edj" DESTINATION ${DATA_INSTALL_DIR}/themes)
114
IF (ENABLE_API_TESTS)
115
GENERATE_THEME(BigButtonTheme "big_button_theme.edj" "-DBIG_BUTTON_THEME_FOR_TESTING")