void help_onDraw(ToxWindow *self) { switch (self->help->type) { case HELP_MENU: help_draw_menu(self); return; case HELP_CHAT: help_draw_chat(self); break; case HELP_GLOBAL: help_draw_global(self); break; case HELP_KEYS: help_draw_keys(self); break; case HELP_CONTACTS: help_draw_contacts(self); break; case HELP_GROUP: help_draw_group(self); break; #ifdef PYTHON case HELP_PLUGIN: help_draw_plugin(self); break; #endif /* PYTHON */ } }
void help_onDraw(ToxWindow *self) { curs_set(0); switch(self->help->type) { case HELP_MENU: help_draw_menu(self); return; case HELP_CHAT: help_draw_chat(self); break; case HELP_GLOBAL: help_draw_global(self); break; case HELP_KEYS: help_draw_keys(self); break; case HELP_CONTACTS: help_draw_contacts(self); break; case HELP_GROUP: help_draw_group(self); break; } }