117 |
|
|
118 |
combiners = "Enable" |
combiners = "Enable" |
119 |
|
|
120 |
def __init__(self, border, w, h, ripple): |
def __init__(self, x0, y0, x1, y1, border, ripple): |
121 |
print "Texture id:", self.tex.getTexId() |
print "Texture id:", self.tex.getTexId() |
122 |
|
|
123 |
code = """ |
code = """ |
164 |
self.combiners) |
self.combiners) |
165 |
|
|
166 |
|
|
167 |
self.content = GLRen.createIrregularQuad(border, w, h, ripple, 0, code) |
self.content = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 0, code) |
168 |
self.frame = GLRen.createIrregularQuad(border, w, h, ripple, 1, code) |
self.frame = GLRen.createIrregularQuad(x0, y0, x1, y1, border, ripple, 1, code) |
169 |
|
|