[qwaq] Add gfGrowNone and a grow mode setter

gfGrowNone is just to allow not growing with the owner to be explicitly
stated.
This commit is contained in:
Bill Currie 2020-03-23 22:08:30 +09:00
parent 731a123b79
commit 467115429e
2 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,7 @@ enum {
};
enum {
gfGrowNone = 0x0000,
gfGrowLoX = 0x0001,
gfGrowLoY = 0x0002,
gfGrowHiX = 0x0004,
@ -72,6 +73,7 @@ enum {
- (void) dealloc;
-setOwner: (Group *) owner;
-setGrowMode: (int) mode;
-(Rect)rect;
-(Point)origin;

View File

@ -95,6 +95,12 @@ updateScreenCursor (View *view)
return self;
}
-setGrowMode: (int) mode
{
growMode = mode;
return self;
}
- (Rect) rect
{
return rect;