![]() |
#16 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I think your compile error can be solved by modifying desktop.mk. Make sure it contains the following lines:
Code:
CFLAGS = -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG $(shell pkg-config --cflags gtk+-2.0) LDFLAGS = $(shell pkg-config --libs gthread-2.0 x11 gtk+-2.0) -leripc -lerdm |
![]() |
![]() |
![]() |
#17 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
This is my code:
Code:
void FBReader::refreshWindow() { ZLApplication::refreshWindow(); ((RecentBooksPopupData&)*myRecentBooksPopupData).updateId(); //added for iLiad if(einkUpdate){ XSync(display, 1); sleep(0); dmDisplay(dmCmdPriorNormal, dmQFull); } } |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Setting display in ZLGtkApplicationWindow::ZLGtkApplicationWindow(ZLA pplication *application)
is another working way if setting it in main() is not desired. This way, modifying desktop.mk is not necessary. |
![]() |
![]() |
![]() |
#19 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I found that sometimes XSync() will process the preloaded next-page too early. So, instead using XSync(), I think using XFlush() is better in the case of iLiad.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Personal Code Page after power on? | T.W.G | Sony Reader Dev Corner | 3 | 07-24-2009 07:50 PM |
PRS-505: Page flip keys in landscape mode? | Juggle4Evr | Sony Reader | 4 | 01-19-2009 06:51 PM |
Change code page | mota | Bookeen | 7 | 11-10-2007 05:51 AM |
PRS-500 Joystick page flip and history hack | diabloNL | Sony Reader Dev Corner | 12 | 08-10-2007 02:32 PM |
Can Plucker flip a full page? | Muximori | Reading and Management | 4 | 12-26-2005 10:22 PM |