A start on docs for VUI.
It's hella crude yet.
This commit is contained in:
@@ -17,11 +17,20 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with joy.py. If not see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
'''
|
||||
|
||||
Viewer
|
||||
=================
|
||||
|
||||
'''
|
||||
import pygame
|
||||
from joy.vui.core import BACKGROUND, FOREGROUND
|
||||
|
||||
|
||||
class Viewer(object):
|
||||
'''
|
||||
Base Viewer class
|
||||
'''
|
||||
|
||||
MINIMUM_HEIGHT = 11
|
||||
|
||||
@@ -97,6 +106,10 @@ class Viewer(object):
|
||||
|
||||
class MenuViewer(Viewer):
|
||||
|
||||
'''
|
||||
MenuViewer class
|
||||
'''
|
||||
|
||||
MINIMUM_HEIGHT = 26
|
||||
|
||||
def __init__(self, surface):
|
||||
|
||||
Reference in New Issue
Block a user