1

Dans le source menus.h de tichess(89),le programmeur utilise les fonctions DrawPopUp et DrawColorRect(je ne suis pas sur de cette derniere).Ou je peux trouver leurs definitions?mourn
Un newbie c'est là pour apprendre.
Bravo Boo et Yaro,votre site est génial!

2

est-ce que ce ne serait pas des fonctions qu'il a écrit dans un autre fichier C ?

(sinon, regarde dnas la doc de TIGCC... si elles n'y sont pas, c'est que c l'auteur qui les a écrites dans un des fichiers du projet)
ou alors, dans une librairie s'il en utilise
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

3

C'est vrai que je n'ai pas trop eu la patience de verifier dans tous les fichier header ou c,etant donne que chaque header correspond a une fonctionnalite particuliere.grin
Par contre,meme apres avoir volontairement telecharge la derniere version de TIGCC a cet effet,elle n'y etait pas dans les librairiemad
Un newbie c'est là pour apprendre.
Bravo Boo et Yaro,votre site est génial!

4

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.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

5

Merci beaucoup Kevin!rotfl
Un newbie c'est là pour apprendre.
Bravo Boo et Yaro,votre site est génial!

6

Pourquoi ce smiley ?

7

Je pense qu'il voulait dire top
Parce que rotfl c'est rotfl : "rolling on the floor laughing"
comme me l'a appris Vertyos grin alors que j'avais fait la même chose que ordivore gringrin
Mon site :
[TI68k] Space Dementia I : Version 0.8
[TI68k] Space Dementia II, mod arena : Version 0.3 avec IA
[OpenGL] Environment Mapping 3ds Viewer : version 1.0
[OpenGL] Programmation d'une simulation de voiture avec le moteur physique Tokamak