Enlightenment CVS committal Author : leviathan Project : e17 Module : apps/exhibit
Dir : e17/apps/exhibit/src/bin Modified Files: exhibit_main.c Log Message: +/- keyboard shortcuts to zoom in/out =================================================================== RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_main.c,v retrieving revision 1.105 retrieving revision 1.106 diff -u -3 -r1.105 -r1.106 --- exhibit_main.c 22 Jun 2007 20:38:02 -0000 1.105 +++ exhibit_main.c 27 Jun 2007 17:48:28 -0000 1.106 @@ -589,6 +589,12 @@ _ex_main_window_fullscreen_toggle(e); } } + + /* extra keyboard shortcuts, regardless of modifiders */ + if (!strcmp(ev->key, "KP_Add") || !strcmp(ev->key, "plus")) + _ex_tab_current_zoom_in(e); + else if (!strcmp(ev->key, "KP_Subtract") || !strcmp(ev->key, "minus")) + _ex_tab_current_zoom_out(e); /* only active when in full screen mode */ if(etk_window_fullscreen_get(ETK_WINDOW(e->win))) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs