SF.net SVN: avogadro: trunk]

I was thinking about this today. I think we only need to pass the
GLWidget pointer to the tools. They can then do GLWidget::getMolecule()
to find the appropriate molecule. Passing the molecule is somewhat
unnecissary.

(Sat, Mar 24, 2007 at 05:35:56AM -0700) benoitjacob@users.sourceforge.net:

Revision: 217
http://svn.sourceforge.net/avogadro/?rev=217&view=rev
Author: benoitjacob
Date: 2007-03-24 05:35:55 -0700 (Sat, 24 Mar 2007)

Log Message:

In Draw: standardize on passing GLWidget *widget to the various methods,
from which both the molecule and the center can be retrieved. Maybe evaluate
letting the Tool know which GLWidget it’s operating in, gettable with glwidget()?
That would spare much argument-passing.

Add API documentation and explanatory code comments to unProject().

Modified Paths:

trunk/avogadro/src/plugins/draw.cpp
trunk/avogadro/src/plugins/draw.h
trunk/libavogadro/src/glwidget.cpp
trunk/libavogadro/src/glwidget.h

This was sent by the SourceForge.net collaborative development platform, the world’s largest Open Source development site.


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


Avogadro-updates mailing list
Avogadro-updates@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avogadro-updates


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV