adds line to ogre widget