/Users/airy/Sources/augui/AUGUIFramework/SampleCode/CAUGuiSDK (AUGUI)/projectfiles/AUGUIDemoView.h

Go to the documentation of this file.
00001 /*
00002  *  AUGUIDemoView.h
00003  *  CAUGuiDemo
00004  *
00005  *  Created by Airy on Wed Mar 19 2003.
00006  *  Copyright (c) 2003 Airy ANDRE. All rights reserved.
00007  *
00008  */
00009 
00010 // Plugin views are based on this class
00011 #include "AUCarbonViewNib.h"
00012 #include "CAUGuiDemoAU.h"
00013 #include "CAUGuiDemoCsts.h"
00014 
00015 #define kInternalParameterProperyID 64000
00016 
00017 // -----------------------------------------------------------------------------
00018 // Class CAUGuiDemoAUView
00019 //
00020 // This class implements a GUI pane for the AUStk.
00021 // -----------------------------------------------------------------------------
00022 class CAUGuiDemoAUView: public CAUCarbonViewNib
00023 {
00024 public:
00025     // Construction ------------------------------
00026     CAUGuiDemoAUView (AudioUnitCarbonView inInstance)  : CAUCarbonViewNib(inInstance), mInternalParameters(0) {};
00027     // Baseclass overrides -----------------------
00028     CFStringRef GetBundleID() { return CFSTR("com.acme.demo.caugui"); };
00029         virtual bool PatchEraseRect() { return false; }
00030 
00031         virtual void Idle();
00032         virtual void FinishWindow(CFBundleRef sBundle);
00033     virtual void InitWindow(CFBundleRef sBundle); // Register custom controls...
00034         
00036         virtual bool SupportEditMode() const { return true; }
00037                 
00038 private:
00039         HIViewRef mMeter[kNumInternalParameters];
00040         SInt32 mMeterMin[kNumInternalParameters];
00041         SInt32 mMeterMax[kNumInternalParameters];
00042         float *mInternalParameters;
00043 
00044 };
00045 
00046 COMPONENT_ENTRY(CAUGuiDemoAUView);
00047 





Generated on Sat Jul 8 13:02:21 2006 for AUGUI Framework by doxygen1.4.6

hosted on SourceForge.net Logo