Error on BSlider documentation

https://www.haiku-os.org/legacy-docs/bebook/BSlider_Overview.html

const rgb_color kWhiteGray = {235,235,235,255); // ← change “)” to “}”

line
v->SetHighColor(kWhiteGrayColor);
need to be changed to:
v->SetHighColor(kWhiteGray);

The BeBook is under a restrictive license. Haiku doesn’t have permission to modify it.

1 Like

Thanks for this precision.