Refactored a lot of code. Added a preliminary text window
Put configuration options for window so that the rendering is controlled on initialization of window. Improved clip function to only clip before the borders. Added a border radius class for initializing separate border radii for each corner.
This commit is contained in:
parent
a8a01bf384
commit
3a31732a14
5 changed files with 337 additions and 152 deletions
2
test.py
2
test.py
|
|
@ -8,7 +8,7 @@ import sys
|
|||
from direct.showbase.ShowBase import ShowBase
|
||||
from pandac.PandaModules import *
|
||||
|
||||
from jgui.surface.surface import *
|
||||
from testclasses import *
|
||||
|
||||
class Test(ShowBase):
|
||||
def __init__(self, width=1024, height=1024):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue