add c++ class TextLabelCache