MCPcopy Create free account
hub / github.com/diasurgical/devilution / gmenu_slider_steps

Function gmenu_slider_steps

Source/gmenu.cpp:406–410  ·  view source on GitHub ↗

* @brief Set the number of steps for the slider */

Source from the content-addressed store, hash-verified

404 * @brief Set the number of steps for the slider
405 */
406void gmenu_slider_steps(TMenuItem *pItem, int steps)
407{
408 pItem->dwFlags &= 0xFF000FFF;
409 pItem->dwFlags |= (steps << 12) & 0xFFF000;
410}
411
412DEVILUTION_END_NAMESPACE

Callers 2

gamemenu_get_gammaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected