home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
epmgcc32.zip
/
gccmenu.e
< prev
next >
Wrap
Text File
|
1996-07-06
|
2KB
|
38 lines
/*
╔══════════════════════════════════════════════════════════════════════════════╗
║ What's it called: EPMGCC V3.00 ║
║ ║
║ What does it do: The E source code for the GCC-Interface ║
║ for EPM. This file is included by PROCESSMENUINIT ║
║ in stdctrl.e for setting menu attributes. ║
║ ║
║ Who and When: B. Bablok 12/93 - 07/96 ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
*/
-- since this file is included at the end of PROCESSMENUINIT (via mymnuini.e)
-- we cannot put any global declarations here. We need to use a procedure call
-- to get the value of universal variables.
IF menuid=21 THEN -- GCC menu ID is 21
-- SetMenuAttribute( 2101, 16384, NOT gcc_project_open()) -- gray out items
-- SetMenuAttribute( 2118, 16384, ??????????????) -- select_project
SetMenuAttribute( 2102, 16384, gcc_project_open())
SetMenuAttribute( 2103, 16384, gcc_project_open())
SetMenuAttribute( 2105, 16384, gcc_is_cc_file())
SetMenuAttribute( 2106, 16384, gcc_is_cc_file())
SetMenuAttribute( 2107, 16384, gcc_project_open())
SetMenuAttribute( 2108, 16384, gcc_project_file_exists())
SetMenuAttribute( 2109, 16384, gcc_error_file_exists())
SetMenuAttribute( 2111, 16384, gcc_exe_exists())
SetMenuAttribute( 2112, 16384, gcc_exe_exists())
SetMenuAttribute( 2114, 8192, NOT get_gcc_debug_mode()) -- set checkmark
SetMenuAttribute( 2115, 8192, NOT get_gcc_autosave_mode())
SetMenuAttribute( 2116, 8192, NOT get_gcc_verbose_mode())
SetMenuAttribute( 2117, 8192, NOT get_gcc_remove_mode())
SetMenuAttribute( 2119, 8192, NOT get_gcc_settings_mode())
RETURN
ENDIF