mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-12-22 02:29:56 +00:00
30 lines
549 B
R
30 lines
549 B
R
#ifdef __MWERKS__
|
|
#include <Types.r>
|
|
#else
|
|
#include <Carbon/Carbon.r>
|
|
#endif
|
|
|
|
/*** FILE MENU ***/
|
|
resource 'MENU' (2001)
|
|
{
|
|
2001,
|
|
textMenuProc,
|
|
0xFFFFFFFF,
|
|
enabled,
|
|
"Rectangle Style",
|
|
{
|
|
"Bottom Right", noIcon, noKey, noMark, plain,
|
|
"Width & Height", noIcon, noKey, noMark, plain,
|
|
}
|
|
};
|
|
|
|
resource 'xmnu' (2001, purgeable)
|
|
{
|
|
versionZero
|
|
{
|
|
{
|
|
dataItem { 'rela', kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph },
|
|
dataItem { 'abso', kMenuNoModifiers, currScript, 0, 0, noHierID, sysFont, naturalGlyph }
|
|
}
|
|
};
|
|
}; |