Add some view opacity.

This commit is contained in:
Bill Currie 2010-10-12 18:26:24 +09:00
parent 83dc8c2a7a
commit 478ef21de0
7 changed files with 35 additions and 0 deletions

View file

@ -43,6 +43,11 @@ initWithFrame:
return self; return self;
} }
- (BOOL) isOpaque
{
return YES;
}
- (void) awakeFromNib - (void) awakeFromNib
{ {
NSBezierPath *path; NSBezierPath *path;

View file

@ -23,6 +23,11 @@ initWithFrame:
return YES; return YES;
} }
- (BOOL) isOpaque
{
return YES;
}
- (id) calcViewSize - (id) calcViewSize
{ {
NSRect b; NSRect b;

View file

@ -28,6 +28,11 @@ Initizes a scroll view with a button at it's lower right corner
return self; return self;
} }
- (BOOL) isOpaque
{
return YES;
}
/* /*
================ ================
tile tile

View file

@ -20,6 +20,11 @@ NOTE: I am specifically not using cached image reps, because the data is also ne
return self; return self;
} }
- (BOOL) isOpaque
{
return YES;
}
- (id) setParent: (id)from - (id) setParent: (id)from
{ {
parent_i = from; parent_i = from;

View file

@ -113,6 +113,11 @@ initWithFrame:
return YES; return YES;
} }
- (BOOL) isOpaque
{
return YES;
}
- (id) setModeRadio: m - (id) setModeRadio: m
{ {
// this should be set from IB, but because I toss myself in a // this should be set from IB, but because I toss myself in a

View file

@ -25,6 +25,11 @@ Initizes a scroll view with a button at it's lower right corner
return self; return self;
} }
- (BOOL) isOpaque
{
return YES;
}
/* /*
================ ================
tile tile

View file

@ -82,6 +82,11 @@ initWithFrame:
return zscrollview_i; return zscrollview_i;
} }
- (BOOL) isOpaque
{
return YES;
}
- (id) setXYOrigin: (NSPoint *)pt - (id) setXYOrigin: (NSPoint *)pt
{ {
origin[0] = pt->x + 0.333; origin[0] = pt->x + 0.333;