Mercurial > mplayer.hg
comparison gui/win32/gui.c @ 28051:9e739bdb049c
Get rid of pointless 'extern' keywords.
author | diego |
---|---|
date | Wed, 03 Dec 2008 23:01:03 +0000 |
parents | 1d2faa1020fb |
children | 71acebef19ec |
comparison
equal
deleted
inserted
replaced
28050:7e53b0b71b18 | 28051:9e739bdb049c |
---|---|
52 # define WM_XBUTTONUP 0x020C | 52 # define WM_XBUTTONUP 0x020C |
53 # define WM_XBUTTONDBLCLK 0x020D | 53 # define WM_XBUTTONDBLCLK 0x020D |
54 #endif | 54 #endif |
55 | 55 |
56 /* Globals / Externs */ | 56 /* Globals / Externs */ |
57 extern void renderinfobox(skin_t *skin, window_priv_t *priv); | 57 void renderinfobox(skin_t *skin, window_priv_t *priv); |
58 extern void renderwidget(skin_t *skin, image *dest, widget *item, int state); | 58 void renderwidget(skin_t *skin, image *dest, widget *item, int state); |
59 extern void print_version(void); | 59 void print_version(void); |
60 float sub_aspect; | 60 float sub_aspect; |
61 | 61 |
62 DWORD oldtime; | 62 DWORD oldtime; |
63 NOTIFYICONDATA nid; | 63 NOTIFYICONDATA nid; |
64 int console_state = 0; | 64 int console_state = 0; |
1084 ReleaseDC(desktop, dc); | 1084 ReleaseDC(desktop, dc); |
1085 return bpp; | 1085 return bpp; |
1086 } | 1086 } |
1087 | 1087 |
1088 /* unloads a skin and destroys its windows */ | 1088 /* unloads a skin and destroys its windows */ |
1089 extern int destroy_window(gui_t *gui) | 1089 int destroy_window(gui_t *gui) |
1090 { | 1090 { |
1091 RECT rd; | 1091 RECT rd; |
1092 unsigned int i; | 1092 unsigned int i; |
1093 | 1093 |
1094 /* Save position: MSDN says don't pass workspace coordinates | 1094 /* Save position: MSDN says don't pass workspace coordinates |
1309 | 1309 |
1310 return 0; | 1310 return 0; |
1311 } | 1311 } |
1312 | 1312 |
1313 /* creates the sub (AKA video) window,*/ | 1313 /* creates the sub (AKA video) window,*/ |
1314 extern int create_subwindow(gui_t *gui, char *skindir) | 1314 int create_subwindow(gui_t *gui, char *skindir) |
1315 { | 1315 { |
1316 HINSTANCE instance = GetModuleHandle(NULL); | 1316 HINSTANCE instance = GetModuleHandle(NULL); |
1317 WNDCLASS wc; | 1317 WNDCLASS wc; |
1318 RECT rect; | 1318 RECT rect; |
1319 HWND hWnd; | 1319 HWND hWnd; |
1390 UpdateWindow(gui->subwindow); | 1390 UpdateWindow(gui->subwindow); |
1391 return 0; | 1391 return 0; |
1392 } | 1392 } |
1393 | 1393 |
1394 /* loads/updates a skin and creates windows for it */ | 1394 /* loads/updates a skin and creates windows for it */ |
1395 extern int create_window(gui_t *gui, char *skindir) | 1395 int create_window(gui_t *gui, char *skindir) |
1396 { | 1396 { |
1397 HINSTANCE instance = GetModuleHandle(NULL); | 1397 HINSTANCE instance = GetModuleHandle(NULL); |
1398 WNDCLASS wc; | 1398 WNDCLASS wc; |
1399 RECT rect; | 1399 RECT rect; |
1400 DWORD style = 0; | 1400 DWORD style = 0; |