1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-24 07:02:30 +01:00

WINGs: Functions to read the Mouse Wheel conf

These new functions:

unsigned W_getconf_mouseWheelUp(void);
unsigned W_getconf_mouseWheelDown(void);

returns the WINGs configuration for the Mouse Wheel Up and Down
values.
This commit is contained in:
Rodolfo García Peñas (kix)
2013-01-08 16:58:02 +01:00
committed by Carlos R. Mafra
parent 68208a01a0
commit cba94da2cf
2 changed files with 14 additions and 0 deletions

View File

@@ -1830,6 +1830,10 @@ void WMSetFontPanelFont(WMFontPanel *panel, char *fontName);
WMFont* WMGetFontPanelFont(WMFontPanel *panel);
/* ---[ WINGs/configuration.c ]------------------------------------------- */
unsigned W_getconf_mouseWheelUp(void);
unsigned W_getconf_mouseWheelDown(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */

View File

@@ -115,3 +115,13 @@ void W_ReadConfigurations(void)
}
}
unsigned W_getconf_mouseWheelUp(void)
{
return WINGsConfiguration.mouseWheelUp;
}
unsigned W_getconf_mouseWheelDown(void)
{
return WINGsConfiguration.mouseWheelDown;
}