AeN64DriverConfig.h 1.14 KB
#include <Vk/VkApp.h>
#include <Vk/VkPrefDialog.h>
#include <Vk/VkPrefItem.h> 


class AeN64Config;

class AeN64ConfigDialog : public VkPrefDialog
{  

public:
                        AeN64ConfigDialog (AeN64Config *);
    virtual		~AeN64ConfigDialog (void);
    virtual const char* className();

    void		GetValues (AeN64Config *);
    void		SetValues (AeN64Config *);

    void 		configCallback (VkCallbackObject *, void *, void *);

protected:
    VkPrefGroup *	frameGroup;
    VkPrefText *	outputRate;
    VkPrefText *	frameSize;
    VkPrefText *	maxCommands;

    VkPrefSeparator *	sep1;

    VkPrefGroup *	dmaGroup;
    VkPrefText *	dmaBuffers;
    VkPrefText *	dmaBufferSize;
    VkPrefText *	dmaQueueSize;
    VkPrefText * 	dmaFrameLag;

    VkPrefSeparator *	sep2;

    VkPrefGroup *	synthGroup;
    VkPrefText *	maxVVoices;
    VkPrefText *	maxPVoices;
    VkPrefText *	maxUpdates;

    VkPrefSeparator *sep3;

    VkPrefGroup *	playerGroup;
    VkPrefText *	maxChannels;
    VkPrefText *	maxEvents;

    VkPrefList *	prefList;
    
    AeN64Config *	fConfig;

    static String _defaultResources[];
    virtual Widget createDialog(Widget parent);
};