Added the missing objective C files for the macosx and fixed the changes you forgot in main.c etc..
Also added a way to handle the right mouse button when the shift key is pressed (for mice with only have 1 button :]). git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@264 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
6
aide.c
6
aide.c
@@ -141,7 +141,9 @@ void Afficher_aide(void)
|
||||
Menu_Facteur_Y<<3,
|
||||
CM_Noir);
|
||||
}
|
||||
#ifndef __macosx__
|
||||
SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X+13*Menu_Facteur_X,Fenetre_Pos_Y+19*Menu_Facteur_Y,44*6*Menu_Facteur_X,16*8*Menu_Facteur_Y);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -218,7 +220,9 @@ void Fenetre_aide(int Section, const char *Sous_section)
|
||||
|
||||
Afficher_aide();
|
||||
|
||||
#ifndef __macosx__
|
||||
SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X,Fenetre_Pos_Y,310*Menu_Facteur_X,175*Menu_Facteur_Y);
|
||||
#endif
|
||||
|
||||
Afficher_curseur();
|
||||
|
||||
@@ -394,7 +398,9 @@ void Bouton_Stats(void)
|
||||
sprintf(Buffer,"%dx%d",Largeur_ecran,Hauteur_ecran);
|
||||
Print_dans_fenetre(106,99,Buffer,STATS_COULEUR_DONNEES,CM_Noir);
|
||||
|
||||
#ifndef __macosx__
|
||||
SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X,Fenetre_Pos_Y,Menu_Facteur_X*310,Menu_Facteur_Y*174);
|
||||
#endif
|
||||
|
||||
Afficher_curseur();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user