def setSurfaces(self, normalSurface, downSurface=None, highlightSurface=None):
        if downSurface is None:
            downSurface = normalSurface
        if highlightSurface is None:
            highlightSurface = normalSurface

        if type(normalSurface) == str:
            self.origSurfaceNormal = pygame.image.load(normalSurface)
        if type(downSurface) == str:
            self.origSurfaceDown = pygame.image.load(downSurface)
        if type(highlightSurface) == str:
            self.origSurfaceHighlight = pygame.image.load(highlightSurface)

        if self.origSurfaceNormal.get_size() != self.origSurfaceDown.get_size() != self.origSurfaceHighlight.get_size():
            raise Exception('foo')

        self.surfaceNormal = self.origSurfaceNormal
        self.surfaceDown = self.origSurfaceDown
        self.surfaceHighlight = self.origSurfaceHighlight
        self.customSurfaces = True
        self._rect = pygame.Rect((self._rect.left, self._rect.top, self.surfaceNormal.get_width(), self.surfaceNormal.get_height()))
encrypt(plaintext:string|long, K:string|long) : tuple
dataset/ETHPy150Open jonaslorander/OctoPiPanel/pygbutton.py/PygButton.setSurfaces--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/Crypto/PublicKey/pubkey.py/pubkey.encrypt