I cant have a screenshot attachment because of the java uploader only uploading zip files for some reason, but here:

In order to use this, I'd highly recommend you "merge" the zip file (of course after modding it the way you like) with your game to save time.
Download the zip for more information

The functions:
to make the control bar smooth, put isSmooth = true;
to make the control bar have a border, put hasBorder = true;
Note that these functions should be called before "ControlBar(r, g, b);"
Enjoy