def setVideoMode(videoMode):
 if haveBitsDLL:
  return _bits.bitsSetVideoMode(videoMode)
 else:
  return 1

def setVideoMode ( videoMode ) : if haveBitsDLL : return _bits . bitsSetVideoMode ( videoMode ) else : return 1
set the video mode of the bits++ bits8bitpalettemode = 0x00000001 # normal vsg mode nogammacorrect = 0x00004000 # no gamma correction mode gammacorrect = 0x00008000 # gamma correction mode videoencodedcomms = 0x00080000 .