mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
add copyright notice to canvas view.
This commit is contained in:
parent
42102b9aee
commit
ae5b007fed
3 changed files with 56 additions and 0 deletions
|
@ -1,8 +1,37 @@
|
|||
/* GormCanvasView.h
|
||||
*
|
||||
* Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
*
|
||||
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
* Date: 2021
|
||||
*
|
||||
* This file is part of GNUstep.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
/* All rights reserved */
|
||||
|
||||
#ifndef INCLUDED_GormCanvasView_h
|
||||
#define INCLUDED_GormCanvasView_h
|
||||
|
||||
#include <AppKit/AppKit.h>
|
||||
|
||||
@interface GormCanvasView : NSView
|
||||
{
|
||||
}
|
||||
@end
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,27 @@
|
|||
/* GormCanvasView.m
|
||||
*
|
||||
* Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
*
|
||||
* Author: Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
* Date: 2021
|
||||
*
|
||||
* This file is part of GNUstep.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
*/
|
||||
|
||||
/* All rights reserved */
|
||||
|
||||
#include <AppKit/AppKit.h>
|
||||
|
@ -46,6 +70,8 @@
|
|||
[NSBezierPath strokeLineFromPoint: NSMakePoint(i * 10 - 0.5, 0)
|
||||
toPoint: NSMakePoint(i * 10 - 0.5, [self bounds].size.height)];
|
||||
}
|
||||
|
||||
[super drawRect: dirtyRect];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
#include "GormWrapperLoader.h"
|
||||
#include "GormDocumentWindow.h"
|
||||
#include "GormDocumentController.h"
|
||||
#include "GormCanvasView.h"
|
||||
|
||||
@interface GormDisplayCell : NSButtonCell
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue