home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
594b.lha
/
Precognition_rel1
/
ListEditor.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-12-12
|
1KB
|
46 lines
/* ==========================================================================
**
** ListEditor.h
**
** ©1991 WILLISoft
**
** ==========================================================================
*/
#ifndef LISTEDITOR_H
#define LISTEDITOR_H
#include "StringLister.h"
#include "ScrollingList.h"
#include "StringGadget.h"
#include "BoolGadget.h"
typedef struct ListEditor
{
StringLister slist; /* Required object info. */
USHORT state; /* PRIVATE! */
USHORT s; /* PRIVATE! */
USHORT nchars; /* max # of chars in string. */
ScrollingList browse; /* list of strings. */
StringGadget edit; /* gadget to edit strings. */
BoolGadget add, /* Button to add a new string */
delete; /* Button to delete a string. */
} ListEditor;
/*
** NOTE: All strings are dynamically allocated!
*/
void ListEditor_Init( ListEditor *self,
PIXELS LeftEdge,
PIXELS TopEdge,
PIXELS Width,
PIXELS Height,
pcg_3DPens pens,
char *label,
USHORT nchars );
#endif