def pageHeaderCode(self, page, verbose): """ Generate page header code. """ if verbose: inform('generate page [ %s ] headers code' % page['name']) return NCodeGen.pagesHeader(page)
def pageHeaderCode(self, page, verbose): """ Generate page header code. """ if verbose: inform("generate page [ %s ] headers code" % page["name"]) return NCodeGen.pagesHeader(page)
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)
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)
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)
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)