/*************************/
/* Font display test     */
/*   Click me!!          */
/*************************/

<<<Explanation>>>
Display word by using onHand/Ruputer a cursor pointer.

Left key  --- 	Display "Left" at left side
Right key --- 	Display "Right" at right side
Up key   --- 	Display "Up" at up side
Down key --- 	Display "Down" at down side
MENU key --- 	exit

<<<Source File>>>

#include<*****> <> is used if it is C language standard library.
#include"*****" When a user creates a library, "" is used.

int main(void){} 
 This function is required in the standard main routine.

screen(1)
 This is the setting of onHand/Ruputer display mode.
 Usually 1=GVRAM(320x240)
 Actual LCD display area is 102x64
 Set the left upper corner to x=0, y=0

cls(4)
 Clear all range of GVRAM display.
 In general, 4=GVRAM mode.

gv_kput();
 Strings are displayed in any GVRAM.
 
 Format
  gv_kput(x,y,str,size,space,logic)

  int   x     Display start point of GVRAM coordinate x(from the left margin)
  int   y     Display start point of GVRAM coordinate y(from the upper margin)
  char *str   Display strings
  int   size  Character size fixed font        12dot=0,10dot=1,8dot=2,
							 proportional font 12dot=5,10dot=6,8dot=7
  int   space Character interval space (usually 0)
  int   logic Usually 0. XOR and INVERTE can be used.

Bkey_D  --- The value of Menu key was defined in Rupsys.h
Bkey_up --- The value of up key was defined in Rupsys.h
Bkey_dw --- The value of down key was defined in Rupsys.h
Bkey_lf --- The value of left key was defined in Rupsys.h
Bkey_rg --- The value of right key was defined in Rupsys.h

bi_getbtn()
 The state of key is returned.
 This function is not returned until the key event occurs (press down or press up).

** Format **
  int bi_getbtn()

  Return value
  		 The key state when the key event occurs (press down or press up).
         Each key is allocated by 1 bit from all 8 bit.
         It is defined in Rupsys.h  Refer to this.

getUsWdot()
 Calculation of width of proportional font (size=5,6,7 only)

** Format **
  int getUsWdot(int size, char* str)

  Return value
        Return the number of width dot required to display a string shown with str in a proportional font specified by argument.


gv_place()
 This sets the coordinate within GVRAM 320x240 and the left-upper of LCD(102x64) display.

** Format **
  gv_place(x,y)

  int   x     Display start point of GVRAM coordinate x(from the left margin)
  int   y     Display start point of GVRAM coordinate y(from the upper margin)


===============================================================================
 Copyright (c) 1998-1999.  Seiko Instruments Inc.  All rights reserved. 
===============================================================================
