2017-11-20 02:12:49 -08:00
|
|
|
#ifndef EFL_UI_SPIN_BUTTON_PRIVATE_H
|
|
|
|
#define EFL_UI_SPIN_BUTTON_PRIVATE_H
|
|
|
|
|
|
|
|
typedef struct _Efl_Ui_Spin_Button_Data Efl_Ui_Spin_Button_Data;
|
|
|
|
struct _Efl_Ui_Spin_Button_Data
|
|
|
|
{
|
|
|
|
double interval, first_interval;
|
|
|
|
Evas_Object *ent, *inc_button, *dec_button, *text_button;
|
|
|
|
Ecore_Timer *delay_change_timer; /**< a timer for a delay,changed smart callback */
|
|
|
|
Ecore_Timer *spin_timer; /**< a timer for a repeated spinner value change on mouse down */
|
2018-08-29 22:01:21 -07:00
|
|
|
Ecore_Timer *longpress_timer; /**< a timer to detect long press. After longress timeout,
|
2017-11-20 02:12:49 -08:00
|
|
|
start continuous change of values until mouse up */
|
2019-05-24 09:30:31 -07:00
|
|
|
Efl_Ui_Layout_Orientation dir;
|
2018-08-20 21:52:28 -07:00
|
|
|
|
2017-11-20 02:12:49 -08:00
|
|
|
Eina_Bool entry_visible : 1;
|
|
|
|
Eina_Bool entry_reactivate : 1;
|
|
|
|
Eina_Bool editable : 1;
|
|
|
|
Eina_Bool inc_val : 1;
|
2017-12-10 23:30:31 -08:00
|
|
|
Eina_Bool circulate : 1;
|
2017-11-20 02:12:49 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|