Use C-style constants and clean up Libvidgfx usage