Use existing rectangle-drawing functions for the confidence bar.
Add backgrounds to the (un)locked item groups.