contextual help and fixed missing line in helps
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@229 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									157722706b
								
							
						
					
					
						commit
						1f2c665a1d
					
				
							
								
								
									
										22
									
								
								aide.c
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								aide.c
									
									
									
									
									
								
							@ -133,15 +133,6 @@ void Afficher_aide(void)
 | 
			
		||||
           Menu_Facteur_Y<<3,
 | 
			
		||||
           CM_Noir);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  if (Section_d_aide_en_cours == 0)
 | 
			
		||||
  {
 | 
			
		||||
    // Logo GrafX2
 | 
			
		||||
    int   Pos_X,Offs_Y,X,Y;
 | 
			
		||||
    for (Y=25,Offs_Y=0; Y<81; Offs_Y+=231,Y++)
 | 
			
		||||
      for (X=30,Pos_X=0; Pos_X<231; Pos_X++,X++)
 | 
			
		||||
        Pixel_dans_fenetre(X,Y,Logo_GrafX2[Offs_Y+Pos_X]);
 | 
			
		||||
  } 
 | 
			
		||||
  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);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -160,7 +151,18 @@ void Scroller_aide(void)
 | 
			
		||||
void Bouton_Aide(void)
 | 
			
		||||
{
 | 
			
		||||
  short Bouton_clicke;
 | 
			
		||||
  short Nb_lignes=Table_d_aide[Section_d_aide_en_cours].Nombre_de_lignes;
 | 
			
		||||
  short Nb_lignes;
 | 
			
		||||
  short Numero_bouton;
 | 
			
		||||
  
 | 
			
		||||
  // Aide contextuelle
 | 
			
		||||
  Numero_bouton = Numero_bouton_sous_souris();
 | 
			
		||||
  if (Numero_bouton != -1)
 | 
			
		||||
  {
 | 
			
		||||
    Section_d_aide_en_cours = 4 + Numero_bouton;
 | 
			
		||||
    Position_d_aide_en_cours = 0;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  Nb_lignes=Table_d_aide[Section_d_aide_en_cours].Nombre_de_lignes;
 | 
			
		||||
 | 
			
		||||
  Ouvrir_fenetre(310,175,"Help / About...");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								moteur.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								moteur.h
									
									
									
									
									
								
							@ -63,3 +63,4 @@ short Attendre_click_dans_palette(struct Fenetre_Bouton_palette * Enreg);
 | 
			
		||||
void Recuperer_couleur_derriere_fenetre(byte * Couleur, byte * Click);
 | 
			
		||||
 | 
			
		||||
short Fenetre_Bouton_clicke(void);
 | 
			
		||||
int Numero_bouton_sous_souris(void);
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1614
									
								
								tables_aide.h
									
									
									
									
									
								
							
							
						
						
									
										1614
									
								
								tables_aide.h
									
									
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user