Some theme integration work

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23585 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-09-22 11:23:03 +00:00
parent 1e779eacaf
commit c7ab1a2a90
14 changed files with 1550 additions and 432 deletions

View file

@ -195,6 +195,7 @@
- (void) drawRect: (NSRect)rect
{
GSDrawFunctions *theme = [GSDrawFunctions theme];
NSRect workRect = [self bounds];
NSSize titleSize;
NSRectEdge top_left[] = {NSMinXEdge, NSMaxYEdge};
@ -213,7 +214,7 @@
// Rectangle 2
// Draw the title box's button.
[GSDrawFunctions drawButton: workRect :workRect];
[theme drawButton: workRect withClip: workRect];
// Overdraw white top and left lines with light gray lines for window title
workRect.origin.y += 1;