mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Add some view opacity.
This commit is contained in:
parent
83dc8c2a7a
commit
478ef21de0
7 changed files with 35 additions and 0 deletions
|
@ -43,6 +43,11 @@ initWithFrame:
|
|||
return self;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
NSBezierPath *path;
|
||||
|
|
|
@ -23,6 +23,11 @@ initWithFrame:
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (id) calcViewSize
|
||||
{
|
||||
NSRect b;
|
||||
|
|
|
@ -28,6 +28,11 @@ Initizes a scroll view with a button at it's lower right corner
|
|||
return self;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
tile
|
||||
|
|
|
@ -20,6 +20,11 @@ NOTE: I am specifically not using cached image reps, because the data is also ne
|
|||
return self;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (id) setParent: (id)from
|
||||
{
|
||||
parent_i = from;
|
||||
|
|
|
@ -113,6 +113,11 @@ initWithFrame:
|
|||
return YES;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (id) setModeRadio: m
|
||||
{
|
||||
// this should be set from IB, but because I toss myself in a
|
||||
|
|
|
@ -25,6 +25,11 @@ Initizes a scroll view with a button at it's lower right corner
|
|||
return self;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
tile
|
||||
|
|
|
@ -82,6 +82,11 @@ initWithFrame:
|
|||
return zscrollview_i;
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (id) setXYOrigin: (NSPoint *)pt
|
||||
{
|
||||
origin[0] = pt->x + 0.333;
|
||||
|
|
Loading…
Reference in a new issue