19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: CAbout.cpp,v 1.1.2.3 2003-12-12 15:09:01 Isibaar Exp $ |
* $Id: CAbout.cpp,v 1.1.2.4 2003-12-17 17:08:29 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
60 |
REG_SET_N("Brightness", PPSettings.nBrightness); |
REG_SET_N("Brightness", PPSettings.nBrightness); |
61 |
REG_SET_N("Deblock_Y", PPSettings.bDeblock_Y); |
REG_SET_N("Deblock_Y", PPSettings.bDeblock_Y); |
62 |
REG_SET_N("Deblock_UV", PPSettings.bDeblock_UV); |
REG_SET_N("Deblock_UV", PPSettings.bDeblock_UV); |
63 |
|
REG_SET_N("Dering", PPSettings.bDering); |
64 |
|
REG_SET_N("FilmEffect", PPSettings.bFilmEffect); |
65 |
REG_SET_N("ForceColorspace", PPSettings.nForceColorspace); |
REG_SET_N("ForceColorspace", PPSettings.nForceColorspace); |
66 |
|
|
67 |
RegCloseKey(hKey); |
RegCloseKey(hKey); |
125 |
// Load Buttons |
// Load Buttons |
126 |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_Y), BM_SETCHECK, (BOOL)PPSettings.bDeblock_Y, 0); |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_Y), BM_SETCHECK, (BOOL)PPSettings.bDeblock_Y, 0); |
127 |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_UV), BM_SETCHECK, (BOOL)PPSettings.bDeblock_UV, 0); |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_UV), BM_SETCHECK, (BOOL)PPSettings.bDeblock_UV, 0); |
128 |
|
SendMessage(GetDlgItem(hwnd, IDC_DERING), BM_SETCHECK, (BOOL)PPSettings.bDering, 0); |
129 |
|
SendMessage(GetDlgItem(hwnd, IDC_FILMEFFECT), BM_SETCHECK, (BOOL)PPSettings.bFilmEffect, 0); |
130 |
SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, (BOOL)PPSettings.bFlipVideo, 0); |
SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, (BOOL)PPSettings.bFlipVideo, 0); |
131 |
|
|
132 |
// Set Date & Time of Compilation |
// Set Date & Time of Compilation |
144 |
// Load Buttons |
// Load Buttons |
145 |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_Y), BM_SETCHECK, (BOOL)PPSettings.bDeblock_Y, 0); |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_Y), BM_SETCHECK, (BOOL)PPSettings.bDeblock_Y, 0); |
146 |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_UV), BM_SETCHECK, (BOOL)PPSettings.bDeblock_UV, 0); |
SendMessage(GetDlgItem(hwnd, IDC_DEBLOCK_UV), BM_SETCHECK, (BOOL)PPSettings.bDeblock_UV, 0); |
147 |
|
SendMessage(GetDlgItem(hwnd, IDC_DERING), BM_SETCHECK, (BOOL)PPSettings.bDering, 0); |
148 |
|
SendMessage(GetDlgItem(hwnd, IDC_FILMEFFECT), BM_SETCHECK, (BOOL)PPSettings.bFilmEffect, 0); |
149 |
SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, (BOOL)PPSettings.bFlipVideo, 0); |
SendMessage(GetDlgItem(hwnd, IDC_FLIPVIDEO), BM_SETCHECK, (BOOL)PPSettings.bFlipVideo, 0); |
150 |
PPSettings.nForceColorspace = 0; |
PPSettings.nForceColorspace = 0; |
151 |
SendMessage(GetDlgItem(hwnd, IDC_COLORSPACE), CB_SETCURSEL, PPSettings.nForceColorspace, 0); |
SendMessage(GetDlgItem(hwnd, IDC_COLORSPACE), CB_SETCURSEL, PPSettings.nForceColorspace, 0); |
160 |
PPSettings.bDeblock_UV = !PPSettings.bDeblock_UV; |
PPSettings.bDeblock_UV = !PPSettings.bDeblock_UV; |
161 |
SaveRegistryInfo(); |
SaveRegistryInfo(); |
162 |
break; |
break; |
163 |
|
case IDC_DERING: |
164 |
|
PPSettings.bDering = !PPSettings.bDering; |
165 |
|
SaveRegistryInfo(); |
166 |
|
break; |
167 |
|
case IDC_FILMEFFECT: |
168 |
|
PPSettings.bFilmEffect = !PPSettings.bFilmEffect; |
169 |
|
SaveRegistryInfo(); |
170 |
|
break; |
171 |
case IDC_FLIPVIDEO: |
case IDC_FLIPVIDEO: |
172 |
PPSettings.bFlipVideo = !PPSettings.bFlipVideo; |
PPSettings.bFlipVideo = !PPSettings.bFlipVideo; |
173 |
SaveRegistryInfo(); |
SaveRegistryInfo(); |