mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 18:16:26 +00:00
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:
parent
1e779eacaf
commit
c7ab1a2a90
14 changed files with 1550 additions and 432 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue