Tu lances une recherche dans tous les fichiers du répertoire (Windows prévoit un dialogue pour cela, et sous Unix - y compris Cygwin et MSYS pour Windows -, tu peux utiliser
grep).
Voilà les résultats que j'ai avec
grep sous
MSYS (cf.
http://www.mingw.org):
$ grep DrawPopup *.c
generic.c:void DrawPopup(short x0,short y0,short x1, short y1) {
gui.c: DrawPopup(4,sy-10,STATIC_LCD_WIDTH-5,sy+10);
menu.c: DrawPopup(M_CENTERX-M_WIDTH2-1,M_CENTERY-M_HEIGHT2-1,
menu.c: DrawPopup(startx1,y,startx1+OPTION_MENU_DIALOGWIDTH,y+47+7+7);
menu.c: DrawPopup(startx,y,startx+LS_MENU_DIALOGWIDTH,y+54+7);
menu.c: DrawPopup(x,y,x+57,y+34);
opening.c: DrawPopup(OPENINGMOVE_WINDOW_X,OPENINGMOVE_WINDOW_Y,
Donc va voir dans
generic.c (c'est là qu'il y a la déclaration), et:
$ grep DrawColorRect *.c
board.c: DrawColorRect(119,0,123,127,COLOR_WHITE,RECT_FILLED);
board.c: DrawColorRect(0,117,119,127,COLOR_WHITE,RECT_FILLED);
generic.c:void DrawColorRect(short x0,short y0,short x1, short y1, short color,short fill) {
generic.c: DrawColorRect(x0,y0,x1,y1,COLOR_BLACK,RECT_EMPTY);
generic.c: DrawColorRect(x0,y0,x1,y1,COLOR_DARKGRAY,RECT_EMPTY);
generic.c: DrawColorRect(x0,y0,x1,y1,COLOR_LIGHTGRAY,RECT_EMPTY);
generic.c: DrawColorRect(x0,y0,x1,y1,COLOR_WHITE,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH,y+INFOBOARD_HEIGHT,COLOR_LIGHTGRAY,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH+1,y+5,COLOR_LIGHTGRAY,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH+1,y+5,COLOR_LIGHTGRAY,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH+1,y+5,COLOR_LIGHTGRAY,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH+1,y+5,COLOR_LIGHTGRAY,RECT_FILLED);
infoboards.c: DrawColorRect(x,y,x+INFOBOARD_WIDTH,y+5,COLOR_LIGHTGRAY,RECT_FILLED);
menu.c: DrawColorRect(x0,3,x1,3+6,COLOR_WHITE,RECT_FILLED);
donc là encore, c'est dans
generic.c qu'il faut aller voir.