[Deinterlace-checkins] CVS: DScaler/DScaler CX2388xSource.cpp,1.53,1.54 CX2388xSource.h,1.26,1.27
Brought to you by:
adcockj,
dschmelzer
From: Laurent G. <lau...@us...> - 2003-08-16 00:02:57
|
Update of /cvsroot/deinterlace/DScaler/DScaler In directory sc8-pr-cvs1:/tmp/cvs-serv7234 Modified Files: CX2388xSource.cpp CX2388xSource.h Log Message: Save in the source if it is the first setup Index: CX2388xSource.cpp =================================================================== RCS file: /cvsroot/deinterlace/DScaler/DScaler/CX2388xSource.cpp,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -r1.53 -r1.54 *** CX2388xSource.cpp 5 Jul 2003 10:55:57 -0000 1.53 --- CX2388xSource.cpp 15 Aug 2003 18:21:26 -0000 1.54 *************** *** 24,27 **** --- 24,30 ---- // // $Log$ + // Revision 1.54 2003/08/15 18:21:26 laurentg + // Save in the source if it is the first setup + // // Revision 1.53 2003/07/05 10:55:57 laurentg // New method SetWidth *************** *** 351,355 **** m_InSaturationUpdate(FALSE), m_NumFields(10), ! m_hCX2388xResourceInst(NULL) { CreateSettings(IniSection); --- 354,359 ---- m_InSaturationUpdate(FALSE), m_NumFields(10), ! m_hCX2388xResourceInst(NULL), ! m_InitialSetup(FALSE) { CreateSettings(IniSection); *************** *** 1638,1641 **** --- 1642,1647 ---- if(m_CardType->GetValue() == CX2388xCARD_UNKNOWN) { + m_InitialSetup = TRUE; + // try to detect the card m_CardType->SetValue(m_pCard->AutoDetectCardType()); Index: CX2388xSource.h =================================================================== RCS file: /cvsroot/deinterlace/DScaler/DScaler/CX2388xSource.h,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -r1.26 -r1.27 *** CX2388xSource.h 11 Aug 2003 20:45:55 -0000 1.26 --- CX2388xSource.h 15 Aug 2003 18:21:27 -0000 1.27 *************** *** 107,110 **** --- 107,112 ---- BOOL HasMediaControl() {return FALSE;}; + BOOL IsInitialSetup() {return m_InitialSetup;}; + private: virtual void CreateSettings(LPCSTR IniSection); *************** *** 159,162 **** --- 161,166 ---- CYesNoSetting* m_bSavePerChannel; CSliderSetting* m_CustomPixelWidth; + + BOOL m_InitialSetup; DEFINE_SLIDER_CALLBACK_SETTING(CCX2388xSource, Brightness); |