Settings: Can now input numbers. Helpfile redone from scratch. Can use mouse wheel.

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1462 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-04-24 18:49:44 +00:00
parent 9b0a160ffb
commit f06dbc1389
3 changed files with 380 additions and 175 deletions

View File

@@ -149,7 +149,7 @@ byte Readline_ex(word x_pos,word y_pos,char * str,byte visible_size,byte max_siz
// Si on a commencé à editer par un clic-droit, on vide la chaine.
if (Mouse_K==RIGHT_SIDE)
str[0]='\0';
else if (input_type==1)
else if (input_type==1 && str[0]!='\0')
snprintf(str,10,"%d",atoi(str)); // On tasse la chaine à gauche
else if (input_type==3)
{