03-17-2010, 12:48 AM | #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 |
03-17-2010, 12:51 AM | #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); } } |
03-17-2010, 02:04 AM | #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. |
04-23-2010, 03:28 AM | #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.
|
|
Similar Threads | ||||
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 |