ftp.nice.ch/pub/next/games/card/NEXTVegas3.0.src.tar.gz#/NEXTVegas/Klondike/DiscardPileDelegate.h

This is DiscardPileDelegate.h in view mode; [Download] [Up]

/* indent:4  tabsize:8  font:fixed-width */

/*---------------------------------------------------------------------------
| -----------------------------------------------------------------------------
|
|	DiscardPileDelegate :Object
|
|	<< Description >>
|
| -----------------------------------------------------------------------------
\----------------------------------------------------------------------------*/

#import <appkit/appkit.h>
#import "../NEXTVegas/CardSet.subproj/cardset.h"


@interface DiscardPileDelegate:Object
{
    id		recycleCardPile;
    id		suitCardPileViews[4];
    int		maxIndex;
	BOOL	isEnabled;
}

/*----------------------------------------------------------------------------
|
|	CardPileView delegation methods
|
\---------------------------------------------------------------------------*/

- setDrawCardCount:(int)theCount;
- setSuitCardPileViews:(id [])theViews;
- doubleClickedCard:aCard in:aCardPileView;
- (BOOL)draggedPile:aCardPile from:discardCardPileView;
- removedPile:aCardPile from:discardCardPileView;
- getOffset:(float *)xOffset :(float *)yOffset forSize:(CardSize)aSize;
- setEnabled:(BOOL)flag;
@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.