ftp.nice.ch/Attic/openStep/implementation/gnustep/sources/objcX-0.87.tgz#/objcX-0.87/nib-translator/XmSliderCell.m

This is XmSliderCell.m in view mode; [Download] [Up]

/*  Archiving Category for SliderCell
    Copyright (C)  1993  The Board of Trustees of
    The Leland Stanford Junior University.  All Rights Reserved.

Authors: Scott Francis, Paul Kunz, and Imran Qureshi

 * This file is part of the nib translator for 
 * an Objective-C class library for X/Motif

XmSliderCell.m,v 1.8 1995/05/16 00:50:17 pfkeb Exp

*/

#include "/NextDeveloper/Headers/objc/typedstream.h"
#include "/NextDeveloper/Headers/objc/Object.h"

#define NXTypedStream TypedStream
#include "objc/typedstream.h"

#include <appkit/SliderCell.h>

#include "archive-def.h"

@implementation SliderCell (XmArchiving)


- write:(TypedStream *)stream
{
    int i;
    
    [super write:stream];
    
#ifdef DEBUG
    printf("->SliderCell");
#endif

    i = [self isVertical];
    objc_write_float(stream, value);
    objc_write_float(stream, maxValue);
    objc_write_float(stream, minValue);
    objc_write_type(stream, "i", &i);
    return self;
}
@end

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