From: <pst...@us...> - 2010-07-17 20:17:53
|
Revision: 809 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=809&view=rev Author: pstieber Date: 2010-07-17 20:17:47 +0000 (Sat, 17 Jul 2010) Log Message: ----------- Updated the style. Modified Paths: -------------- trunk/jazz/src/SampleWindow.h Modified: trunk/jazz/src/SampleWindow.h =================================================================== --- trunk/jazz/src/SampleWindow.h 2010-07-17 20:08:47 UTC (rev 808) +++ trunk/jazz/src/SampleWindow.h 2010-07-17 20:17:47 UTC (rev 809) @@ -39,13 +39,17 @@ class wxDialog; class wxScrollBar; +//***************************************************************************** +//***************************************************************************** class JZSampleFrame : public wxFrame { friend class JZSampleWindow; friend class JZCommandPainter; friend class JZSmplWinSettingsForm; + public: - JZSampleFrame(wxWindow* pParent, JZSampleFrame **ref, JZSample &); + + JZSampleFrame(wxWindow* pParent, JZSampleFrame** ref, JZSample& Sample); ~JZSampleFrame(); virtual void OnSize(int w, int h); virtual bool OnClose(); @@ -70,6 +74,7 @@ void PlaySample(); private: + int GetPaintLength(); int GetPaintOffset(); #ifdef OBSOLETE @@ -79,43 +84,45 @@ void SetViewPos(int fr, int to); void LoadError(JZSample &spl); - JZSample &spl; - JZSampleWindow *cnvs; - wxPanel *scrol_panel; - wxScrollBar *pos_scrol; - wxScrollBar *zoom_scrol; + private: + + JZSample& spl; + JZSampleWindow* cnvs; + wxPanel* scrol_panel; + wxScrollBar* pos_scrol; + wxScrollBar* zoom_scrol; JZToolBar* mpToolBar; - int in_constructor; - JZSampleFrame **ref; + int in_constructor; + JZSampleFrame** ref; static int geo[4]; - static JZSample *copy_buffer; + static JZSample* copy_buffer; enum { MAXPARAM = 4 }; - JZArrayEdit *params[MAXPARAM]; - int num_params; + JZArrayEdit* params[MAXPARAM]; + int num_params; - JZCommandPainter *on_accept; + JZCommandPainter* on_accept; JZSplVolume vol_command; - JZSplPan pan_command; - JZSplPitch pitch_command; - JZWahWah wah_command; + JZSplPan pan_command; + JZSplPitch pitch_command; + JZWahWah wah_command; - JZEqualizer *equalizer; - JZDistortion *distortion; - JZSynthDlg *synth; - wxDialog *reverb; - wxDialog *echo; - wxDialog *chorus; - wxDialog *shifter; - wxDialog *stretcher; - wxDialog *filter; - wxDialog *settings; - wxDialog *wah_settings; - wxDialog *pitch_settings; + JZEqualizer* equalizer; + JZDistortion* distortion; + JZSynthDlg* synth; + wxDialog* reverb; + wxDialog* echo; + wxDialog* chorus; + wxDialog* shifter; + wxDialog* stretcher; + wxDialog* filter; + wxDialog* settings; + wxDialog* wah_settings; + wxDialog* pitch_settings; }; #endif // !defined(JZ_SAMPLEWINDOW_H) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |