Mercurial > mplayer.hg
comparison gui/win32/dialogs.c @ 34454:5a45efc630b8
Remove all unnecessary #ifdefs from GUI code.
Move or add necessary ones.
author | ib |
---|---|
date | Thu, 12 Jan 2012 10:08:25 +0000 |
parents | 960c785cb6ef |
children | ac6b38cd0d45 |
comparison
equal
deleted
inserted
replaced
34453:ad3519665533 | 34454:5a45efc630b8 |
---|---|
772 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR) gui); | 772 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR) gui); |
773 ShowWindow(hWnd, SW_SHOW); | 773 ShowWindow(hWnd, SW_SHOW); |
774 UpdateWindow(hWnd); | 774 UpdateWindow(hWnd); |
775 } | 775 } |
776 | 776 |
777 #ifdef CONFIG_DVDREAD | |
778 static LRESULT CALLBACK TitleChapterWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) | 777 static LRESULT CALLBACK TitleChapterWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
779 { | 778 { |
780 static HWND title; | 779 static HWND title; |
781 static HWND chapter; | 780 static HWND chapter; |
782 HWND wdg; | 781 HWND wdg; |
900 NULL); | 899 NULL); |
901 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR) gui); | 900 SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR) gui); |
902 ShowWindow(hWnd, SW_SHOW); | 901 ShowWindow(hWnd, SW_SHOW); |
903 UpdateWindow(hWnd); | 902 UpdateWindow(hWnd); |
904 } | 903 } |
905 #endif | |
906 | 904 |
907 static LRESULT CALLBACK EqWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) | 905 static LRESULT CALLBACK EqWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
908 { | 906 { |
909 HWND btn, label, eq0, eq1, eq2, eq3; | 907 HWND btn, label, eq0, eq1, eq2, eq3; |
910 | 908 |