home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
macify13.shr
/
macify.hqx
/
Source
/
U
/
EditMenu.c
< prev
next >
Wrap
Text File
|
1991-03-15
|
2KB
|
114 lines
/* EditMenu Handle this menu list */
/* Unit name: EditMenu.c */
/* Function: Handle this specific menu list. */
/* History: 3/15/91 Original by Prototyper 3.0 */
#include "PCommonMacify.h" /* Common */
#include "Common_Macify.h" /* Common */
#include "PUtils_Macify.h" /* General Utilities */
#include "Utils_Macify.h" /* General Utilities */
#include "EditMenu.h" /* This file */
/* ======================================================= */
/* Routine: Do_EditMenu */
/* Purpose: Handle any menu items in this list specially. */
/* Get the main handler to ignore this menu item by changing */
/* SkipProcessing to be TRUE. */
/* This routine is called before the main handler does anything */
/* when Doing_Pre is TRUE, it is called after the main handler */
/* again with Doing_Pre equal to FALSE. */
void Do_EditMenu( Doing_Pre, theItem, SkipProcessing) /* Handle this menu selection */
Boolean Doing_Pre;
short theItem;
Boolean *SkipProcessing;
{
*SkipProcessing = FALSE; /* Set to not skip the processing of this menu item */
switch (theItem) /* Handle all commands in this menu list */
{
case MItem_Undo:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Cut:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Copy:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Paste:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Clear:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Select_All:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
case MItem_Show_Clipboard:
if (Doing_Pre == TRUE)
{
}
else
{
}
break;
default:
break;
} /* End of item case */
} /* End of procedure */
/* ======================================================= */