Exemplo n.º 1
0
void ProgressData::setItemChanged(int itemID)
{
	if (itemChanged.size()> (unsigned int) itemID) itemChanged.at(itemID)=0;
	resetIdleTime(itemID);
	lastChangedItem=itemID;
	callEvent();
}
Exemplo n.º 2
0
void down_single_click_handler(ClickRecognizerRef recognizer, void *context) {
	resetIdleTime();
	if (watch_otp_count) {
		if (otp_selected == (watch_otp_count-1))
			otp_selected = 0;
		else
			otp_selected++;
		
		refresh_screen_data(UP);
	}
}
Exemplo n.º 3
0
void up_single_click_handler(ClickRecognizerRef recognizer, void *context) {
	resetIdleTime();
	if (watch_otp_count) {
		if (otp_selected == 0)
			otp_selected = (watch_otp_count-1);
		else
			otp_selected--;
		
		refresh_screen_data(DOWN);
	}
}
Exemplo n.º 4
0
static void multi_code_menu_selection_changed_callback(struct MenuLayer *menu_layer, MenuIndex new_index, MenuIndex old_index, void *callback_context) {
	if (!refresh_required)
		otp_selected = new_index.row;
	resetIdleTime();
}
Exemplo n.º 5
0
static void multi_code_menu_select_long_callback(struct MenuLayer *menu_layer, MenuIndex *cell_index, void *context) {
	resetIdleTime();
	switch_window_layout();
}
Exemplo n.º 6
0
static void multi_code_menu_select_callback(struct MenuLayer *menu_layer, MenuIndex *cell_index, void *context) {
	resetIdleTime();
	otp_selected = cell_index->row;
	push_select_window(otp_selected);
}
Exemplo n.º 7
0
void select_long_click_handler(ClickRecognizerRef recognizer, void *context) {
	resetIdleTime();
	switch_window_layout();
}
Exemplo n.º 8
0
void select_single_click_handler(ClickRecognizerRef recognizer, void *context) {
	resetIdleTime();
	if (watch_otp_count)
		push_select_window(otp_selected);
}