Example #1
0
    def pageHeaderCode(self, page, verbose):
        """ Generate page header code.
        """
        if verbose:
            inform('generate page [ %s ] headers code' % page['name'])

        return NCodeGen.pagesHeader(page)
Example #2
0
    def pageHeaderCode(self, page, verbose):
        """ Generate page header code.
        """
        if verbose:
            inform("generate page [ %s ] headers code" % page["name"])

        return NCodeGen.pagesHeader(page)
Example #3
0
    def objectsHeaderCode(self, page, bitmaps, fonts, verbose):
        """ Generate objects(Labels, Bitmaps, Buttons, etc.) header code
            for gived page.
        """
        if verbose:
            inform('generate object headers code for page [ %s ]' % page['name'])

        return NCodeGen.generateObjectsHeader(page, bitmaps, fonts)
Example #4
0
    def pageCode(self, page, bitmaps, fonts, verbose):
        """ Generate code (page struct, events functions, page draw func, etc.)
            for gived page.
        """
        if verbose:
            inform('generate page code for [ %s ] ' % page['name'])

        return NCodeGen.generetePageCode(page, bitmaps, fonts)
Example #5
0
    def objectsHeaderCode(self, page, bitmaps, fonts, verbose):
        """ Generate objects(Labels, Bitmaps, Buttons, etc.) header code
            for gived page.
        """
        if verbose:
            inform("generate object headers code for page [ %s ]" % page["name"])

        return NCodeGen.generateObjectsHeader(page, bitmaps, fonts)
Example #6
0
    def pageCode(self, page, bitmaps, fonts, verbose):
        """ Generate code (page struct, events functions, page draw func, etc.)
            for gived page.
        """
        if verbose:
            inform("generate page code for [ %s ] " % page["name"])

        return NCodeGen.generetePageCode(page, bitmaps, fonts)