Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » how to get the input from the users

This thread is locked; no one can reply to it. rss feed Print
how to get the input from the users
Vijay K
Member #7,668
August 2006
avatar

hi friends,

i'm invloving in creating a game and in the game i'm using all images to display and if want to get the user's name and displayed in a page, for example in a high scores page, how can get those input from user by letting him/her type the name .

is there any area element for getting the text inputs from the user like the one in HTML.

pl help me ,

Vijay

Regards,
Viju

miran
Member #2,407
June 2002

Use these to get input:

and these to draw to screen:

textprintf()/textprintf_ex();
line();
rect();

There is an area element just like the one in HTML. It is documented in the GUI section of the Allegro manual.

--
sig used to be here

Tobias Dammers
Member #2,604
August 2002
avatar

RTM on GUI routines in general, and d_edit_proc() in particular.

BTW, this is not an allegro development question.

---
Me make music: Triofobie
---
"We need Tobias and his awesome trombone, too." - Johan Halmén

Go to: