mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:41:23 +00:00
Add collectionview layout subclasses
This commit is contained in:
parent
4b13050e70
commit
aee03ee7c4
12 changed files with 395 additions and 5 deletions
|
@ -76,6 +76,11 @@ NSClipView.m \
|
|||
NSClickGestureRecognizer.m \
|
||||
NSCollectionView.m \
|
||||
NSCollectionViewItem.m \
|
||||
NSCollectionViewLayout.m \
|
||||
NSCollectionViewCompositionalLayout.m \
|
||||
NSCollectionViewFlowLayout.m \
|
||||
NSCollectionViewGridLayout.m \
|
||||
NSCollectionViewTransitionLayout.m \
|
||||
NSColor.m \
|
||||
NSColorList.m \
|
||||
NSColorPanel.m \
|
||||
|
@ -402,6 +407,11 @@ NSClickGestureRecognizer.h \
|
|||
NSClipView.h \
|
||||
NSCollectionView.h \
|
||||
NSCollectionViewItem.h \
|
||||
NSCollectionViewLayout.h \
|
||||
NSCollectionViewCompositionalLayout.h \
|
||||
NSCollectionViewFlowLayout.h \
|
||||
NSCollectionViewGridLayout.h \
|
||||
NSCollectionViewTransitionLayout.h \
|
||||
NSColor.h \
|
||||
NSColorList.h \
|
||||
NSColorPanel.h \
|
||||
|
|
30
Source/NSCollectionViewCompositionalLayout.m
Normal file
30
Source/NSCollectionViewCompositionalLayout.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSCollectionViewCompositionalLayout
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 30-05-2021
|
||||
|
||||
This file is part of the GNUstep Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#import "AppKit/NSCollectionViewCompositionalLayout.h"
|
||||
|
||||
@implementation NSCollectionViewCompositionalLayout
|
||||
|
||||
@end
|
||||
|
30
Source/NSCollectionViewFlowLayout.m
Normal file
30
Source/NSCollectionViewFlowLayout.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSCollectionViewFlowLayout
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 30-05-2021
|
||||
|
||||
This file is part of the GNUstep Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#import "AppKit/NSCollectionViewFlowLayout.h"
|
||||
|
||||
@implementation NSCollectionViewFlowLayout
|
||||
|
||||
@end
|
||||
|
30
Source/NSCollectionViewGridLayout.m
Normal file
30
Source/NSCollectionViewGridLayout.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSCollectionViewGridLayout
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 30-05-2021
|
||||
|
||||
This file is part of the GNUstep Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#import "AppKit/NSCollectionViewGridLayout.h"
|
||||
|
||||
@implementation NSCollectionViewGridLayout
|
||||
|
||||
@end
|
||||
|
30
Source/NSCollectionViewLayout.m
Normal file
30
Source/NSCollectionViewLayout.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSCollectionViewLayout
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 30-05-2021
|
||||
|
||||
This file is part of the GNUstep Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#import "AppKit/NSCollectionViewLayout.h"
|
||||
|
||||
@implementation NSCollectionViewLayout
|
||||
|
||||
@end
|
||||
|
30
Source/NSCollectionViewTransitionLayout.m
Normal file
30
Source/NSCollectionViewTransitionLayout.m
Normal file
|
@ -0,0 +1,30 @@
|
|||
/* Implementation of class NSCollectionViewTransitionLayout
|
||||
Copyright (C) 2021 Free Software Foundation, Inc.
|
||||
|
||||
By: Gregory John Casamento
|
||||
Date: 30-05-2021
|
||||
|
||||
This file is part of the GNUstep Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free
|
||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110 USA.
|
||||
*/
|
||||
|
||||
#import "AppKit/NSCollectionViewTransitionLayout.h"
|
||||
|
||||
@implementation NSCollectionViewTransitionLayout
|
||||
|
||||
@end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue