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: config.c,v 1.5 2004-07-11 10:22:47 syskin Exp $ |
* $Id: config.c,v 1.6 2004-07-16 15:38:01 syskin Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
141 |
SendMessage(hBrightness, TBM_SETPOS, (WPARAM)TRUE, (LPARAM) g_config.nBrightness); |
SendMessage(hBrightness, TBM_SETPOS, (WPARAM)TRUE, (LPARAM) g_config.nBrightness); |
142 |
|
|
143 |
// Load Aspect Ratio Box |
// Load Aspect Ratio Box |
144 |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"Auto"); |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"Auto (mpeg-4 first)"); |
145 |
|
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"Auto (external first)"); |
146 |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"4:3"); |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"4:3"); |
147 |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"16:9"); |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"16:9"); |
148 |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"2.35:1"); |
SendMessage(GetDlgItem(hwnd, IDC_USE_AR), CB_ADDSTRING, 0, (LPARAM)"2.35:1"); |
168 |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGY),g_config.nDeblock_Y); |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGY),g_config.nDeblock_Y); |
169 |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGUV),g_config.nDeblock_UV); |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGUV),g_config.nDeblock_UV); |
170 |
|
|
171 |
|
EnableWindow(GetDlgItem(hwnd, IDC_USE_AR), !g_config.videoinfo_compat); |
172 |
|
|
173 |
// Set Date & Time of Compilation |
// Set Date & Time of Compilation |
174 |
DPRINTF("(%s %s)", __DATE__, __TIME__); |
DPRINTF("(%s %s)", __DATE__, __TIME__); |
228 |
} |
} |
229 |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGY),g_config.nDeblock_Y); |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGY),g_config.nDeblock_Y); |
230 |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGUV),g_config.nDeblock_UV); |
EnableWindow(GetDlgItem(hwnd,IDC_DERINGUV),g_config.nDeblock_UV); |
231 |
|
|
232 |
|
EnableWindow(GetDlgItem(hwnd, IDC_USE_AR), !g_config.videoinfo_compat); |
233 |
|
|
234 |
SaveRegistryInfo(); |
SaveRegistryInfo(); |
235 |
|
|
236 |
|
|