home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PDA Software Library
/
pdasoftwarelib.iso
/
ZAURUS
/
PILI102
/
HYPERTXT.DOC
< prev
next >
Wrap
Text File
|
1996-12-27
|
4KB
|
96 lines
Here are the hypertext commands:
you will have to include this in your text document.
^n^ where n is the font size (0-3)
^B^ bold
^U^ underline
^I^ italic (reset other attributes)
^R^ reverse
^N^ normal (reset all mode)
^Txxx^ will put xxx value (tag) into the returned register
^filename.bin^ will display the filename.bin image (PILI format)
^xx-yy^ where xx is the new x coordonates and yy the new
y coordonates (ex: ^10-07^ will move cursor into
x=10 and y=7)
^"graphic"^ will display graphic (non selectable)
CAUTION result will depend on the font size.
^END=key_text^ will display key_text as selectable and exit
hypertext mode if key_text is selected
^END="graphic"^ will display graphic as selectable and exit
hypertext mode if selected
^filename.txt=key_text^ will load and display filename if key_text is selected
^filename.txt="graphic"^ will display graphic datas into gprint format
and make it selectable (active Icon) you can add a
'-' to go to line ("FFFFFF-FFFFFF" while produce a
larger icon (16 lines, 3 raw) ).
will load and run filename.txt if icon is pressed.
^:labelname=key_text^ will jump to the ^Llabelname^ into the same document
if key_text is selected
^:labelname="graphic"^ will display graphic datas into gprint format
and make it selectable (active Icon)
will jump to the ^Llabelname^ into the same document
if graphic is pressed
xt yt xb yb -> (x top, y top, x bottom, y bottom)
^filename.txt=!10,10,20,20^ will activate a area and make it selectable
(you can use label also) (active icon). Nothing is displayed.
will load and run filename.txt or jump to label
if icon is pressed.
^eop^ End of Page display (separate pages).
^Llabelname^ Label to be used with ^:xxx=yyyy^ command
graphic library support:
you can use the "@label" syntax where ever you use a normal graphic pattern
it will display the graphic which is at @label (don't forget the 'L' flag for
label, also it must be a valid graphic enclose by ")
here is an example:
^:FAQ="@faq"^
.....
^eop^
^L@faq^
"0F1838F424F424F4241B1C0505040403-FE06030101010101033BEE2414E408F0"
^eop^
See the z-faq.txt text for more example
The 'ON' key will produce a break.
By using the ^Txxx^ command you can make Pili program interact with the
HyperHlp function (for knowing from where user returned).
Here is also a brief description of the graphic command
Picture is display as bitmap, 8 bits patterns are represented as hexadecimal
sequences, where the bit 7 is the most top pixel and the bit 0 the bottom pixel
of the pattern.
ex: 81 will display only 2 pixel one on top and one on bottom
7E will display 6 pixels except the one on top and the one on bottom
by assembling your byte description you can draw pictures
the '-' code will assemble 2 patterns description.
small car graphic (vertical arrangment, 0x01 is the top pixel on screen)
"FF878484F417171C"
small car graphic with a road (vertical arrangment, 0x01 is the top pixel on screen)
"FF878484F417171C-4040404040404040"
small bullet
"0000182442424224180000"
back button icon (placed lower right), INDEX.TXT is the name of the file to
load on action
^1^^N^^44-17^^B^BACK^
^48-17^ ^INDEX.TXT="FF808182848993A589818181FF-FF0181412191C9A591818181FF"^
other graphics (from Bo Lorentzen):
^1^^N^^39-17^^:CUP="0F1838F424F424F4241B1C0505040403-FE06030101010101033BEE2414E408F0"^
^1^^N^^22-17^^:MORE="FF80818181818181F94929180F-FF0155555555555555555501FF"^
^1^^N^^48-17^^:SMILE="FF808182848993A589818181FF-FF0181412191C9A591818181FF"^
^1^^N^^B^^18-17^^32-16^^:Turkey="0003040C1223267D868DB442D3403F90944B3D52291E12110C0300-18A546EAB355AB5DA758A063FC00F028E06099D7AA55B36A974738-0000C040C020A141C1215D37DD7858B957B961C1A121C0A0408000"^