ported styles.py to styles.h and styles.cpp