View Single Post
Old 01-07-2011, 06:12 AM   #50
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Hi Loo,

Quote:
Originally Posted by Loo View Post
Hello folks,
I've tried to use FBreader in combination with StarDict in found that word selection in FBReader is extremely difficult.
Actually I think that double-clicking on certain word is the best way to do that. The problem is that time for double-clicking seems too short. I've searched trough the code and apparently this time is parameterized, but hardcoded to 200 ms(?) in FBView.cpp:
Code:
int FBView: :doubleClickDelay() const {
	return isSelectionEnabled() ? 200 : 0;
}
Can we increase this value or put it into configuration file, even without GUI, to play around?
can you compile and test by yourself? If not, just tell me and I'll compile a test version (500 ms?).
IMHO I don't think this value worths a configuration option, if it's needed for you we can change the code because it won't affect any other uses.


Quote:
Originally Posted by Loo View Post
By the way how this param is set in native iRex applications?

Another question. Is it possible to avoid full screen refresh by text selection?

Thanks,
Don't know, sorry.

Iņigo

Last edited by Iņigo; 01-07-2011 at 06:15 AM.
Iņigo is offline   Reply With Quote