home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 December
/
Chip_1999-12_cd.bin
/
zkuste
/
Svet_OS2
/
LCMD0981
/
LCMD0981.ZIP
/
lcmduser.rc
< prev
Wrap
Text File
|
1999-07-28
|
6KB
|
168 lines
// --------------------------------------------------------------------------
//
// $Author: LEL $
// $Revision: 0.981000 $
// $Date: 1999/07/28 20:48:53 $
//
// File: lcmduser.rc
// Definition of the user menu of Larsen Commander.
//
// --------------------------------------------------------------------------
/*
* Define the english texts for the user customizable menu.
*/
GAMESMENU = text (text="Games...")
UTILSMENU = text (text="Utilities...")
MMMENU = text (text="Multimedia...")
EDITORSMENU = text (text="Editors..." hint="Various text editor programs")
larsenCommander = text (text="Larsen Commander" hint="Start another instance of Larsen Commander")
os2CommandShellWin = text (text="OS/2 Command Shell Window" hint="Open a standard OS/2 windowed command line session")
os2CommandShellFS = text (text="OS/2 Command Shell Fullscreen" hint="Open a fullscreen standard OS/2 command line session")
os2SystemEditor = text (text="OS/2 System Editor" hint="Start a new instance of the standard OS/2 text editor")
os2EnhancedEditor = text (text="OS/2 Enhanced Editor" hint="Start a new instance of the OS/2 enhanced text editor")
os2IconEditor = text (text="Icon Editor" hint="Start the standard OS/2 icon editor program")
os2ClipboardViewer = text (text="Clipboard Viewer" hint="Start the standard OS/2 clipboard viewer program")
os2SeekAndScanFiles = text (text="Seek And Scan Files" hint="Start the standard OS/2 file search program")
os2CDPlayer = text (text="CD-Player")
os2Pulse = text (text="Pulse")
os2Klondike = text (text="Klondike")
os2Mahjongg = text (text="Mahjongg")
os2Chess = text (text="Chess")
/*
* Example of how to define an icon that can be associated to one or more
* of the items in the user menu. The below color values are supported:
*
* - = Transparent.
* 0 = Black.
* 1 = Dark Blue.
* 2 = Dark Green.
* 3 = Dark Cyan.
* 4 = Dark Red.
* 5 = Dark Magenta.
* 6 = Brown (Dark Yellow).
* 7 = Gray.
* 8 = Dark Gray.
* 9 = Blue.
* A = Green.
* B = Cyan.
* C = Red.
* D = Magenta.
* E = Yellow.
* F = White.
*/
ICON_CMD_20x20=icon
(
width=20 height=20 colorbits=4
pixels ('---8008-------------'
'--0FFFF08---------00'
'80FF887FF08-----08F0'
'0888F87FCFF80008FFF0'
'088F008FCCCFFFFFCCF0'
'08FFFFFFCCCFCCFCCCF0'
'07F8008FFFCCCCCCCFF0'
'070----80FFFCFCFFF0-'
'00--11111111111111--'
'----11111111111111--'
'----0FFFFFFFFFFFF0--'
'----0F1111111111F0--'
'----0F11FF111F11F0--'
'----0F1F111F1F11F0--'
'----0F1F111111F1F0--'
'----0F11FF1F11F1F0--'
'----0F1111111111F0--'
'----0F1111111111F0--'
'----0FFFFFFFFFFFF0--'
'----00000000000000--')
)
ICON_LCMD_20x20=icon
(
width=20 height=20 colorbits=4
pixels ('---------00---------'
'---------0F00-------'
'-------0007F700-----'
'-------0F0077F700---'
'-----0007F70077F00--'
'-----0F0077F7007060-'
'---0007F70077F07010-'
'---0F0077F700708140-'
'--00FFF0077F07014908'
'-060877FF00708149408'
'064088777F0701494088'
'0D64488877081494088-'
'0646D4488801494088--'
'0D146D64481494088---'
'06D141D641494088----'
'0D6D641D4494088-----'
'-006D646494088------'
'---00D6D44088-------'
'-----0064088--------'
'-------0088---------')
)
/*
* This is the user customizable menu that will show up when pressing the
* F2 key by default. You can freely define any program file of which to
* start whenever the corresponding menu item is selected, as long as the
* menu item or command id equals to "cmdUserCommand". The physical command
* or program name must be specified in the "userdata" parameter of each
* menu item.
*
* You can use any other documented command ID's as well to execute any of
* the supported internal Larsen Commander commands. The command specified
* in the USERDATA parameter will be parsed and executed just as if the text
* was entered in the command line of Larsen Commander. Thus, you can use
* any command aliases if you like.
*
* Optionally you can use the below defined macro "COMMAND" instead
* of "USERDATA". That will make the menu definition somewhat more
* intuitive to read, I guess.
*/
#define COMMAND userdata
UserMenu=menu
(
item (id=cmdUserCommand COMMAND="cmd.exe" text=%os2CommandShellWin icon=ICON_CMD_20x20)
/*
* item (id=cmdUserCommand COMMAND="start /C /FS cmd.exe" text=%os2CommandShellFS)
*/
separator ()
popup (id=UTILSMENU)
(
item (id=cmdUserCommand COMMAND="iconedit.exe" text=%os2IconEditor)
item (id=cmdUserCommand COMMAND="clipos2.exe" text=%os2ClipboardViewer)
item (id=cmdUserCommand COMMAND="pmseek.exe" text=%os2SeekAndScanFiles)
item (id=cmdUserCommand COMMAND="pulse.exe" text=%os2Pulse)
)
popup (id=GAMESMENU)
(
item (id=cmdUserCommand COMMAND="klondike.exe" text=%os2Klondike)
item (id=cmdUserCommand COMMAND="mahjongg.exe" text=%os2Mahjongg)
item (id=cmdUserCommand COMMAND="os2chess.exe" text=%os2Chess)
)
popup (id=MMMENU)
(
item (id=cmdUserCommand COMMAND="cdpm.exe" text=%os2CDPlayer)
)
popup (id=EDITORSMENU)
(
item (id=cmdUserCommand COMMAND="e.exe" text=%os2SystemEditor)
item (id=cmdUserCommand COMMAND="epm.exe" text=%os2EnhancedEditor)
)
separator ()
item (id=cmdUserCommand COMMAND="lcmd.exe" text=%larsenCommander icon=ICON_LCMD_20x20)
)