#include <Elementary.h>
static void
{
}
static void
{
{
char buff[PATH_MAX];
over = edje_object_add(evas_object_evas_get(parent));
edje_object_file_set(over, buff, "bg_overlay");
}
else
}
static void
{
double val = 0.0;
if (val == 1.0)
else if (val == 2.0)
else if (val == 3.0)
else if (val == 4.0)
}
EAPI_MAIN int
{
char buf[PATH_MAX];
elm_box_pack_end(box, o_bg);
elm_object_text_set(rd, "Center");
elm_box_pack_end(hbox, rd);
rdg = rd;
elm_radio_group_add(rd, rdg);
elm_object_text_set(rd, "Scale");
elm_box_pack_end(hbox, rd);
elm_radio_group_add(rd, rdg);
elm_object_text_set(rd, "Stretch");
elm_box_pack_end(hbox, rd);
elm_radio_group_add(rd, rdg);
elm_object_text_set(rd, "Tile");
elm_box_pack_end(hbox, rd);
elm_object_text_set(rd, "Show Overlay");
elm_box_pack_end(hbox, rd);
elm_spinner_label_format_set(rd, "%.0f");
elm_spinner_special_value_add(rd, 1, "White");
elm_spinner_special_value_add(rd, 2, "Red");
elm_spinner_special_value_add(rd, 3, "Blue");
elm_spinner_special_value_add(rd, 4, "Green");
elm_box_pack_end(hbox, rd);
elm_box_pack_end(box, hbox);
evas_object_resize(win, 460, 320);
return 0;
}
quit when the application's last window is closed
Definition: elm_general.h:248
EAPI Evas_Object * elm_radio_add(Evas_Object *parent)
Add a new radio to the parent.
Definition: efl_ui_radio.c:420
EAPI Evas_Object * elm_box_add(Evas_Object *parent)
Add a new box to the parent.
Definition: elm_box.c:366
Center the background image.
Definition: elm_bg_legacy.h:12
const char * elm_app_data_dir_get(void)
Get the application's run time data prefix directory, as set by elm_app_info_set() and the way (envir...
Definition: elm_main.c:586
#define EINA_UNUSED
Definition: eina_types.h:321
Evas_Object * elm_spinner_add(Evas_Object *parent)
Add a new spinner widget to the given parent Elementary (container) object.
Definition: elm_spinner.c:1352
void elm_spinner_min_max_set(Evas_Object *obj, double min, double max)
Control the minimum and maximum values for the spinner.
Definition: elm_spinner.c:1359
#define EINA_FALSE
Definition: eina_types.h:502
EAPI Eina_Bool elm_bg_file_set(Eo *obj, const char *file, const char *group)
Sets the file (image or edje collection) to give life for the background.
Definition: efl_ui_bg.c:188
Eina_Bool elm_object_style_set(Evas_Object *obj, const char *style)
Set the style to used by a given widget.
Definition: elm_main.c:1610
#define EVAS_HINT_EXPAND
Use with evas_object_size_hint_weight_set(), evas_object_size_hint_weight_get(), evas_object_size_hin...
Definition: Evas_Common.h:292
EAPI void elm_radio_value_set(Evas_Object *obj, int value)
Set the value of the radio group.
Definition: efl_ui_radio.c:427
void evas_object_smart_callback_add(Evas_Object *eo_obj, const char *event, Evas_Smart_Cb func, const void *data)
Add (register) a callback function to the smart event specified by event on the smart object obj.
Definition: evas_object_smart.c:980
Efl_Canvas_Object Evas_Object
Definition: Evas_Common.h:180
Tile background image at its original size.
Definition: elm_bg_legacy.h:17
void elm_object_part_content_set(Evas_Object *obj, const char *part, Evas_Object *content)
Set the content on part of a given container widget.
Definition: elm_main.c:1589
void elm_run(void)
Run Elementary's main loop.
Definition: elm_main.c:1384
EAPI void elm_bg_color_set(Evas_Object *obj, int r, int g, int b)
Sets the color on a given background widget.
Definition: efl_ui_bg.c:138
#define ELM_MAIN()
macro to be used after the elm_main() function
Definition: elm_general.h:528
EAPI void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option)
Sets the mode of display for a given background widget's image.
Definition: efl_ui_bg.c:82
void elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile)
Re-locate the application somewhere else after compilation, if the developer wishes for easier distri...
Definition: elm_main.c:496
double elm_spinner_value_get(const Evas_Object *obj)
Control the value the spinner displays.
Definition: elm_spinner.c:1389
Evas_Object * elm_win_util_standard_add(const char *name, const char *title)
Adds a window object with standard setup.
Definition: efl_ui_win.c:9200
void evas_object_show(Evas_Object *eo_obj)
Makes the given Evas object visible.
Definition: evas_object_main.c:1853
#define EVAS_HINT_FILL
Use with evas_object_size_hint_align_set(), evas_object_size_hint_align_get(), evas_object_size_hint_...
Definition: Evas_Common.h:293
#define EINA_TRUE
Definition: eina_types.h:508
Eina_Bool elm_policy_set(unsigned int policy, int value)
Set a new policy's value (for a given policy group/identifier).
Definition: elm_main.c:1407
EAPI int elm_radio_value_get(const Evas_Object *obj)
Get the value of the radio group.
Definition: efl_ui_radio.c:439
Scale the background image, retaining aspect ratio (default).
Definition: elm_bg_legacy.h:13
EAPI Evas_Object * elm_check_add(Evas_Object *parent)
Add a new Check object.
Definition: efl_ui_check.c:533
Stretch the background image to fill the widget's area.
Definition: elm_bg_legacy.h:15
void elm_win_resize_object_add(Eo *obj, Evas_Object *subobj)
Add subobj as a resize object of window obj.
Definition: efl_ui_win.c:8900
EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj)
Get the state of the check object.
Definition: efl_ui_check.c:378
void elm_win_autodel_set(Eo *obj, Eina_Bool autodel)
Set the window's autodel state.
Definition: efl_ui_win.c:6146
EAPI Evas_Object * elm_bg_add(Evas_Object *parent)
Adds a new background to the parent.
Definition: efl_ui_bg.c:300
under which circumstances the application should quit automatically.
Definition: elm_general.h:227