Enlightenment CVS committal Author : dj2 Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_ipc_handlers.h Log Message: - add in -menus-scroll-speed-get/set =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_ipc_handlers.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- e_ipc_handlers.h 3 Jun 2005 18:05:55 -0000 1.21 +++ e_ipc_handlers.h 3 Jun 2005 18:15:04 -0000 1.22 @@ -602,11 +602,10 @@ /****************************************************************************/ #define HDL E_IPC_OP_FRAMERATE_SET #if (TYPE == E_REMOTE_OPTIONS) - OP("-framerate-set", 1, "Get the animation framerate (fps)", 0, HDL) + OP("-framerate-set", 1, "Set the animation framerate (fps)", 0, HDL) #elif (TYPE == E_REMOTE_OUT) REQ_DOUBLE(atof(params[0]), HDL); #elif (TYPE == E_WM_IN) - double dbl; START_DOUBLE(dbl, HDL); e_config->framerate = dbl; e_config_save_queue(); @@ -639,6 +638,46 @@ #endif #undef HDL + +/****************************************************************************/ +#define HDL E_IPC_OP_MENUS_SCROLL_SPEED_SET +#if (TYPE == E_REMOTE_OPTIONS) + OP("-menus-scroll-speed-set", 1, "Set the scroll speed of menus (pixels/sec)", 0, HDL) +#elif (TYPE == E_REMOTE_OUT) + REQ_DOUBLE(atof(params[0]), HDL); +#elif (TYPE == E_WM_IN) + START_DOUBLE(dbl, HDL); + e_config->menus_scroll_speed = dbl; + e_config_save_queue(); + END_DOUBLE(); +#elif (TYPE == E_REMOTE_IN) +#endif +#undef HDL + +/****************************************************************************/ +#define HDL E_IPC_OP_MENUS_SCROLL_SPEED_GET +#if (TYPE == E_REMOTE_OPTIONS) + OP("-menus-scroll-speed-get", 0, "Get the scroll speed of menus (pixels/sec)", 1, HDL) +#elif (TYPE == E_REMOTE_OUT) + REQ_NULL(HDL); +#elif (TYPE == E_WM_IN) + SEND_DOUBLE(e_config->menus_scroll_speed, E_IPC_OP_MENUS_SCROLL_SPEED_GET_REPLY, HDL); +#elif (TYPE == E_REMOTE_IN) +#endif +#undef HDL + +/****************************************************************************/ +#define HDL E_IPC_OP_MENUS_SCROLL_SPEED_GET_REPLY +#if (TYPE == E_REMOTE_OPTIONS) +#elif (TYPE == E_REMOTE_OUT) +#elif (TYPE == E_WM_IN) +#elif (TYPE == E_REMOTE_IN) + START_DOUBLE(speed, HDL); + printf("REPLY: %3.3f\n", speed); + END_DOUBLE(); +#endif +#undef HDL + #if 0 } #endif ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs