AeKeyFieldUI.h 798 Bytes
#ifndef __AeKeyFieldUI__
#define __AeKeyFieldUI__

#include "AeIntFieldUI.h"
#include "Matrix.h"

class AeAsset;

class AeKeyFieldUI : public AeIntFieldUI
{
public:
                        AeKeyFieldUI (const char * name,
				      Boolean isEditable,
				      Boolean isSelectable,
				      Boolean isHierarchical,
				      TJustify justify,
				      TIntGetProc getProc,
				      TIntSetProc setProc);

    virtual		~AeKeyFieldUI (void);

    virtual void       	GetValueString (AeAsset *, String);
    virtual Boolean	SetValueString (AeAsset *, String);
    virtual Boolean	VerifyValueString (String);
    virtual Boolean	VerifyInput (XmTextVerifyCallbackStruct *, const char * prevStr);

private:
    void		keynum2keystr (int, String);
    void		keystr2keynum (String, int &);
};


#endif