mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 15:56:38 +00:00
* NSView.h added specific values and comments to resize constants enum.
* NSView.m implemented resizeWithOldSuperviewSize (needs work). * NSMatrix.m mousedown clarified description comment. * NSSavePanel.m integrated source from Daniel B�hringer into premliminary implementations provided by Scott Christley. * NSSavePanel.h integrated source from Daniel B�hringer into premliminary implementations provided by Scott Christley. * NSOpenPanel.m integrated source from Daniel B�hringer into premliminary implementations provided by Scott Christley. * NSOpenPanel.h integrated source from Daniel B�hringer into premliminary implementations provided by Scott Christley. * NSStringDrawing.h defined NSAttributedString portion of extension. * NSAttributedString.h created preliminary implementation of extension. * Appkit.h added includes for NSAttributedString and NSStringDrawing. * NSPasteboard.h added extern NSRTFDPboardType define. * externs.m defined NSRTFDPboardType. * NSText.h integrated source from Daniel B�hringer * NSTextView.m preliminary implementation from Daniel B�hringer * NSTextView.h preliminary implementation from Daniel B�hringer * NSSplitView.m in drawRect use NSRectFill() git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2934 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
80825f3b17
commit
fd64d9ffb9
18 changed files with 606 additions and 297 deletions
|
@ -26,12 +26,14 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <gnustep/gui/config.h>
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import <AppKit/AppKit.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
/* Backend protocol - methods that must be implemented by the backend to
|
||||
complete the class */
|
||||
@protocol NSSplitViewBackend
|
||||
|
@ -421,7 +423,8 @@ NSPoint centerRectInRect(NSRect innerRect, NSRect outerRect)
|
|||
if([self isOpaque])
|
||||
{
|
||||
[[self backgroundColor] set];
|
||||
[self _fillRect: [self bounds]];
|
||||
NSRectFill(r);
|
||||
// [self _fillRect: [self bounds]];
|
||||
}
|
||||
|
||||
/* draw the dimples */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue