From: Matze B. <mat...@us...> - 2002-04-04 20:30:39
|
Update of /cvsroot/planeshift/planeshift/src/client/gui/base In directory usw-pr-cvs1:/tmp/cvs-serv1944/src/client/gui/base Modified Files: psbutton.h Log Message: Changed the scripting stuff a bit around because I detected some NASTY things (and it didn't compile) -DONT exposure the details of the gui to the client application! This is the wrong way and in this case it was not needed! I remove all psDialog* pointers from the main client code! Index: psbutton.h =================================================================== RCS file: /cvsroot/planeshift/planeshift/src/client/gui/base/psbutton.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** psbutton.h 23 Mar 2002 23:37:52 -0000 1.9 --- psbutton.h 4 Apr 2002 20:30:36 -0000 1.10 *************** *** 29,33 **** class psPixmap; ! class psButton : public psComponent --- 29,33 ---- class psPixmap; ! typedef void (*ButtonHandlerFunc) (psDialog*, int, void*); class psButton : public psComponent |