Keyboard input

This commit is contained in:
elasota
2019-12-25 22:20:10 -05:00
parent 5cb9b85396
commit ac3929fb1f
34 changed files with 1003 additions and 708 deletions

View File

@@ -7,6 +7,7 @@
#include "PLToolUtils.h"
#include "PLKeyEncoding.h"
#include "Externs.h"
#include "ObjectEdit.h"
#include "RectUtils.h"
@@ -738,7 +739,7 @@ Boolean AddNewObject (Point where, short what, Boolean showItNow)
case kFlower:
GetKeys(theseKeys);
if (!BitTst(&theseKeys, kShiftKeyMap))
if (!BitTst(theseKeys, PL_KEY_EITHER_SPECIAL(kShift)))
wasFlower = RandomInt(kNumFlowers);
newRect = flowerSrc[wasFlower];
CenterRectOnPoint(&newRect, where);