-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCSettingsWindow.h
More file actions
executable file
·52 lines (45 loc) · 1.45 KB
/
Copy pathCSettingsWindow.h
File metadata and controls
executable file
·52 lines (45 loc) · 1.45 KB
1
// =================================================================================// CSettingsWindow.h // =================================================================================// CSettingsWindow.cp #pragma once#include <LWindow.h>#include <LListener.h>#include <LTabsControl.h>#include "CReducePrefs.h"#include "ReduceConstants.h"#include "CReduceApp.h"class CSettingsWindow : public LWindow , public LListener, public LBroadcaster {public: enum { class_ID = 'RDst' }; CSettingsWindow(); CSettingsWindow( LStream *inStream ); ~CSettingsWindow(); virtual Boolean HandleKeyPress(const EventRecord &inKeyEvent); void SetUp(CReduceApp *inApp, CReducePrefs *inPrefsHolder, PrefStruct *inPrefs);protected: void CheckShaveSettings(); virtual void ListenToMessage(MessageT inMessage, void *ioParam); virtual void FinishCreateSelf(); void UseNewPanel(LView *inView); protected: void StoreWindowValues(PrefStruct *outPrefs); void SetValues(PrefStruct *inPrefs); CReducePrefs *mPrefsHolder; PrefStruct *mPrefs; PrefStruct *IOPrefs; CReduceApp *mTheApp; LView *mCurrentPanel; LTabsControl *mTabPanel; LPlaceHolder *mPanelHost; LView *mCSDPanel; LView *mStatsPanel; LView *mEnvelopesPanel; LView *mOutputPanel; LView *mMiscPanel; LView *mShavePanel; LPane *mTheXYZPopup; LPane *mTheRHPopup; LPane *mMaxAR_ET; LPane *mMaxAR_ST;};