mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[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:
parent
731a123b79
commit
467115429e
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -95,6 +95,12 @@ updateScreenCursor (View *view)
|
|||
return self;
|
||||
}
|
||||
|
||||
-setGrowMode: (int) mode
|
||||
{
|
||||
growMode = mode;
|
||||
return self;
|
||||
}
|
||||
|
||||
- (Rect) rect
|
||||
{
|
||||
return rect;
|
||||
|
|
Loading…
Reference in a new issue