Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)
Exemple #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)