A start on docs for VUI.

It's hella crude yet.
This commit is contained in:
Simon Forman
2019-05-06 23:05:50 -07:00
parent 3b09f9c356
commit 663ddab7a7
7 changed files with 66 additions and 6 deletions
+13
View File
@@ -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):