| 9669 | |
| 9670 | |
| 9671 | int GuiType::ControlInvertSliderIfNeeded(GuiControlType &aControl, int aPosition) |
| 9672 | // Caller has ensured that aControl.type is slider. |
| 9673 | { |
| 9674 | return (aControl.attrib & GUI_CONTROL_ATTRIB_ALTBEHAVIOR) |
| 9675 | ? ((int)SendMessage(aControl.hwnd, TBM_GETRANGEMAX, 0, 0) - aPosition) + (int)SendMessage(aControl.hwnd, TBM_GETRANGEMIN, 0, 0) |
| 9676 | : aPosition; // No inversion necessary. |
| 9677 | } |
| 9678 | |
| 9679 | |
| 9680 |
nothing calls this directly
no outgoing calls
no test coverage detected