Ejemplo n.º 1
0
void reset_timerperm_cb(guiObject_t *obj, const void *data)
{
    long index = (long)data & 0xff;
    if (index & 0x80) {   // set
        PAGE_PushByID(PAGEID_SETTIMER, index & 0x7f);
    } else  {  // reset
        PAGE_ShowResetPermTimerDialog(obj,(void *)(index & 0x7f));
    }
}
Ejemplo n.º 2
0
void reset_timerperm_cb(guiObject_t *obj, const void *data)
{
    long index = (long)data & 0xff;
// don't include this in Devo7e due to memory restrictions
#if HAS_PERMANENT_TIMER
    if (index & 0x80) {   // set
        current_selected = GUI_ScrollableGetObjRowOffset(&gui->scrollable, GUI_GetSelected());
        PAGE_PushByID(PAGEID_SETTIMER, index & 0x7f);
    } else  // reset
#endif
        PAGE_ShowResetPermTimerDialog(obj,(void *)(index & 0x7f));
}