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:
Joey Payne 2014-02-04 22:54:05 -07:00
commit 3a31732a14
5 changed files with 337 additions and 152 deletions

View file

@ -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):