Range Slider in cocos2dx

I want a ranged slider like thie image attahed. How to make this?