Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 00035 private: 00036 HIViewRef mMeter[kNumInternalParameters]; 00037 SInt32 mMeterMin[kNumInternalParameters]; 00038 SInt32 mMeterMax[kNumInternalParameters]; 00039 float *mInternalParameters; 00040 00041 }; 00042 00043 COMPONENT_ENTRY(CAUGuiDemoAUView);





Generated on Sun May 23 19:32:00 2004 for AUGUI Framework by doxygen1.3.7

hosted on SourceForge.net Logo