Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(15)  |  Call(15)  |  Derive(0)  |  Import(0)

src/t/e/tethical-HEAD/client/GUI.py   tethical(Download)
 
        bar = Bar(bar='bar-1')
        bar.updateTo(int(float(char['hp'])/float(char['hpmax'])*100))
        self.hpbar = DirectFrame(
            frameColor=(1, 1, 1, 1),
 
        bar = Bar(bar='bar-2')
        bar.updateTo(int(float(char['mp'])/float(char['mpmax'])*100))
        self.mpbar = DirectFrame(
            frameColor=(1, 1, 1, 1),
 
        bar = Bar(bar='bar-3')
        bar.updateTo(int(char['ct']))
        self.ctbar = DirectFrame(
            frameColor=(1, 1, 1, 1),
 
        bar = Bar(bar='bar-1')
        bar.updateTo(int(float(char['hp'])/float(char['hpmax'])*100))
        self.hpbar = DirectFrame(
            frameColor=(1, 1, 1, 1),
 
        bar = Bar(bar='bar-2')
        bar.updateTo(int(float(char['mp'])/float(char['mpmax'])*100))
        self.mpbar = DirectFrame(
            frameColor=(1, 1, 1, 1),