adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Try it's working ;)


From: joel vennin
Subject: [Adonthell-devel] Try it's working ;)
Date: Fri, 22 Feb 2002 12:08:26 +0100 (CET)

Hello, this morning i've commited some stuff, Truetype
font support and callback improved

I don't know very well autoconf and automake, so some
one should modify configure.in correctly to check
really freetype2 libs. 
For font you can chose the color, size and dpi. You
can draw some text...

Another stuff, callback stuff:
class A
{
public : 
    void toto () { cout << "toto" <<  endl; }
    
    void aff (char * c) { cout <<  c <<  endl;} 
}; 

int main()
{ A a;
  callback_sig cbs; 
  char *ch = "Kewl it's working"; 

  cbs.connect (new  callback_slot (makeFunctor (a,
&A::toto)));    
  cbs.connect (new  callback_slot1 <char* >
(makeFunctor (a, &A::aff),ch));
    
   cbs ();
}

You can show that is more powerfull, 
If you comment suggestion tell me ;)

I've attach a freetype font.

Jol
C++


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

Attachment: comic.ttf
Description: comic.ttf


reply via email to

[Prev in Thread] Current Thread [Next in Thread]