v1.4.0: added a highlight for unread pages in WndDocument
This commit is contained in:
@@ -53,6 +53,7 @@ public class WndDocument extends Window {
|
|||||||
doc.pageTitle(page),
|
doc.pageTitle(page),
|
||||||
doc.pageBody(page) ));
|
doc.pageBody(page) ));
|
||||||
doc.readPage(page);
|
doc.readPage(page);
|
||||||
|
hardlight(Window.WHITE);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
@@ -62,6 +63,8 @@ public class WndDocument extends Window {
|
|||||||
if (!found){
|
if (!found){
|
||||||
item.hardlight(0x999999);
|
item.hardlight(0x999999);
|
||||||
item.hardlightIcon(0x999999);
|
item.hardlightIcon(0x999999);
|
||||||
|
} else if (!doc.isPageRead(page)){
|
||||||
|
item.hardlight(Window.TITLE_COLOR);
|
||||||
}
|
}
|
||||||
list.addItem(item);
|
list.addItem(item);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user