home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
594b.lha
/
Precognition_rel1
/
stringgadget.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-12
|
981b
|
42 lines
/* ==========================================================================
**
** StringGadget.h
**
** ©1991 WILLISoft
**
** ==========================================================================
*/
#ifndef STRINGGADGET_H
#define STRINGGADGET_H
#include "Valuator.h"
#include "EmbossedGadget.h"
typedef EmbossedGadget StringGadget;
void StringGadget_Init( StringGadget *gadget,
PIXELS LeftEdge,
PIXELS TopEdge,
PIXELS Width,
USHORT nChars,
pcg_3DPens Pens,
char *label );
/*
** NOTE: The methods 'Value()', and 'SetValue()' should be used
** to retrieve and set the values. These take/return LONG values.
**
** These macros cast them to (char*).
*/
#define StringValue(i) (char*) Value(i)
#define SetStringValue(i,s) (char*) SetValue(i, (LONG)s)
#endif