mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-08-31 19:29:11 +00:00
30 lines
629 B
R
30 lines
629 B
R
#if defined(__APPLE_CC__) // compiling with gcc
|
|
#include <Carbon/Carbon.r>
|
|
#else // compiling with CodeWarrior, __MWERKS__
|
|
#include <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 }
|
|
}
|
|
};
|
|
}; |