def getAreaFor(self, function):
    if (function == 'title'):
        return (0, (self.dispH - self.bannerHeight), self.dispW, self.bannerHeight)
    elif (function == 1):
        return (0, 0, self.dispW, self.bannerHeight)
    elif (function <= 5):
        return ((self.dispW // 2), ((((5 - function) * self.dispH) // 4) + self.bannerHeight), (self.dispW // 2), ((self.dispH // 4) - (2 * self.bannerHeight)))
    else:
        return (0, ((((9 - function) * self.dispH) // 4) + self.bannerHeight), (self.dispW // 2), ((self.dispH // 4) - (2 * self.bannerHeight)))
def getAreaFor(self, function):
    if (function == 'title'):
        return (0, (self.dispH - self.bannerHeight), self.dispW, self.bannerHeight)
    elif (function == 1):
        return (0, 0, self.dispW, self.bannerHeight)
    elif (function <= 5):
        return ((self.dispW // 2), ((((5 - function) * self.dispH) // 4) + self.bannerHeight), (self.dispW // 2), ((self.dispH // 4) - (2 * self.bannerHeight)))
    else:
        return (0, ((((9 - function) * self.dispH) // 4) + self.bannerHeight), (self.dispW // 2), ((self.dispH // 4) - (2 * self.bannerHeight)))