Changing the menu

From LaneWiki

Jump to: navigation, search

Function Page

This data is stored in the SysString register-touch-functionpagesetup. Use

LanePOS/backOffice/tkOffice/sysStrings

http://www.heinous.org/lanepos-strings_register-touch-functionpagesetup.jpg

to edit the setting graphically or

LanePOS/backOffice/utilities/update-sysStrings register-touch-functionpagesetup < tmpfile

and

LanePOS/backOffice/utilities/cat-sysStrings register-touch-functionpagesetup > tmpfile

to edit it at the command line.

The following is the format of the data in that sysString:

page=Function
item=Button's Name
command = print "perl code to eval";
foreground = red
background = green
item = ...
...
end

Menu Pages

Their data is stored in the String register-touch-menusetup. Use

LanePOS/backOffice/tkOffice/strings

http://www.heinous.org/lanepos-strings_register-touch-menusetup.jpg

to edit the setting graphically or

LanePOS/backOffice/utilities/update-strings register-touch-menusetup < tmpfile

and

LanePOS/backOffice/utilities/cat-strings register-touch-menusetup > tmpfile

to edit it at the command line.

The following is the format of the data in that string:

page = Tab's name
item = Button's\nData
plu = productid
foreground = pink
background = black
item = This Item
...
page = Next Page
...
end

All Pages

Strings are manager modifiable while SysStrings require a DB administrator to modify.

The X11 color name list is stored in /usr/X11R6/lib/X11/rgb.txt (or something similar) in most systems. The list is also available here.

Personal tools