Subject: ZAP/[patch] Martin's cursor position POW
From: John L. Clark (jlc6@po.cwru.edu)
Date: Wed Jan 24 2001 - 22:59:50 CST
Well guys, I think this may be the first ZAPPED POW of the new
millenium. The url to the original POW announcement is
http://www.abisource.com/mailinglists/abiword-dev/01/January/0198.html.
Martin, would you be so kind as to check to see if this is what you
wanted? Everyone else, let me know what you think, and how it works.
Some notes: I changed one int to an unsigned int (you can see it in the
patch), because the compiler was complaining about comparison between
signed and unsigned. Shouldn't be a problem.
To actually do the zapping, though, what I did was create a new function
in AV_View base class to check whether the given *_View object was the
currently active/focused one. I believe this correctly belongs in the
base class because the functionality is generic across applications. To
do this, I also had to #include "xap_Frame.h" in xav_View.cpp, which I
also think makes sense (unless xap_Frame.h is alternately included
elsewhere).
Anything else? Oh yeah, there's a broken image on our homepage. :)
Next goal?
Take care,
John
This archive was generated by hypermail 2b25 : Wed Jan 24 2001 - 22:59:44 CST