From: Forsberg Sakari Newsgroups: comp.os.msdos.djgpp Subject: ALLEGRO + DEGUI + viewing some characters Date: 4 Nov 1999 10:30:45 GMT Organization: Tampere University of Technology Lines: 32 Message-ID: <7vrn8l$p0e$1@baker.cc.tut.fi> NNTP-Posting-Host: assari.cc.tut.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: baker.cc.tut.fi 941711446 25614 130.230.10.21 (4 Nov 1999 10:30:45 GMT) NNTP-Posting-Date: 4 Nov 1999 10:30:45 GMT User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (OSF1/V4.0 (alpha)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAB12208 Reply-To: djgpp AT delorie DOT com Hi! I just wondered how can I show ä's and ö's (a with two dots and o with two dots) In GFX_TEXT -mode it works fine, but when I use DEGUI routines (edit_text_class), I cant view those characters. Should I hack the code of DEGUI so that it accepts those characters or what? I assume that the best way to handle this and my other problem (how to check if enter has been pressed) is to derive a class from edittext_object class. What should I re-write? I think I shouldn't touch those d_degui_edit_proc() (found in d_edit2.c) and _draw_text() & _draw_edittext_object() (found in d_edit1.c) and only thing I should do is derive a class from edittext_object and define constructor and destructor and msg_char -function to it. Is this correct approach or does somebody invent a better way. ** Sakari Forsberg zacu AT cc DOT tut DOT fi ** ** Information: finger zacu AT assari DOT cc DOT tut DOT fi **