HUD function exracted to the class
cDizPaint