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:
committed by
Carlos R. Mafra
parent
68208a01a0
commit
cba94da2cf
@@ -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 */
|
||||
|
||||
@@ -115,3 +115,13 @@ void W_ReadConfigurations(void)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
unsigned W_getconf_mouseWheelUp(void)
|
||||
{
|
||||
return WINGsConfiguration.mouseWheelUp;
|
||||
}
|
||||
|
||||
unsigned W_getconf_mouseWheelDown(void)
|
||||
{
|
||||
return WINGsConfiguration.mouseWheelDown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user