1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 10:49:24 +02:00

removed unused code

This commit is contained in:
Nikolay Pultsin 2011-05-16 17:16:50 +04:00
parent b5360f1347
commit 04862d12f8
3 changed files with 0 additions and 10 deletions

View file

@ -88,9 +88,6 @@ public final class FBReaderApp extends ZLApplication {
public final ZLStringOption FooterFontOption = public final ZLStringOption FooterFontOption =
new ZLStringOption("Options", "FooterFont", "Droid Sans"); new ZLStringOption("Options", "FooterFont", "Droid Sans");
final ZLBooleanOption SelectionEnabledOption =
new ZLBooleanOption("Options", "IsSelectionEnabled", true);
final ZLStringOption ColorProfileOption = final ZLStringOption ColorProfileOption =
new ZLStringOption("Options", "ColorProfile", ColorProfile.DAY); new ZLStringOption("Options", "ColorProfile", ColorProfile.DAY);

View file

@ -542,11 +542,6 @@ public final class FBView extends ZLTextView {
return myFooter; return myFooter;
} }
@Override
protected boolean isSelectionEnabled() {
return myReader.SelectionEnabledOption.getValue();
}
public static final int SCROLLBAR_SHOW_AS_FOOTER = 3; public static final int SCROLLBAR_SHOW_AS_FOOTER = 3;
@Override @Override

View file

@ -1182,8 +1182,6 @@ public abstract class ZLTextView extends ZLTextViewBase {
return false; return false;
} }
protected abstract boolean isSelectionEnabled();
private ZLTextRegion mySelectedRegion; private ZLTextRegion mySelectedRegion;
private boolean myHighlightSelectedRegion = true; private boolean myHighlightSelectedRegion = true;